Importing Collada meshes with textures

asked 2014-06-06 08:09:08 -0500

raptiye gravatar image

updated 2014-06-06 08:30:05 -0500


I am a ROS user and trying to import Collada meshes with texture to Gazebo . I can import shape data with

    <mesh filename="package://model_testing/models/object1.dae"/> 

However, I couldn't find a way to import the texture information. Since the Collada file already has the texture information, what I want to do is something like this:

<material name="my_material">
    <texture filename="package://model_testing/models/object1.dae"/>

This doesn't work. Could you show me the way out of this problem?

I also tried to wrap .jpg files to the model. I can do this with simple shapes like cylinders or boxes, but I couldn't manage to wrap an image to a Collada mesh. I didn't see any examples of this on the web either.

edit retag flag offensive close merge delete