Hi,
Alejandro Aguilar Sierra wrote:
Hello:
I have a terrain with two layers of texture, the first one is from
bluemarble and the other is a landsat image of much higher resolution.
I first tested the multitexturecontrol example with just one landsat
image and it works fine: from a distance it shows only the bluemarble
layer. When I approach to the terrain, it fades to the landsat image.
Next I rebuild the terrain, this time with all the mosaic of landsat
images over Mexico (image attached). Now it shows landsat images from
any distance. I have been playing with the maxElevationTransition
parameter in the source code without any change.
Any hint?
you can just call setTextureWeight manually to get whatever mix of
textures you want. The example only shows one possible way to use it,
where the weight is coupled to height.
jp
Regards.
-- A.
------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org