PDA

View Full Version : simpleobject plugin:edge visibility


osamu
08-23-2004, 12:26 PM
how to set the edge visibility for scripted simpleobject plugin?
hope someone can help me out:)
on buildmesh
(
......
setmesh mesh verts:<vertslist> faces:<faceslist>
......
)

Bobo
08-23-2004, 07:35 PM
how to set the edge visibility for scripted simpleobject plugin?
hope someone can help me out:)
on buildmesh
(
......
setmesh mesh verts:<vertslist> faces:<faceslist>
......
)

You would have to loop through all edges of the mesh and set their flags using setEdgeVis calls. There is no way to supply an array in the mesh building function. Remember that the edge visibility is per face, there are 3 times as many edges as there are faces, and you have to set the same visibility for both faces sharing an edge...

CGTalk Moderation
01-19-2006, 01:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.