Hi,
Thank you for the reply.

I am not quite sure to understand your answer.

Do you mean I should do this :

//does not display the texture
osg::StateSet* stateset = HUD_camera->getOrCreateStateSet();
osg::ref_ptr<osg::Texture2D> lm = new osg::Texture2D;
stateset->setTextureAttributeAndModes( 0,map); 
lm->setImage(map->getImage());
stateset->setTextureAttributeAndModes( 0,lm); 


Seems quite odd to me.

Cheers, 

Gaëtan[/quote]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=54503#54503





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

Reply via email to