Gazebo | Ignition | Community
Ask Your Question
0

How to Modify the texture of a DAE file?

asked 2020-11-11 08:58:48 -0500

RicardoCarvalho gravatar image

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

http://gazebosim.org/tutorials?tut=ac...

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-11-12 02:38:48 -0500

wongrufus gravatar image

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.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-11-11 08:58:48 -0500

Seen: 53 times

Last updated: Nov 12 '20