Horde3D
http://horde3d.org/forums/

animation crash
http://horde3d.org/forums/viewtopic.php?f=3&t=1152
Page 1 of 1

Author:  aolney [ 23.04.2010, 21:46 ]
Post subject:  animation crash

Animation from 3ds max 2010 crashes ColladaConv

OpenCollada 1.2.5

Animation has 50 frames (hand wave)

Animation file is 900MB (why so large).

Attempts to hide geometry in 3ds and then export crashes 3ds

max
Attachment:
File comment: screenshot_error_message
colladaerror.JPG
colladaerror.JPG [ 51.21 KiB | Viewed 20908 times ]

Author:  Volker [ 24.04.2010, 08:09 ]
Post subject:  Re: animation crash

Can you provide the collada file?

Author:  aolney [ 27.04.2010, 22:08 ]
Post subject:  Re: animation crash

Ok, I am sending you the link

Author:  Volker [ 28.04.2010, 22:10 ]
Post subject:  Re: animation crash

aolney wrote:
Animation from 3ds max 2010 crashes ColladaConv
Animation file is 900MB (why so large).

The question is, why is your Collada file already 911MB big in size? That's really huge,... it tooks minutes to open the DAE file with Notepad++.
The only crash I had, was a bad allocation error, because the converter runs out of memory... I guess, you should optimize your model quite a bit before we can try to find a bug in the converter.

Author:  Siavash [ 29.04.2010, 02:31 ]
Post subject:  Re: animation crash

Because there is a lot of vertex there? Make sure that there is no high poly model in the scene before exporting ...

Author:  aolney [ 30.04.2010, 22:14 ]
Post subject:  Re: animation crash

ok it looks like the dae file was being imported into 3ds as a fbx instead of using opencollada.

using opencollada, the file is 73 mb instead of 300 mb. However, now we get a different error from ColladaConv

Screenshot attached.

I'm sending the model file link in an email b/c I don't have the rights to distribute it freely.

Author:  aolney [ 30.04.2010, 23:11 ]
Post subject:  Re: animation crash

update:

We just tried exporting animation directly from Daz and it appears to be working fine there, just not when we do it from 3ds max.

Author:  marciano [ 01.05.2010, 01:25 ]
Post subject:  Re: animation crash

I don't want to sound harsh but please don't post screenshots in such cases as they are not very helpful and we have just a limited amount of webspace.

There are hundreds of vector accesses in ColladaConv so just having the information that there is an out-of-bounds access does not really bring us further. What we need instead is the callstack to see where exactly the crash/assertion happens. It is also important to know which horde version (or svn revision) you are using.

Check the first part of Alex's post to see how a professional crash report can look like :)

Author:  Volker [ 01.05.2010, 20:30 ]
Post subject:  Re: animation crash

I just tried to convert the dae file and it seems like the polylist contains indices equal and greater than 32900 although there are only 32899 vertices in the referenced positions array (meaning 98697 float values). That results in a crash because the index is invalid. The question is, is the converter missinterpreting something I currently don't see or contains the exported file invalid data. Have you tried reimporting the DAE file into 3Ds?

Author:  aolney [ 06.05.2010, 21:01 ]
Post subject:  Re: animation crash

OK we figured it out by doing diffs of the collada files (we found a previous one that worked) and the current file.

It looks like the problem (at least) was that some of the exporter parameters got checked off

Once the following were checked on:

copy images
normals
triangulate
enable export
sample animation

we got things working again.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/