i have hundreds of millions of points to render. i think the Geometry 's
setVertexArray (Vec3Array) is time consuming .
for every point , it must construct a Vec3 class, and put it into the array.
so i want to modified it to setVertexArray (float*) , so that i can read a
block of data from the disk and provide it to osg. to do so. the first thing
is i must
figure out how the osg interact with opengl. unfortunately i see a lot of
arraydispatcher which is complecated . can someone tell me how can i do ?
Shawl
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org