Chris, thanks for the reply.

I'm reading into a terrain node from an ive file as usual in my application.
The ive file/tiles were built by VPB from 1 meter imagery and level 1 DTED.
After I've loaded in my terrain into the scenegraph, I want to change the
texture filtering by using something like

texture->setFilter(osg::Texture2D::MIN_FILTER, osg::TEXTURE2D::LINEAR);

which then would apply to the whole terrain database. I thought that setting
the stateset in the terrain node would do the trick but this has no effect
on the terrain texture. 

What I'm trying to do is minimize the texture "crawling" artifact I see when
I fly at a low azimuth view looking out along the terrain skin to the
horizon. I thought that playing with the texture filter setting on the
terrain texture might cure the problem. When I pipe the video out to a
projector, the crawling is even more pronounced.

Any ideas on how I can tweak the texture settings on the terrain would be
most appreciated. Obviously what I'm currently doing isn't correct.

Thanks,
-Shayne

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Chris
'Xenon' Hanson
Sent: Monday, January 25, 2010 12:35 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] altering terrain texture...

On 1/25/2010 12:23 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
> Is there a way of programmatically altering texture state such as
> filtering on a chunk of terrain built with VPB?
> Everything I've tried thus far has not worked.

  Should be -- there's nothing magic about VPB databases. What are you
trying to do and
how are you doing it?

-- 
Chris 'Xenon' Hanson, omo sanza lettere                  Xenon
AlphaPixel.com
PixelSense Landsat processing now available!
http://www.alphapixel.com/demos/
"There is no Truth. There is only Perception. To Perceive is to Exist." -
Xen
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to