随笔分类 -  现在poly mesh 课题

做下笔记有 poly
摘要:obj = selection[1]; if (classOf obj.baseObject == Editable_Poly) 阅读全文

posted @ 2011-09-26 20:22 盖天00 阅读(144) 评论(0) 推荐(0)

清除poly修改器的脚本,效果还好。
摘要:$.modifiers[#Edit_Poly].ButtonOp #DetachFace$Object139.name = "Object141"$.modifiers[#Edit_Poly].DetachToObject "Object112" 阅读全文

posted @ 2011-05-19 14:35 盖天00 阅读(194) 评论(0) 推荐(0)

收集每个mesh 面的id 号, 这个很有用,可以用来查找物体共有几个id 效果好。
摘要:(for i = 1 to $.numfaces collect getFaceMatID $ i) 阅读全文

posted @ 2011-05-16 14:34 盖天00 阅读(468) 评论(0) 推荐(0)

对于法线包裹的 操作方法, 觉得用mesh 的点的法线方向,比poly的法线方向好使。
摘要:1. 对于poly 的法线方向这里面我只是找到了面的, 用面在去标记点的方向的算法, 我昨晚已经想了几个小时, 不是很好在。如果想把任何一个平poly 物体都作为 法线投射的话,由于ploy 的构成的面的点具有不定性,所以我没有想出来。2. 对于mesh 的就是很好用, 首先 (1)法线的可见性。 (2)各个层次 的可见率很高。 (3) 函数的多性。 在mesh 里面提供了 点的射线函数, 效果很好。mesh 的顶点坐标的求法。meshop.getVert $ 6 -----poly: polyop.getFaceNormal <Poly poly> <int face> 阅读全文

posted @ 2011-05-12 09:35 盖天00 阅读(504) 评论(0) 推荐(0)

终于找到bit 的资料了,我是poly 中看到的。
摘要:bit.and <integer1> <integer2>Returns the <integer> result of AND-ing the bits in integer1 and integer2bit.or <integer1> <integer2>Returns the <integer> result of OR-ing the bits in integer1 and integer2bit.xor <integer1> <integer2>Returns the <integ 阅读全文

posted @ 2011-04-22 22:54 盖天00 阅读(197) 评论(0) 推荐(0)

mesh 的体型构造
摘要:mesh vertices:#([0,0,0],[10,0,0],[0,10,0],[10,10,0]) \faces:#([1,2,3],[2,4,3]) materialIDS:#(1,2) 阅读全文

posted @ 2011-04-21 11:32 盖天00 阅读(189) 评论(0) 推荐(0)

poly 因素编辑
摘要:polyop.getNumVerts $ --返回点数polyop.getNumEdges $ ---返回边polyop.getNumFaces $ --返回面数 面数部分点数】polyop.getHiddenVerts $ ----返回隐藏的点。 polyop.setHiddenVerts $ #{5..10} ---设置隐藏的点polyop.getHiddenFaces $polyop.setHiddenFaces $ #{5..10} ---设置隐藏的面polyop.unHideAllFaces $ ---全部的显示面polyop.unHideAllVerts $ ---全部的显示点 - 阅读全文

posted @ 2011-04-19 18:00 盖天00 阅读(300) 评论(0) 推荐(0)

polyop.getVertsByFlag <Poly poly> <int flag> mask:<int maskflag> 用法 例子
摘要:Each vertex in a poly contains a 32 bit flag variable. 每一个点在poly 控制一个32 位的 “旗帜” 我觉得像maya的悬浮列片。This method returns a bitarray of the vertices that have specific bits in this flag variable set, 这个办法返回一个 bit数组 。在flag 中设置了所有的点都有相应的 bit 地方。where the bits being tested are based on a combination of <fla 阅读全文

posted @ 2011-04-19 17:09 盖天00 阅读(483) 评论(0) 推荐(0)

笔记1
摘要:polyop.getVertSelection $ --- poly 的顶点选择。--返回一个数组。polyop.setVertSelection $ #{6..8} ----设置点的选择, 对于poly polyop.getEdgeSelection $ --这个就是我要找到的。返回选择的边。polyop.setEdgeSelection $ #{15, 19, 157, 161, 285, 289, 412, 416}------进行设定,就是我在这里可以做 借一个选择一样。polyop.getFaceSelection $ ---对于面的选择,polyop.setFaceSelectio 阅读全文

posted @ 2011-04-19 15:53 盖天00 阅读(212) 评论(0) 推荐(0)

最近这段时间我,想在2008 的基础上,写2011 有的工具 不知道会样,这次又机会研究ploy
摘要:研究ploy的路程开始了,这里面将是我珍在过程中的笔记。 阅读全文

posted @ 2011-04-19 15:05 盖天00 阅读(167) 评论(0) 推荐(0)

导航