Gazebo | Ignition | Community
Ask Your Question

Tofle90's profile - activity

2018-02-12 14:58:26 -0500 received badge  Famous Question (source)
2017-12-21 00:31:04 -0500 received badge  Notable Question (source)
2017-04-10 08:55:31 -0500 commented question How to get correct alpha blending in gazebo?

I created a minimal example with a collada model I tried to load into gazebo: https://ufile.io/4cfa1. The model contains several trees and the ogre material script, which is referenced in the sdf file of the model sets alpha blending to enabled. Generally the blending works, but it seems that the objects are drawn in the wrong order, since trees in the back occlude trees in the front. Can you try to help me? The result I am getting is the following: https://ufile.io/9e8a91. I use gazebo 8.0.0.

2017-04-10 07:40:25 -0500 received badge  Popular Question (source)
2017-04-06 15:37:12 -0500 commented question How to get correct alpha blending in gazebo?

Thanks for your reply. I tried gazebo8 as well, but the problem still remains for me. Because my frustration increases I'm sharing some other thought with you: As far as I understand, it is possible to define multiple "passes" in an ogre material script, which might solve the problem. Nevertheless gazebo does not seem to make use of multiple passes in the code, but instead only performs the first pass. Can someone confirm this? I'm thankful for any kind of advice!

2017-04-06 09:20:39 -0500 received badge  Editor (source)
2017-04-05 02:45:41 -0500 asked a question 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/iss...

2) https://bitbucket.org/osrf/gazebo/iss...

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!

2017-02-16 04:27:12 -0500 received badge  Famous Question (source)
2017-02-15 08:27:37 -0500 received badge  Notable Question (source)
2017-02-15 08:27:37 -0500 received badge  Popular Question (source)
2017-02-13 11:35:05 -0500 asked a question gazebo 6.7 multithreading

Is it possible to run gzclient with multiple threads?