系统自己提供的 非常方便进行轴向的改变。
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
(
---这个可以做很好的视图坐标。
---其实这个就是差乘的结果。这个在做造型的时候费城有用,
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
相关文章推荐
- 基于 AXIS2/C 的 C 语言库实现对提供 REST API 的系统进行数据访问
- AI系统发明了自己的语言进行沟通,facebook将其关闭!
- 如何实现自己开发的网上实时电视广播系统?为你提供软
- 分享一个小工具,提供源码,以便根据自己需要进行修改
- 自己写了个客户管理系统,免费提供!
- 在Android系统的"图库"中点击某张图片进行分享,在自己的应用程序中如何获取那张图片的路径?
- php付费语音问答系统,自己全新开发,提供付费语音问答源码,语音付费问答源码
- 使用Android系统提供的ContentResolver,无法进行distinct查询的workaround
- Asterisk[1] 是一个开放源代码的软件VoIP PBX系统,它是一个运行在Linux环境下的纯软件实施方案。Asterisk是一种功能非常齐全的应用程序,提供了许多电信功能,能够把你的x86
- 为你的博客打造自己的在线聊天系统-方便在线交流
- C#测试代码、函数、方法执行时间,方便进行系统性能评估
- 非常方便的U盘安装系统的方法
- 联想k50 t5手机刷机笔记——第一次自己刷机不成功,网上提供的刷机包垃圾系统应用太多,没良心啊
- 3.第三单元任务二实训:使用作业提交系统提交Java作业时 ,需要输入Java源代码文件名和自己的邮箱,提交前对Java文件名以及邮箱进行有效检查。编写程序实现对输入的Java源文件名以及邮箱有效性的
- SQL2000系统表、存储过程、函数的功能介绍及应用2009年01月21日 星期三 11:38虽然使用系统存储过程、系统函数与信息架构视图已经可以为我们提供了相当丰富的元数据信息,但是对于某些特殊的元数据信息,我们仍然需要直接对系统表进行查询。因为SQL
- 将系统的内部类:HttpValueCollection 移到自己的系统中,使其能方便的解析id=1&name=张三&sex=男这样的字符串参数 querystring
- Delphi Android ActivityManager(提供了接口, 利用它可以方便的对Memory, Processes, Task, Service 等进行管)
- Spring没有对ORM模块提供自己的实现,只对JDBC和其他ORM框架进行了封装。
- 使用vector及系统提供的工具进行排序和逆遍历