Hi Tomas,

> many thanks for your reply.
> If I understand it right, the VPB creates a hierarchy of static LOD nodes
> that are paged.

That is correct.

> But is it possible to use the VPB for generation of such graph for general
> datasets, not only terrain data?

No.  It's for handle geospatial imagery and DEMs only.

> I have an large triangle mesh on input, let's say in STL format (can convert
> to OSG Geode or custom vectors).
> How can I give such input to VPB and get an PagedLOD hierarchy osga on
> output ?
> Simply generate osga and put it as input file (is it the
> vpb::Source::MODEL)?
>
> In the osgdem source I see the line osg::ref_ptr<osg::Node> node =
> osgDB::readNodeFile(fileName);
> does it mean that the input file must fit into the memory to process it?

Well you can't do any geometry processing of the sort you are looking
for with VPB/osgdem.

Also readNodeFile only handles models that can fit in main memory.

If you want a general purpose LOD tool that handles source polygonal
data that is larger than what can fit in main memory then you'll need
to either find a specialist tool to do this or to write it yourself.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to