Thanks Martin,

yes, this is also a solution.

thank you very much.

Yun

On Tue, Apr 14, 2009 at 4:04 PM, Martin Beckett <m...@mgbeckett.com> wrote:

> The c++ standard also requires that the memory for <vector> is contiguous
> like a C array.
> You can try reserving the memory soon after program start and keep the
> array around until you load the data, the memory has the least chance of
> being fragmented before anything else is allocated.
> You can also split the data into smaller blocks and attach multiple
> geometries to the same geode - the 3dc plugin does this to limit the blocks
> to 10,000 points
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=10201#10201
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Cheers,
Yun
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to