Page MenuHome

Collada Model Import Hangs Blender
Closed, ArchivedPublic

Description

--- Operating System, Graphics card ---
Windows 7 Ultimate 64bit.
nVidia 460gtx

--- Blender version with error, and version that worked ---
Official 2.65a

--- Short description of error ---
This model, at the 3D warehouse, hangs Blender when you try to import it using the Collada importer.
Battlestar Orion - BSG-81
http://sketchup.google.com/3dwarehouse/details?mid=47880d8599b9f0fc6af816281787bb9a&prevstart=0

--- Steps for others to reproduce the error (preferably based on attached .blend file) ---
Download the file from the above link and try to import it.

NOTE: This same file hangs Poser Pro 7, but Houdini Apprentice can read it.


Event Timeline

Gaia, could you please check on this? Thanks!

Actually the import works but due to the huge model with 16000 individual objects it takes a very long time to run. I was able to find one reason for the long runtime (the scene was updated over and over again for each object).

I have committed a partial performance optimization in revision 54398. This speeds up the object creation by a factor of about 100 for this particular model. In that fix i also introduced some Blender Console logging messages, so you can see at least that something happens.

However when you test it now you will note that blender still takes a ~2 minutes before it starts the import and it takes an even longer time (10 minutes) to clean up before it returns to the scene. I still need to find the reason why that happens (I will keep the report open for that).

I can not do anything for speed optimizations right now (due to running out of time)
And since the primary problem is fixed (blender no longer hangs) i will close this report.

However i believe we should review the Importer to optimize it further.
This may be put back on the list for Blender 2.67

Gaia Clary (gaiaclary) changed the task status from Unknown Status to Archived.Feb 12 2013, 7:23 PM