[osg-users] Texture unit not turning ON
Chris Hanson
xenon at alphapixel.com
Wed Mar 13 15:34:13 PDT 2019
Could there be a State OVERRIDE above it in the graph shutting it down? Try
adding the osg::StateAttribute::PROTECTED as well as ON and see if it
changes.
On Wed, Mar 13, 2019 at 6:36 PM Rowley, Marlin R <marlin.r.rowley at lmco.com>
wrote:
> Hello,
>
>
>
> I am running across a problem that I am trying to figure out.
>
>
>
>
>
>
>
> I have some code where it takes a texture2d pointer and sets the texture
> mode and turns the texture to ON. However, I’m not seeing this in the
> debugger. It appears to be set to GL_FALSE and I’m pretty sure that’s why
> I’m not seeing my texture. Am I missing something?
>
>
>
> -M
>
> ----------------------------------------
>
> Marlin Rowley
>
> Software Engineer, Staff
>
> [image: cid:image002.jpg at 01D39374.DEC5A2E0]
>
> *Missiles and Fire Control*
>
> 972-603-1931 (office)
>
> 214-926-0622 (mobile)
>
> marlin.r.rowley at lmco.com
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
--
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190313/e4e53782/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3114 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190313/e4e53782/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 158147 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190313/e4e53782/attachment-0003.jpg>
More information about the osg-users
mailing list