Hi Robert,

Brad is talking about OSG's ON_DEMAND mode to  (osgviewer
--run-on-demand).  The setting of the
setNumChildrenRequiringUpdateTraversal to get an update traversal in
osgTerrain (as well in osgEarth) causes the frameloop to run
continuously instead of only when something changes.  So even if
you're sitting still and nothing needs paged in and no tiles need
processed in the osgTerrain::Terrain's update callback the frameloop
still runs as fast as it can.

Jason

On Wed, Oct 20, 2010 at 4:34 AM, Robert Osfield
<[email protected]> wrote:
> HI Brad,
>
> What do you mean by ON_DEMAND rendering in osgTerrain?  Is this an
> osgEarth feature, rather than an osgTerrain one?
>
> Robert.
>
> On Wed, Oct 20, 2010 at 12:01 AM, Brad Huber <[email protected]> wrote:
>> It appears that ON_DEMAND rendering is broken in osgTerrain as of rev
>> 11307.  The offend lines appear to be the manual setting of
>> numchildrenrequiringupdatetraversal in the constructors for
>> osgTerrain::Terrain.
>>
>>
>>
>> We are using osgEarth (using osgTerrain) and would really like to use
>> ON_DEMAND to greatly reduce our cpu/gpu footprint.
>>
>>
>>
>> Obviously this change was introduced to fix something (boundary
>> equalization?).  Is there another option?
>>
>>
>>
>> Thanks
>>
>> -Brad
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to