[osg-users] EXTERNAL: Re: Texture unit not turning ON

Rowley, Marlin R marlin.r.rowley at lmco.com
Thu Mar 14 07:05:04 PDT 2019


I tried osg::StateAttribute::PROTECTED | osg::StateAttribute::ON.  I’m going to search our entire solution and look for any calls that might be turning it off.  Is there a way to trace and output the scene graph traversal?

----------------------------------------
Marlin Rowley
Software Engineer, Staff
[cid:image002.jpg at 01D39374.DEC5A2E0]
Missiles and Fire Control
972-603-1931 (office)
214-926-0622 (mobile)
marlin.r.rowley at lmco.com<mailto:marlin.r.rowley at lmco.com>

From: osg-users <osg-users-bounces at lists.openscenegraph.org> On Behalf Of Chris Hanson
Sent: Wednesday, March 13, 2019 5:34 PM
To: OpenSceneGraph Users <osg-users at lists.openscenegraph.org>
Subject: EXTERNAL: Re: [osg-users] Texture unit not turning ON

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<mailto:marlin.r.rowley at lmco.com>> wrote:
Hello,

I am running across a problem that I am trying to figure out.

[cid:image003.jpg at 01D4DA45.00C70AB0]


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
[cid:image002.jpg at 01D39374.DEC5A2E0]
Missiles and Fire Control
972-603-1931 (office)
214-926-0622 (mobile)
marlin.r.rowley at lmco.com<mailto:marlin.r.rowley at lmco.com>

_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org<mailto: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<mailto: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<http://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/20190314/df88bd0d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3114 bytes
Desc: image001.jpg
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190314/df88bd0d/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 148941 bytes
Desc: image003.jpg
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190314/df88bd0d/attachment-0003.jpg>


More information about the osg-users mailing list