[Sidefx-houdini-list] build a poly mesh from a vertex position face connection list

Ivan DeWolf ivan at martian-labs.com
Thu Feb 18 17:27:21 EST 2010


you are creating a point for every vertex, yeah? don't you want to  
share some points across vertices? I usually create the points first,  
and then attach the poly's vertices to 'em....

Quoting "katrin schmid" <Katisss at gmx.de>:

> hi,
> switching on display points number shows i have indeed
> double the amount of points in the scene i should have.
> I draw the faces like this:
>
> prim_poly_ptr = dynamic_cast<GEO_PrimPoly  
> *>(gdp->appendPrimitive(GEOPRIMPOLY));
>     		prim_poly_ptr->setSize(0);
>
>     	for(point_idx = 0; point_idx < m_faceList[j].size() ; point_idx++)
> 		{
> 	   		prim_poly_ptr->appendVertex( added_points[ m_faceList[j][point_idx]] )
>
> Scary, any way to avoid this?
> Best Regards,
> katirn
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



_______________________________________________________
Perfection is achieved when nothing else can be removed
-Yvon Chouinard

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Sidefx-houdini-list mailing list