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

katrin schmid Katisss at gmx.de
Thu Feb 18 17:20:24 EST 2010


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



More information about the Sidefx-houdini-list mailing list