Re: [Plib-users] Triangles and Vertices
Brought to you by:
sjbaker
From: Michael W. <michael.wessels@z.zgs.de> - 2001-02-24 21:07:48
|
Hi Wolfram, I have downloaded the source-tar-file as tar.gz but could not extract it with winzip. Do you can send me the ppeWalkScene.cxx by e-mail ? With regards Michael Wolfram Kuss schrieb: > Michael wrote: > > >What commands from plib I have to use ? > > getNumTriangles and > getTriangle. Search the documentation for these. > The good point is that one interface does all cases: > - ssgVtxArray and ssgVtxTable. > - triangles, quads, n sided polygons. > - ignores points and lines. > > So, with very little code you can get all faces as triangles. > You just have to walk the scene graph. See for example, in PPE, in > ppeWalkScene.cxx the function: > > void ppeBuilder::countGeometry( ssgEntity *e ) > > >With regards > > > >Michael > > Bye bye, > Wolfram. > > _______________________________________________ > plib-users mailing list > pli...@li... > http://lists.sourceforge.net/lists/listinfo/plib-users |