Hi Vincent,

On Thu, Jan 14, 2010 at 5:50 PM, Vincent Bourdier
<[email protected]> wrote:
> I don't understand how this is working.
> If a pagedLod is required it will be loaded... but we can cap the number of
> lod...
> This sounds contradictory for me.

The max number of PagedLOD is a target that it aims for, but if there
are more PagedLOD required for rendering the current frame then the
max will exceed this trarget, and only once the view changes to
require less PagedLOD will the total number come down again.

>> If you wanted the LOD control then you just implement this yourself
>> using osgDB::Registry::ReadFileCallback that loads the tiles and then
>> modifies PagedLOD that it loads that are higher than a certain
>> resolution.
>>
>
> Do you mean that using my own readFileCallback is not sufficient and I'll
> need to  modify PagedLod sources too ?

There is no need to modify any OSG sources to adjust the LOD ranges.
The ReadFileCallback can do the actual loading of the subgraph and
then catch the and modify the LOD ranges.

Personally I'd go go using the Camera LODScale though, it's a much simpler tool.

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

Reply via email to