View Full Version : Accessing vertex info of a polygon

05 May 2006, 06:49 AM
I have a very simple reference of a game environment with me. Being the lazy bugger that I am:D, I don't want to actually sit down and model out the entire environment again, I mean what a terrible waste of that readymade 3D reference....

So I have an idea, that if I can actually access the vertex info (number of verts and their positions in the world space) on this base reference mesh, I can actually create a locator on each vertex and then construct the polygons.

I know how to access Vertex Positions, but how do I find out the number of vertices in a polygon object, without actually going into the guts and selecting each vertex....hope I am being clear here.

Thanks in advance.

05 May 2006, 08:17 AM
Actually there is a command to see the number of vertices of an object:

polyEvaluate -vertex NAME_OF_THE_OBJECT;

Hope it helps


05 May 2006, 08:28 AM
hey thanks stucky. Will check it out

CGTalk Moderation
05 May 2006, 08:28 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.