Hi guys, I have a situation here, in which i have a set of points to be read from file, project them and use the 2d points for triangulation and then raise each of these points by their corresponding z-coordinates. I have triangulated the 2d points using the osgUtil::DealaunayTriangulator. I have to now raise the points now ... the problem i face now is :
* How do i get the vertex indices and vertex data. I know i have to use TriangleIndexFunctor as I saw it from the archives. But i havent used functors before and I was wondering if anyone of you could direct me to a sample code ..or simply show me its usage. * I actually used just the X and Y coordinates to triangulate(i.e., just points on XY, by suprresing the z-coord). Now after triangulating, I am guessing the order of the vertices in the vertex array would be changed. So my another issue is how do i re-store the z-coordinates to the corresponding vertices. I'm using a large data set. say from 8k to 200k vertices. And all of them are in a single geode. This is not a dynamic geometry. I guess i would be selecting a few vertices ..deleting and re-triangulating and the geometry wont change every frame. Any advise, suggestions would greatly help me. I'm quite new to osg...i just finished reading the QuickStart Guide. And I'm just going thru the tutorial section. Siddharth ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/