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

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


hi,
i am still a bit confused there are 
is no build methode that takes a vertex and a connection list
as in other APISs. Any examples around how to correctly build from vertex connection data?
Regards,
katrin 


-------- Original-Nachricht --------
> Datum: Thu, 18 Feb 2010 14:27:21 -0800
> Von: "Ivan DeWolf" <ivan at martian-labs.com>
> An: sidefx-houdini-list at sidefx.com
> Betreff: Re: [Sidefx-houdini-list] build a poly mesh from a	vertex	position	face connection list

> 
> 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.
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

-- 
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser



More information about the Sidefx-houdini-list mailing list