[osg-users] is it possible to add new texture layers in run time to an osga ???

2007-07-03 Thread David _

Hi

i´ve got an osgdem generated pagelod island and i would like to add texture 
layers to it in order to show streets, different locations, etc...


i know how to generate the osga with different texture layers but i need to 
do add this layers in run-time, is it possible??


maybe there might be problems because the island is a pagelod object which 
is which is essentially a lot of smaller objects with smaller textures and 
the new texture layer is just one file


help here would be very aprreciated

sorry for my english

_
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos 
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_correosmasdivertidos


___
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


Re: [osg-users] is it possible to add new texture layers in run time to an osga ???

2007-07-03 Thread Robert Osfield

Hi David,

osgdem has the --layer option which allows you to specify multiple
textures and have these built directly into the paged databases.

Alternatively you could use a TexGenNode to generate tex coords for
you and then decorate the scene with the overlay textures.

Another alternative would be to render the roads etc. into a texture
and then apply this on to the scene use the osgSim::OverlayNode.

Robert.

On 7/3/07, David _ [EMAIL PROTECTED] wrote:

Hi

i´ve got an osgdem generated pagelod island and i would like to add texture
layers to it in order to show streets, different locations, etc...

i know how to generate the osga with different texture layers but i need to
do add this layers in run-time, is it possible??

maybe there might be problems because the island is a pagelod object which
is which is essentially a lot of smaller objects with smaller textures and
the new texture layer is just one file

help here would be very aprreciated

sorry for my english

_
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis.
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_correosmasdivertidos

___
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


___
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/