Re: [osg-users] Transparency problem

2019-06-14 Thread Yu Jie
Hi icf80, thanks for you help. I solved this problem with your suggestion to setting cull. Now the transparency of my cube is normal. Thank you very much for your help. Cheers, Yu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76290#76290

Re: [osg-users] Transparency problem

2019-06-13 Thread Yu Jie
Dear icf80, thanks for your reply. Yes, you are right. the cube is created by hand, and the camera is too. I will make a try as you suggest. thanks for your help again. ... Thank you! Cheers, Yu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=

Re: [osg-users] Transparency problem

2019-06-13 Thread Catalin Flower
Hi, - your cube might have wrong triangles/vertices order. Did you create the cube by "hand"? - have you modified the cull settings? The triangles with back face towards the camera need to be culled. - did you create your own camera? Thank you! Cheers, Catalin -- Read this

Re: [osg-users] Transparency problem

2019-06-13 Thread Yu Jie
Hi, icf80 thanks for your quickly reply and help. I have made a try, but the transparency effect is still miss up. ... Thank you! Cheers, Yu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76286#76286 _

Re: [osg-users] Transparency problem

2019-06-13 Thread Catalin Flower
Hi, This might help you, you have to set the hint Code: if (transparent) { geode->getOrCreateStateSet()->setMode(GL_BLEND, osg::StateAttribute::ON); geode->getOrCreateStateSet()->setRenderingHint(osg::StateSet::TRANSPARENT_BIN); }

[osg-users] Transparency problem

2019-06-13 Thread Yu Jie
Hi, Everyone! Is there anybody can help to solve this problem. I tried to make geode node to be transparency in my application. A piece of my code is list below: osg::StateSet* stateSet = geode->getOrCreateStateSet(); stateSet->setMode(GL_BLEND, osg::StateAttribute::ON | osg::StateAttrib

Re: [osg-users] transparency problem

2009-06-05 Thread su hu
Hi Robert Thank you very much. We break large transparent objects up into small parts. Most of transparent objects are shown normally now. But other transparent objects still have problem. I try to place these "problem" objects in TRANSPARENT_BIN by myself. Then they are shown normally. I guess t

Re: [osg-users] transparency problem

2009-06-04 Thread Robert Osfield
Hi Su Hu, On Thu, Jun 4, 2009 at 2:01 AM, su hu wrote: > There are lots of transparent objects/nodes in my scene.  I need to place > them in the depth sorted bin. How can I find out these transparent nodes > quickly?  Thanks a lot. I'm afraid you don't provide enough context to your question so

Re: [osg-users] transparency problem

2009-06-03 Thread su hu
-Original Message- > From: osg-users-boun...@lists.openscenegraph.org > [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert > Osfield > Sent: Wednesday, May 27, 2009 11:08 AM > To: OpenSceneGraph Users > Subject: Re: [osg-users] transparency problem >

Re: [osg-users] transparency problem

2009-05-27 Thread Tomlinson, Gordon
__ -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: Wednesday, May 27, 2009 11:08 AM To: OpenSceneGraph Users Subject: Re: [osg-users] transparency problem Hi J.P, On Wed, May 27

Re: [osg-users] transparency problem

2009-05-27 Thread Robert Osfield
Hi J.P, On Wed, May 27, 2009 at 3:01 PM, J.P. Delport wrote: > What specifically is a "part"? Geode, Geometry, PrimitiveSet, Triangle? The transparent bin is sorted by the distance away from the eye of center of the drawables. To get finner grained sorted you have to break the large drawable in

Re: [osg-users] transparency problem

2009-05-27 Thread Tomlinson, Gordon
g] On Behalf Of su hu Sent: Wednesday, May 27, 2009 9:27 AM To: OpenSceneGraph Users Subject: [osg-users] transparency problem Hi all. Some transparent textures are used in our model. When we render this model by osg v2.8, we find some problem as attached snapshot. We try to change orders(in

Re: [osg-users] transparency problem

2009-05-27 Thread su hu
Hi Robert, Thanks for your reply. Our 3D modeler tell me that the same model is shown right in vega view. We will break large objects up into small parts and try it again. Thanks a lot. Regards, Su Hu 2009/5/27 Robert Osfield > Hi Su Hu, > > You need to place transparent objects in the depth

Re: [osg-users] transparency problem

2009-05-27 Thread J.P. Delport
Hi Robert, sorry to chip in... I've been wondering about this also recently. Robert Osfield wrote: Hi Su Hu, You need to place transparent objects in the depth sorted bin, normally loaders will do this for you. There is a chance that these objects are already in the transparent bin but you hav

Re: [osg-users] transparency problem

2009-05-27 Thread Robert Osfield
Hi Su Hu, You need to place transparent objects in the depth sorted bin, normally loaders will do this for you. There is a chance that these objects are already in the transparent bin but you have some very large transparent objects in the scene as well that are causing the depth sorting to perfor

Re: [osg-users] Transparency problem

2007-10-19 Thread Christophe Medard
11 50 10 Fax : (+33) 5 62 11 50 29 - Original Message - From: André Rocha To: OpenSceneGraph Users Sent: Friday, October 19, 2007 2:20 PM Subject: Re: [osg-users] Transparency problem So the solution to the transparency sorting problem is simply to separate the objects

Re: [osg-users] Transparency problem

2007-10-19 Thread André Rocha
(+33) 5 62 11 50 29 > > > > - Original Message - > From: "Robert Osfield" <[EMAIL PROTECTED]> > To: "OpenSceneGraph Users" > Sent: Friday, September 28, 2007 9:34 AM > Subject: Re: [osg-users] Transparency problem > > > Hi Christophe, >

Re: [osg-users] Transparency problem

2007-10-18 Thread Christophe Medard
t: Friday, September 28, 2007 9:34 AM Subject: Re: [osg-users] Transparency problem Hi Christophe, I have seem problems like in your screenshot when items like roads and grass are placed incorrectly into the transparent bin, or the items like the trees are pl

Re: [osg-users] Transparency problem

2007-09-28 Thread Zach Deedler
If you set the render bins correctly, you can fix the problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Melis Sent: Friday, September 28, 2007 9:52 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Transparency problem Paul Melis wrote

Re: [osg-users] Transparency problem

2007-09-28 Thread Paul Melis
Paul Melis wrote: >Panagiotis Papadakos wrote: > > > >>Hi again! >> >>Well I don't think that RenderBins can help me with this. My problem is >>probably due to the fact that I use transparent objects that are too close >>to each other (0.1f). That is probably why if I move the camera around,

Re: [osg-users] Transparency problem

2007-09-28 Thread Paul Melis
Panagiotis Papadakos wrote: >Hi again! > >Well I don't think that RenderBins can help me with this. My problem is >probably due to the fact that I use transparent objects that are too close >to each other (0.1f). That is probably why if I move the camera around, >some times things are rendered

Re: [osg-users] Transparency problem

2007-09-28 Thread Panagiotis Papadakos
Hi again! Well I don't think that RenderBins can help me with this. My problem is probably due to the fact that I use transparent objects that are too close to each other (0.1f). That is probably why if I move the camera around, some times things are rendered correctly! Panagiotis Papa

Re: [osg-users] Transparency problem

2007-09-28 Thread Christophe Medard
Hi Paul and Robert, What you are saying makes sense indeed, I didn't think about that. I will check that inferring (the database is large and exported from 3DSMax using OSGExp) : maybe OSGEXp suffer of some lackings concerning transparency issues indeed. Maybe I have after loading of the .osg (o

Re: [osg-users] Transparency problem

2007-09-28 Thread Robert Osfield
gt; Tél. : (+33) 5 62 11 50 10 > Fax : (+33) 5 62 11 50 29 > > > > - Original Message - > From: "Panagiotis Papadakos" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, September 26, 2007 6:56 PM > Subject: [osg-users] Transparency problem > > >

Re: [osg-users] Transparency problem

2007-09-28 Thread Paul Melis
Christophe Medard wrote: > I think I have the very same problem with three textures. > > No assignation to a particular rendering bin seems to correct the > problem. > (However, it would automatically be done since that database is a > 3dsMax OSGExp export, who handle transparency issues properl

Re: [osg-users] Transparency problem

2007-09-27 Thread Andreas.Richter
> Well I have already tried to change the stateset of the geode of the > osgText for example with something like > > stateSetGeode->setRenderBinDetails(15, "RenderBin", > osg::StateSet::OVERRIDE_RENDERBIN_DETAILS) > > , but it doesn't seem to help. The bigger the renderbin the > later it is ren

Re: [osg-users] Transparency problem

2007-09-27 Thread Panagiotis Papadakos
Hi Andreas. Well I have already tried to change the stateset of the geode of the osgText for example with something like stateSetGeode->setRenderBinDetails(15, "RenderBin", osg::StateSet::OVERRIDE_RENDERBIN_DETAILS) , but it doesn't seem to help. The bigger the renderbin the later it is render

Re: [osg-users] Transparency problem

2007-09-27 Thread Andreas.Richter
> Hello everybody. > > I have a transparency problem which you can see in the attached > image. As you can see the strings rendered on the orange > window, which is > in front of another blue window, have a blue outline from the > blue window > behind. The strings are in front of a semi-trans