126

Unity空间画任意管道

 6 years ago
source link: http://gad.qq.com/article/detail/34551
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
三维空间画管道主要是用到空间圆参数方程来实现。在拐角的处理方面,暂时只是前后管道预留出一个半径的长度,用贝塞尔曲线进行十均分然后画mesh连接,由于圆的空间参数方程的单位向量的a与b的值是圆的随机值,

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK