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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to