Horde3D

Next-Generation Graphics Engine
It is currently 29.09.2024, 00:19

All times are UTC + 1 hour




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: 27.04.2009, 14:21 
Offline

Joined: 27.04.2009, 11:58
Posts: 13
I'm trying to load a character from 3dsmax but the faces are all wrong.

Quote:
$ ColladaConv.exe cura.dae
Horde3D Collada Converter
Version 1.0.0 Beta3
Parsing collada file cura.dae...
Done.
Converting data for model cura...
Removed 2898 degenerated triangles from mesh cura *what this means?*
Warning: Geometry has zero-length basis vectors
Maybe two faces point in opposite directions and share same vertices
Optimized geometry for vertex cache: from ATVR 1.450 to ATVR 1.327
Done.
Writing geometry...
Done.
Writing materials...
Done.
Writing animation...
Done.

Finished conversion.


With -noopt option the result doesn't change.

Are there any tips on how to export 3dsmax characters?


Last edited by samsaga2 on 08.05.2009, 07:41, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: 28.04.2009, 00:55 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Degenerated triangle means that the three vertices do not define a real triangle: the shape is just a line or a single point. Do you use very small coordinates for your model?


Top
 Profile  
Reply with quote  
PostPosted: 28.04.2009, 07:54 
Offline

Joined: 27.04.2009, 11:58
Posts: 13
It's a big model. I have the same problem with other meshes.

http://rapidshare.com/files/226620058/cura2.zip.html


Top
 Profile  
Reply with quote  
PostPosted: 28.04.2009, 23:56 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Thanks, could you please also provide the Collada export? However, I am on a business trip right now so I won't be able to take a look at the model before next week.


Top
 Profile  
Reply with quote  
PostPosted: 29.04.2009, 11:34 
Offline

Joined: 27.04.2009, 11:58
Posts: 13
The collada file:
http://rapidshare.com/files/227064513/cura.dae.html

Thanks in advance.


Top
 Profile  
Reply with quote  
PostPosted: 29.04.2009, 12:10 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
marciano wrote:
Degenerated triangle means that the three vertices do not define a real triangle: the shape is just a line or a single point.
Actually, the 'degenerate triangles' message is what the converter spits out whenever it doesn't understand the geometry - usually because it hasn't been triangulated yet...

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
PostPosted: 29.04.2009, 15:50 
Offline

Joined: 27.04.2009, 11:58
Posts: 13
It isn't a problem with quads or triangles.

If I import the mesh in blender, remove doubles (it has a lot of duplicated vertices) and then export to horde3d all it's ok. The mesh seems to be wrong. But if I uncheck optimize in colladaconv... why it continues being wrong?


Top
 Profile  
Reply with quote  
PostPosted: 01.05.2009, 15:22 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
The Collada file contains polygon tags which are only supported since Beta3. You talked about "uncheck optimize". Does that mean you use the Horde Editor? Because it is still Beta2 and so its ColladaConv would not support the polygon tags. In any case you should make sure that you select the triangulation option in the Max Collada exporter.


Top
 Profile  
Reply with quote  
PostPosted: 01.05.2009, 16:53 
Offline

Joined: 27.04.2009, 11:58
Posts: 13
I'm using ColladaConv utility from Beta3 and the triangulate option it's checked in the Max Collada exporter. If I export to 3ds, import it in blender and then export to Collada from Blender seems to work.

marciano wrote:
The Collada file contains polygon tags which are only supported since Beta3. You talked about "uncheck optimize". Does that mean you use the Horde Editor? Because it is still Beta2 and so its ColladaConv would not support the polygon tags. In any case you should make sure that you select the triangulation option in the Max Collada exporter.


Top
 Profile  
Reply with quote  
PostPosted: 06.05.2009, 07:52 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
I had a look at the file now and found the problem: All the floating point numbers use commas instead of dots as point symbol. Since I am from Germany, I had a similar problem before with the FBX converter and solved it by changing my Windows format settings.

However, I'm not sure if commas are allowed by the COLLADA standard and if we need to support them.


Top
 Profile  
Reply with quote  
PostPosted: 06.05.2009, 08:02 
Offline

Joined: 27.04.2009, 11:58
Posts: 13
Great. Thanks for your help.
It would be nice add that at the documentation.

marciano wrote:
I had a look at the file now and found the problem: All the floating point numbers use commas instead of dots as point symbol. Since I am from Germany, I had a similar problem before with the FBX converter and solved it by changing my Windows format settings.

However, I'm not sure if commas are allowed by the COLLADA standard and if we need to support them.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group