J.P. Delport wrote: > Hi, > > Maxime BOUCHER wrote: > > > Hello there again, > > > > Thanks J.P for answering, but no, there is no protected stateattribute. > > > > > > I made another test. > > I converted the .ive to .osg and I made no change to the file. > > I executed the same code on both and for the .osg I had the same results > > than the manual modif I told in the previous post. > > > > This means, for the same code (and called > > _root_stateset->setMode(GL_BLEND, StateAttribute::OFF | > > StateAttribute::OVERRIDE);), the same model, one in .ive, the other in .osg > > the results are differents. > > > > Well, am I doing something wrong, or is there a bug? > > > > What happens when you convert the .osg back to .ive and use that .ive? > Maybe the optimiser in osgconv is messing with the original .ive? > You could also manually try to write out the osg graph after loading the > .ive and compare it to the output of osgconv. > > jp > > > > > > > > Thank you > > Cheers, > > > > Max > > > > ------------------ > > Read this topic online here: > > http://forum.openscenegraph.org/viewtopic.php?p=16135#16135 > > > > > > > > > > > > _______________________________________________ > > osg-users mailing list > > > > 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 > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ------------------ > Post generated by Mail2Forum
Hello, Alright, I did osgconv .ive to .osg and immediately .osg to .ive, and now it seems blending is always deactivated. I mean, whether I call: _root_stateset->setMode(GL_BLEND, StateAttribute::OFF | StateAttribute::OVERRIDE); _root_stateset->setMode(GL_BLEND, StateAttribute:: ON | StateAttribute::OVERRIDE); or nothing I always visualize this: [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) Thus: -I completely lost, what is happening? I am wondering if this hasn't to deal with more than just blending. - Do you know what can happen in the depth buffer so that even with blending turned off, "transparent" faces are not filled with a distance? - I 've read a topic about using multiple viewer and uncomplete drawings. In this post Robert adviced to call stopThreading() on the currently not rendering viewer. I tried that, but of course, since I post, it didn't solve the problem. Thank you for your help and reading, Cheers, Max ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16145#16145 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

