Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Blendmode add for material in collada file for gazebo


I am trying to get a model of a tree working in gazebo. It uses a 32-bit png texture with RGB and an alpha channel which defines where the leaf should be cut off (Alpha to Coverage).

In the Collada .dae file this is defined as:

          <texture texture="Map #10-image" texcoord="CHANNEL0">
              <technique profile="MAYA">
                <wrapU sid="wrapU0">TRUE</wrapU>
                <wrapV sid="wrapV0">TRUE</wrapV>

Some public mesh viewers display it correctly. In gazebo, there is no blending shown. When I select the object in gazebo, view - show transparent, then the alpha channel looks correct, but now the opaque parts of the tree and the bark are transparent as well.

What is the best way to do this correctly when loading from collada files?