Horde3D

Next-Generation Graphics Engine
It is currently 30.11.2024, 17:36

All times are UTC + 1 hour




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: animation crash
PostPosted: 23.04.2010, 21:46 
Offline

Joined: 08.12.2009, 21:13
Posts: 17
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 14381 times ]


Top
 Profile  
Reply with quote  
 Post subject: Re: animation crash
PostPosted: 24.04.2010, 08:09 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Can you provide the collada file?


Top
 Profile  
Reply with quote  
 Post subject: Re: animation crash
PostPosted: 27.04.2010, 22:08 
Offline

Joined: 08.12.2009, 21:13
Posts: 17
Ok, I am sending you the link


Top
 Profile  
Reply with quote  
 Post subject: Re: animation crash
PostPosted: 28.04.2010, 22:10 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: animation crash
PostPosted: 29.04.2010, 02:31 
Offline

Joined: 21.08.2008, 11:44
Posts: 354
Because there is a lot of vertex there? Make sure that there is no high poly model in the scene before exporting ...


Top
 Profile  
Reply with quote  
 Post subject: Re: animation crash
PostPosted: 30.04.2010, 22:14 
Offline

Joined: 08.12.2009, 21:13
Posts: 17
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: animation crash
PostPosted: 30.04.2010, 23:11 
Offline

Joined: 08.12.2009, 21:13
Posts: 17
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: animation crash
PostPosted: 01.05.2010, 01:25 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
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 :)


Top
 Profile  
Reply with quote  
 Post subject: Re: animation crash
PostPosted: 01.05.2010, 20:30 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: animation crash
PostPosted: 06.05.2010, 21:01 
Offline

Joined: 08.12.2009, 21:13
Posts: 17
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.


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 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:  
cron
Powered by phpBB® Forum Software © phpBB Group