[osg-users] Terrain Center and Size/Extent (TXP, LoD)

Robert Osfield robert.osfield at gmail.com
Fri Jul 1 08:48:57 PDT 2016


Hi John,

The txp database itself will determine the default distances at with
the LOD's will transistion, this including the furthest distance
objects can be seen.

You can bias the distances that LOD transition by using the
Camera::setLODScale(scale)  method.

In general txp databases are built for decade+ old hardware so tends
to be very conservative w.r.t LOD scales, so often you'll be able to
use LODScale to get better visuals without loosing 60Hz.

Robert.

On 1 July 2016 at 14:54, John Farrier <john.farrier at gmail.com> wrote:
> Hi,
>
> I am using the terrapage (TXP) plugin to render large terrain.  I want to push the terrain out to the horizon more, but it seems to page out a bit early (at distance).  Is there a way to
>
> 1.) Control the amount (extent) of terrain that is paged in or the distance at which it pages out terrain (i.e. the maximum distance for it to render).  Could I set the maximum distance to "x" and override some other default?  What determines the point at which the terrain is not being loaded at distance?
>
> or
>
> 2.) Control the center of the terrain?  It seems to center high-resolution terrain UNDER the camera, even when the camera is looking OUT.  Ideally I'd like to have high resolution terrain where the camera is looking.
>
> These are two different issues, but related.  Improving either would be a big help.
>
> Thank you!
>
> Cheers,
> John
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=67956#67956
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list