Hi all,
Using osgconv on some DAE models to procude IVE files sometimes really increase 
the vertex count (and file size)
I'm not talking about texture problem, but about geometry and vertex.

It seems the problem appear when vertex arrays are shared in the DAE model (in 
a mesh entity) between several geomerties using distinct materials.
When the DAE file is loaded in OSG, it seems ok, it looks like everything 
remains shared. 
But when we write the node (to IVE or OSG for instance, but it seems it appears 
in other formats too), the shared vertex array seems duplicated for each 
geometry, including useless vertex : it dramatically increase the object size 
(from 3 Mb to 250 Mb in my example).

Using "osgconv --simplify 1", we remove useless vertex and the problem is 
almost solved.

Regarding this problem, I'm wondering if there is something to improve in OGS :
- To support shared vertex arrays (and normals/textures arrays..) between 
geodes in OSG or IVE format
- To remove any useless array element when writing nodes

See this example,
http://spaceyes.nerim.net/sample/sample_dae.zip

Thanks in advance for your answers,
Fabien
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to