[osg-users] Transparency problem

Panagiotis Papadakos papadako at csd.uoc.gr
Thu Sep 27 05:25:53 PDT 2007


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 
rendered in the scene, right?

 	Panagiotis Papadakos

On Thu, 27 Sep 2007, Andreas.Richter at dlr.de wrote:

>> 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-transparent
>> rectangle in front
>> of the semi-transparent window. What might be happening?
>
> Hi!
>
> I had the same problem with billboards and I fixed it with setting the
> stateset's RenderBinNumber. RenderBins in OSG is used to specify which
> objects are going to be drawn first.
> -- 
> Andreas Richter
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list