[osg-users] Force remove pagedLOD

2012-08-16 Thread Cedric Le Maitre
Hi,

I use PagedLOD to manage the display of large amount of data. To avoid an 
overload of GPU memory, I would like to force OSG to remove these pagedLOD when 
inactives.
I know the setTargetMaximumNumberOfPageLOD enable to disactivate the use of 
pagedLOD in cache for all application.
But what I expect here, is to set a specific priority or attribute on specific 
PagedLOD which force them to be removed when expiry even if the 
TargetMaximumNumberOfPageLOD is 300.

Thank you!

Cheers,
clm

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=49174#49174





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Force remove pagedLOD

2012-08-18 Thread Chris Hanson
>
> I use PagedLOD to manage the display of large amount of data. To avoid an
> overload of GPU memory, I would like to force OSG to remove these pagedLOD
> when inactives.
> I know the setTargetMaximumNumberOfPageLOD enable to disactivate the use
> of pagedLOD in cache for all application.
> But what I expect here, is to set a specific priority or attribute on
> specific PagedLOD which force them to be removed when expiry even if the
> TargetMaximumNumberOfPageLOD is 300.
>

  I think I replied to this exact question from someone else recently,
suggesting an update callback. Look for my recent messages.


-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
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 • Telemetry • Cryptography • Digital Audio •
LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org