Thanks for the quick response Glenn.   I'll try it when I get back to work
on Monday unless I get some time at home this weekend.

I'll let you know if it works.

 

Greg

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn
Waldron
Sent: Saturday, August 09, 2008 2:53 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Turning off heightfields in terrain database

 

Greg, try:

  osgTerrain::Terrain::setVerticalScale( 0.0f );

Never tried it but it seems like what you want. Let us know if it works.
Glenn

On Sat, Aug 9, 2008 at 12:54 PM, Greg Myers <[EMAIL PROTECTED]> wrote:

Hello,

 

I recently built a terrain database using VPB with some DTED data and BMNG
images.  It looks great.

Now, I find out that one of my user requirements is to be able to "flatten"
the earth.  What they actually mean by this is simply take out the DTED data
so that all the imagery data is drawn on the ellipsoid with a zero altitude.
Is there an easy way to do this with OSG?  I know I can simply generate
another database without the DTED data and that would solve the issue but I
wanted to check here first before I make almost duplicate copies of the same
data.   I would really like a solution that uses a single database and
provides a hot key to switch between modes.  

 

Any suggestions ?

Thanks in advance

Greg


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




-- 
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :
+1.703.652.4791

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

Reply via email to