Re: [Plib-users] Triangles and Vertices
Brought to you by:
sjbaker
From: Wolfram K. <w_...@rz...> - 2001-02-24 15:42:24
|
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. |