Hi Shawl, On 23/10/12 14:15, wh_xiexing wrote: > 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.
Not quite sure which setVertexArray you are talking about, but the one in osg::Geometry is simply a pointer assignment - nothing is copied or constructed. /ulrich _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org