Wings 3D Development Forum

Full Version: [fixed] Crash when importing very high poly .dae file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I get a crash when importing very high poly .dae files. The same models will import as .obj, which are larger in size.

The following dump was from either the Dragon or the Happy Buddha file from the Stanford Repository, converted to .obj, without poly reduction. I am not sure which one it was. I can only post the first part of the crash dump because the file is huge.

Thanks,
oort

P.S. I think I should have posted this in the Wings 2.1 Bug report Section... Sad

Quote:Dump written 2016-12-1_21-50
Version: 2.1.4.1
Window: geom
Reason: function_clause

Short stack trace:
[]

Long stack trace:
[{wings,command_1,
[{'EXIT',
{function_clause,
[{collada_import,build_meshes,
[[#{geom => ["#meshId2","#meshId1","#meshId0"],
id => [],
matrix => [],
mats => #{"theresonlyone" => "#m0mat"},
name => []}],
#{"meshId0" => {e3d_mesh,polygon_type,
[{-0.022923,0.162275,-0.0398375},
{-0.019073,0.104525,-0.0300375},
{-0.028523,0.161575,-0.0272375},
{-0.052323,0.137425,-0.0230375},
{-0.014873,0.131125,-0.0156875},
{0.079977,0.101025,0.0102125},
{-0.026423,0.055175,0.0238625},
{0.039377,0.073375,0.0249125},
{0.043227,0.102425,0.0252625},
{0.0,0.0,0.0}],
[],[],[],
[{e3d_face,[0],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[1],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[2],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[3],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[4],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[5],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[6],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[7],[],[],[],["theresonlyone"],1,-1},
{e3d_face,"\b",[],[],[],["theresonlyone"],1,-1}],
[],identity},
"meshId1" => {e3d_mesh,polygon_type,
[{-0.032023,0.168596,-0.0405375},
{-0.031673,0.168575,-0.0405375},
What did you use to convert the obj to dae?

Or can you post a non working dae version?
dgud,
I used Open Asset Import Library, Windows version 3.0 to convert the .ply file to .dae. I got the program from the following site... 3D Model View/Convert

I will see if I can post the file on my website for download...

Edit: Here is the file... Dragon dae zip file

oort
oort, could you please check if you still get this error in v2.1.5.
I noticed your dump was generated by v2.1.4.1.

The error I'm getting in a low memory system (4G with 2G available) is related to memory allocation, that can be "acceptable" for a huge mesh and low memory available if you are running in 32bits OS.
Micheus,
I did a test and I still get a huge crash file. Below is the first part of it.

I am using Windows 7 Home Premium 64bit.
Intel i5-4430 CPU, 3.0GHz, 16.0GB Ram.
Thanks,
oort


Quote:Dump written 2017-4-10_1-0
Version: 2.1.5
Window: geom
Reason: function_clause

Short stack trace:
[]

Long stack trace:
[{wings,command_1,
[{'EXIT',
{function_clause,
[{collada_import,build_meshes,
[[#{geom => ["#meshId2","#meshId1","#meshId0"],
id => [],
matrix => [],
mats => #{"theresonlyone" => "#m0mat"},
name => []}],
#{"meshId0" => {e3d_mesh,polygon_type,
[{-0.022923,0.162275,-0.0398375},
{-0.019073,0.104525,-0.0300375},
{-0.028523,0.161575,-0.0272375},
{-0.052323,0.137425,-0.0230375},
{-0.014873,0.131125,-0.0156875},
{0.079977,0.101025,0.0102125},
{-0.026423,0.055175,0.0238625},
{0.039377,0.073375,0.0249125},
{0.043227,0.102425,0.0252625},
{0.0,0.0,0.0}],
[],[],[],
[{e3d_face,[0],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[1],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[2],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[3],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[4],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[5],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[6],[],[],[],["theresonlyone"],1,-1},
{e3d_face,[7],[],[],[],["theresonlyone"],1,-1},
{e3d_face,"\b",[],[],[],["theresonlyone"],1,-1}],
[],identity},
"meshId1" => {e3d_mesh,polygon_type,
[{-0.032023,0.168596,-0.0405375},
{-0.031673,0.168575,-0.0405375},
{-0.0316726,0.168575,-0.0405375},
{-0.022923,0.162275,-0.0398375},