[osg-submissions] Added Vertical Scale in osgTerrain::Terrain
John Vidar Larring
larring at weatherone.tv
Wed May 28 02:22:05 PDT 2008
Thanks Robert, this is great news!!
I'll test the new osgmultitexturecontrol as soon as OSG has compiled
after svn update.
> I have also reorganized the way the the TerrainTile dirty mechanism is
> managed [...snip...]You can a big frame drop with this update so not
> suitable for real-time work, but it's certainly viable for interactive
> apps.
Yes, and it is an interactive app we are making;)
Best Regards,
John
Robert Osfield wrote:
> Hi John,
>
> On Tue, May 27, 2008 at 1:14 PM, Robert Osfield
> <robert.osfield at gmail.com> wrote:
>> I haven't tried changing the scale on a existing model yet, for this
>> it might be worth adding an event handling into the
>> osgmultitexturecontrol example that adjusts the sample ratio and
>> vertical scale.
>
> I have now added an TerrainHandler to the osgmultitexturecontrol
> example that increases
> decreases the sample ratio and vertical scale of the Terrain in
> response to 'r'/'R' and 'v'/'V'
> key presses respectively.
>
> I have also reorganized the way the the TerrainTile dirty mechanism is
> managed, this enables the dirty
> to work on all tiles, with the init on the TerrainTile being called on
> the next update traversal after changes to
> the Terrain SampleRatio/VerticalScale have been made. You can a big
> frame drop with this update so not
> suitable for real-time work, but it's certainly viable for interactive apps.
>
> Robert.
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
--
Best regards,
John
WeatherOne
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the osg-submissions
mailing list