Yeah, I've done this sort of thing before as well.

I didn't use a callback, I used a pseudoloader, so that the
children-to-be-loaded by the PagedLOD had a file extension of ".foo" for
example, so my ".foo" loader was called whenever one was called for. Then I
would build the new child node in memory and return it to the loader. Also,
the new node would itself have child PagedLOD nodes that referred to the
foo loader for THEIR children.


On Sat, Mar 2, 2013 at 6:18 AM, Aurelien Albert <[email protected]
> wrote:

> Hi,
>
> You should have a look to osgEarth source code : they use PagedLOD with
> pseudo-loaders to dynamically build new nodes, this is maybe a good way to
> go for you.
>
> Cheers,
> Aurelien
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=52931#52931
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Chris 'Xenon' Hanson, omo sanza lettere. [email protected]
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography
• Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS •
Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to