Creating Faces from Vertices

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  01 January 2013
Creating Faces from Vertices

Lets say that i have a bunch of vertices in space. Is there a way to select a bunch of vertices and create faces/polys from them. I'm sure the selection order is important.
I had a go with the macrorecorder, while performing it in the interface, and it shows that you can build the face with an array of four verts.


 $.EditablePoly.createFace #(154,166,167,155) 
 


Even if the selection is manual, is there a way to have the array be the current, sequentially, selected vertices. Hmmm just occurred to me that creatface might be for creating single faces. Maybe a for loop that loops through the current selection total to see if it has a number divisable by four and then goes in and builds the faces in the order they are selected.

Any input would be appreciated.
 
  01 January 2013
You can use polyOp.createPolygon object vertArray
 
  02 February 2013
Not sure how i would approach this. Particularly when the selection is more then 4 vertices. Like if i select 8 verts in the proper order how would i create the array of the selection and have it know that there are exactly enough verts to make the polygons?

I am admittedly a noob...
 
  02 February 2013
Originally Posted by dellis: Not sure how i would approach this. Particularly when the selection is more then 4 vertices. Like if i select 8 verts in the proper order how would i create the array of the selection and have it know that there are exactly enough verts to make the polygons?

I am admittedly a noob...


The selection is the array.

Look into:

polyop.getVertSelection <Poly poly>

PS. Techumseh, Canada must be an impressive place. Not only was Techumseh a Shawnee, he had a buddy named Wasseegeboa [sic] (or something like that). It's a name to be proud of. (Too bad I cannot find a reference online... but read Allan Eckert's A Sorrow in Our Heart.)
__________________
Shawn Olson
Autodesk Expert Elite
3ds Max Charter Member

Developer of:
Wall Worm Tools for the Source Game Engine
CorVex Level Design Plugin
 
  02 February 2013
Thanks...i'll have a look at that. Just wasn't sure how to tell MAX. Was initially thinking "selection as array", tried it and it didn't work. I'll play around tonight and see if i can get it to work.

Yeah...the town i live in is named after Tecumseh. My area here (Windsor/Tecumseh) is where, Tecumseh and General Brock defeated General Hull (americans) in the War of 1812. Great story if your not familiar with it.

Again, thanks for the help!
 
  02 February 2013
Originally Posted by dellis: Lets say that i have a bunch of vertices in space. Is there a way to select a bunch of vertices and create faces/polys from them. I'm sure the selection order is important.
I had a go with the macrorecorder, while performing it in the interface, and it shows that you can build the face with an array of four verts.


 $.EditablePoly.createFace #(154,166,167,155) 
 


Even if the selection is manual, is there a way to have the array be the current, sequentially, selected vertices. Hmmm just occurred to me that creatface might be for creating single faces. Maybe a for loop that loops through the current selection total to see if it has a number divisable by four and then goes in and builds the faces in the order they are selected.

Any input would be appreciated.


This tutorial should answer all your questions about creating polygons from verts

http://www.scriptspot.com/3ds-max/scripts/handmaker

HandMaker is a scripted plug-in that creates a parametric hand with any number of fingers and finger joints - and an optional thumb. Includes finger splay and tapering - adjustable thumb placement and angle - smoothing - and even a button to convert to an Editable Poly when you’re ready to get down and edit the vertices. The mesh is created interactively as a TriMesh. Includes a short document on vertex numbering and organization.
__________________
Luke
Web site

3d Max 2012 Win 7
Intel Corei5 8g Ram

 
  02 February 2013
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 06:45 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.