您的位置:首页 > 其它

系统自己提供的 非常方便进行轴向的改变。

2011-09-07 16:03 253 查看
fn alignUVGizmo theObj theFace =

(

---这个可以做很好的视图坐标。
---其实这个就是差乘的结果。这个在做造型的时候费城有用,

faceNormal = in coordsys theObj (getFaceNormal theObj theFace)

worldUpVector = [0,0,1]

rightVector = normalize (cross worldUpVector faceNormal)

upVector = normalize ( cross rightVector faceNormal )

theMatrix = matrix3 rightVector upVector faceNormal [0,0,0]

theMap = Uvwmap()

modPanel.addModToSelection theMap ui:on

theMap.gizmo.transform = theMatrix

)

alignUVGizmo $ 3
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐