ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

DAE file format questions.

asked 2018-11-15 14:43:15 -0500

OpenR2 gravatar image

updated 2018-11-15 15:15:04 -0500

Does the DAE file import support triangles, trifans, and tristrips? Is there a sample test DAE that comes with one of the ROS packages that I can use as a reference?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-11-15 15:28:27 -0500

The collada (dae) file format is very complex and is capable of representing models, animations, lighting and kinematics.

I would never attempt to write a dae file by hand, there are plenty of very good open source 3D modeling programs you can use to create them. Blender is one that I use regularly which is free.

Do you have a particular model in mind that you're trying to create?

edit flag offensive delete link more


I am creating a CATIA V5 to DAE converter through CATIA CAA code. I am only looking at getting at translating a tessellated representation of the CATIA geometry and color info. I have a lot of files that I want to convert.

OpenR2 gravatar image OpenR2  ( 2018-11-15 16:18:49 -0500 )edit

DAE looks like it has a mesh element as well as trifans, tristrips, and triangles. I was hoping that RViz and Gazebo would import trifans, tristrips, and triangles and I would get better GFX performance over an STL file with just triangles.

OpenR2 gravatar image OpenR2  ( 2018-11-15 16:19:27 -0500 )edit

I was also hoping that RViz and Gazebo would respect the per vertex normal on those primitives for smooth shading as opposed to calculating a per face normal.

Any insight?

OpenR2 gravatar image OpenR2  ( 2018-11-15 16:19:50 -0500 )edit

Both Gazebo and RVIZ use the open source Ogre3D rendering engine underneath, so you're probably better off asking in their support forums. Not that we don't want to help, but most of the expertise with this low level rendering will be there.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-11-15 16:25:52 -0500 )edit

OK. Rendering questions to the orge folks. Do you know off hand about mesh? The mesh is used for collisions?

OpenR2 gravatar image OpenR2  ( 2018-11-15 17:16:31 -0500 )edit

Question Tools

1 follower


Asked: 2018-11-15 14:43:15 -0500

Seen: 429 times

Last updated: Nov 15 '18