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

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Thu Mar 14 08:34:13 PDT 2019


You can save your scenegraph into .osgt and examine that text file

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Thu, Mar 14, 2019 at 3:42 PM Rowley, Marlin R <marlin.r.rowley at lmco.com>
wrote:

> 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
>
> [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
>
>
>
> *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>
> 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]
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
trajce nikolov nick

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190314/f2ea6f64/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/20190314/f2ea6f64/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 148941 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190314/f2ea6f64/attachment-0003.jpg>


More information about the osg-users mailing list