Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to get correct alpha blending in gazebo?

Hello everyone!

I'm facing some problems with alpha blending in gazebo. When loading an sdf model into gazebo, which uses a collada file, the alpha blending does not seem to work properly. I already tried to include an ogre material script in order to explicitely turn alpha blending on. Nevertheless this is only partially helpful.

When semi-transparent objects appear in a scene, the blending still does not work correctly.
The following picture shows the result: https://ufile.io/a92141

Additionally it seems that other people also have/had similar issues, for instance see the following links:

1) https://bitbucket.org/osrf/gazebo/issues/1837/vmware-rendering-z-ordering-appears-random

2) https://bitbucket.org/osrf/gazebo/issues/404/collada-texture-transparency-bug

I am using gazebo 7.6, which should solve the problem according to [1] (should be fixed from 7.4.0 on). Unfortunately, I'm still experiencing glitsches, which I guess are related to wrong entries in the z buffer of the renderer.

Have you also experienced behavior like this? Do you have any recomendations how to solve this problem? Is there a gazebo version, which can handle alpha blending correctly?

Thanks for your suggestions!

How to get correct alpha blending in gazebo?

Hello everyone!

I'm facing some problems with alpha blending in gazebo. When loading an sdf model into gazebo, which uses a collada file, the alpha blending does not seem to work properly. I already tried to include an ogre material script in order to explicitely turn alpha blending on. The script is the following: https://ufile.io/5d6221 Nevertheless this is only partially helpful.

When semi-transparent objects appear in a scene, the blending still does not work correctly.
The following picture shows the result: https://ufile.io/a92141

Additionally it seems that other people also have/had similar issues, for instance see the following links:

1) https://bitbucket.org/osrf/gazebo/issues/1837/vmware-rendering-z-ordering-appears-random

2) https://bitbucket.org/osrf/gazebo/issues/404/collada-texture-transparency-bug

I am using gazebo 7.6, which should solve the problem according to [1] (should be fixed from 7.4.0 on). Unfortunately, I'm still experiencing glitsches, which I guess are related to wrong entries in the z buffer of the renderer.

Have you also experienced behavior like this? Do you have any recomendations how to solve this problem? Is there a gazebo version, which can handle alpha blending correctly?

Thanks for your suggestions!