Robotics StackExchange | Archived questions

How to Modify the texture of a DAE file?

Hello guys, I'm working on a simulation that uses actors and I was doing this tutorial:

http://gazebosim.org/tutorials?tut=actor&cat=build_robot

Despite the animation works well, I need to change the look of the actor. So I would like to know how can I change the texturing of the actor. I know that this information it's contained into the collada file. For instance, I'm using the walk.dae file that is used in that tutorial, So far I just could only change the color of the shirt and pants. But I would also like to add stripes to the clothes, or even include boots and a helmet. I'll be glad if you can give me some tips.

Asked by RicardoCarvalho on 2020-11-11 09:58:48 UTC

Comments

Answers

Look for the tag

 <library_images>
    <image id="xxx" name="yyy">
      <init_from>zzz.png</init_from>
    </image>

zzz.png is the texture file that is loaded. You can change that to point to whatever texture file you want. However, if you want to do anything more sophisticated than purely replacing the texture file, you'll likely need to fire up a 3D software e,g, blender to redo the texture mapping.

Asked by wongrufus on 2020-11-12 03:38:48 UTC

Comments