Page MenuHome

COLLADA - Issue exporting geometries with just points or lines.
Closed, InvalidPublic

Description

OS:Mac OS X 10.6.7
Video: Intel HD 3000 - integrated with corei5
Blender Version: 2.57.1 - r37347 and 2.57.0 - r36339M

I'm trying to export a collada file from blender using a geometry composed just by lines or points. The file exported don't have the information about the index of the vertices.

It seems that the exporter exports the positions correctly but it don't exports the polylist with vcount = 2 or vcount = 1. As result when I'm trying to import this file, the collada loader can't read any geometry.

The issue occurs in the library_geometries of the exported file:

=== A working exported mesh with quads ===
"...
<library_geometries>
<geometry id="Cube-mesh">
<mesh>
...
<polylist material="Material1" count="6">
<input semantic="VERTEX" source="#Cube-mesh-vertices" offset="0"/>
<input semantic="NORMAL" source="#Cube-mesh-normals" offset="1"/>
<vcount>4 4 4 4 4 4 </vcount>
<p>0 0 1 0 2 0 3 0 4 1 7 1 6 1 5 1 0 2 4 2 5 2 1 2 1 3 5 3 6 3 2 3 2 4 6 4 7 4 3 4 4 5 0 5 3 5 7 5</p>
</polylist>
</mesh>
...
</geometry>
..."

=== Now the exported mesh composed by lines and points ===

"...
<library_geometries>
<geometry id="Mesh_001-mesh">
<mesh>
... missing the index to build the geometry (maybe polylist with vcount = 1 to indicate points)
</mesh>
</geometry>
<geometry id="Mesh-mesh">
<mesh>
... missing the index to build the geometry (maybe polylist with vcount = 2 to indicate lines)
</mesh>
</geometry>
..."

Details

Type
Bug

Event Timeline

Indeed, points and lines are not yet supported geometry forms. Is on the todo list to implement still.

This issue is fixed. Blender can now export and import points and lines.

Gaia Clary (gaiaclary) closed this task as Invalid.Jun 13 2012, 11:58 PM