Hi Alejandro,

The best way to manage swtiching between different textures over the
same terrain is use multiple texture units, and then if you blend
between them as required.  The osgTerrain::TerrainTile class supports
multiple osgTerrain::Layer(s) so you can attach multiple images as
multiple layers and these in turn map to multiple texture units.  You
can then manage the blending between them using
osgFX::MultiTextureControl node decorating the whole terrain.  The
osgmultitexturecontrol example shows this in action.

Robert.

On Sat, Nov 8, 2008 at 3:13 PM, Alejandro Aguilar Sierra
<[EMAIL PROTECTED]> wrote:
> Hello:
>
> Is it possible to switch between different textures over the same terrain?
>
> Is it possible to superimpose different textures over the same terrain?
>
> Thanks in advance,
>
> -- A.
> _______________________________________________
> 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