[osg-users] adding Texture State

Robert Osfield robert.osfield at gmail.com
Fri Jul 18 02:00:15 PDT 2008

Hi Ming,

What do you mean by the "image I set is null"?

If you want examples of how textures are set up have a look at the OSG
examples - just do a search for texture2D.  For instance osggeometry
has a textured quad.


On Fri, Jul 18, 2008 at 9:43 AM, ka Ming <ming_ka at yahoo.de> wrote:
> Hi,
> I'am trying to add a texture attribute to a existing stateSet. If I try to
> add the attribute with setTextureAttributeAndModes the list size increased
> but the Image I set is null.
> How do I correctly add a texture attribute??
> Thanks
> Ming
> ________________________________
> Gesendet von Yahoo! Mail.
> Dem pfiffigeren Posteingang.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list