sibarrick Posted January 20, 2008 Share Posted January 20, 2008 Does anyone know how to get the point numbers used by a prim? So I'm looping through all polys in a mesh (geo is already set to the geometry for a node) for poly in geo.prims(): #need to print the point numbers used by each vertex #something like this.... print poly.vertices()[0].pointNum() This obviously doesn't work, but what does? Quote Link to comment Share on other sites More sharing options...
sibarrick Posted January 20, 2008 Author Share Posted January 20, 2008 (edited) found it... obviously really.... doh print p.vertices()[0].point().number() Edited January 20, 2008 by sibarrick Quote Link to comment Share on other sites More sharing options...
symek Posted January 20, 2008 Share Posted January 20, 2008 (edited) I see Collada geometry exporter which is coming out soon... Edited January 20, 2008 by SYmek Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.