Hi,

look in the .osg file if some of the statesets do not maybe have StateAttribute::PROTECTED.

jp

Maxime BOUCHER wrote:
Hi,

 I discovered something I find really strange.
I exported my scene from .ive to .osg.
I opened it with a text editor and I replaced all GL_BLEND ON statements by 
GL_BLEND OFF.

 When I load my project with this .osg here's what the camera see (placed at 
the projective camera place):
[Image: http://img7.hostingpics.net/pics/270676Dot_OSG_GL_BLEND_OFF.png ] 
(http://www.hostingpics.net/viewer.php?id=270676Dot_OSG_GL_BLEND_OFF.png)

And if I open the .ive file and execute:

Code:

_root_stateset->setMode(GL_BLEND, StateAttribute::OFF | 
StateAttribute::OVERRIDE);



[Image: http://img7.hostingpics.net/pics/690702Z_buffer_pourri.png ] 
(http://www.hostingpics.net/viewer.php?id=690702Z_buffer_pourri.png)


 I am very surprised it doesn't give the sam results.
What's happening ?
Is there a bug?

Thank you!

Cheers,
Maxime

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to