NVil Forum
General Category => Bug Reports => Topic started by: Mason on April 11, 2014, 10:37:19 am
-
I have a particularly heavy scene that is crashing on export as .obj
754 objects,
9000 meshes
1.2m Polys
any solutions?
-
The file will be too big for my pc. But I can make debug versions for you to track down why it crashes.
How it crashed?
Select all the objects. Then object mode > Geometry > Combine(Merge Meshes). See if it can be done.
-
Its just to much data for it to export. I could send you the scene file if you want. I am able to export smaller chunks...but this is less then ideal.
Merging objects will also crash.
-
https://dl.dropboxusercontent.com/u/3784437/Topol_10.rar
-
same problem...even with a great deal deleted. Crashes even if i try to combine meshes.
-
Hi Mason,
I am not sure what is causing the crash (only had a quick look up to now). It is not a memory problem(well, not on my setup).
The model will export in .dae
Can you use that format for now?
---------------------------------------
Having a look over the model (the objects that where not hidden), there are a lot of overlapping duplicates(some objects duplicated 2 or 3 times but are in same exact space). There are also various objects that contain 100+ meshes, but only 2 meshes that contain faces/verts
It does look like that is the root of the problem (multiple empty meshes in multiple objects), although I do not know where all(or how many) the problem objects are. I have narrowed an example file down to 21 objects that are reported to contain 993 meshes, which crashes Nvil on .obj export. I will see if I can norrow that down more before posting the example for IStonia to look at.
----------------------------------------
-
yeah...just started to notice that. Looks really ugly...wish there was a way to clean up and optimize empty Meshes/objects
-
Yup...i was able to isolate it to the empty meshes causing the error. I dont know how i created the empty meshes.
Its bad enough where an object with 200 polygons might have 20 empty meshes and combining that with other objects is enough to crash Nvil.
I think we need a Scene Cleanup feature
-
Hi IStonia,
I have attached part of the file uploaded by Mason. (19 objects with 633 mesh)
When attempting to export that file as .obj, it causes overflow and Nvil crashes.
It appears the problem is due to the many empty mesh contained in the objects.
Could you please take a look when you can find time.
https://www.mediafire.com/?97stk3amm4assit
-
Hi Mason,
Yup...i was able to isolate it to the empty meshes causing the error. I dont know how i created the empty meshes.
I have not seen empty mesh before.
I think we need a Scene Cleanup feature
Lets see if IStonia can find time to look at the problem. I am sure he will find an answer.
-
Hi IStonia,
I have attached part of the file uploaded by Mason. (19 objects with 633 mesh)
When attempting to export that file as .obj, it causes overflow and Nvil crashes.
It appears the problem is due to the many empty mesh contained in the objects.
Could you please take a look when you can find time.
https://www.mediafire.com/?97stk3amm4assit
It did not crash on me when I saved it to obj file.
-
It did not crash on me when I saved it to obj file.
Looks like you need to test it on 64 bit system
I just checked with dec-23-13 build (32 bit) and that exports that example to .obj OK, but later builds that I have checked(that run as 64 bit on my setup) all crash (.net framework stack_overflow_exception)
-
I added two selection tools
object mode > Selection > Select Empty Objects.
mesh mode > Selection > Select Empty Meshes.
http://www.digitalfossils.com/Download/NVil-Apr-11-14.rar
-
Hi IStonia,
Many thanks for the new selection options.
Would it be possible, when you have time, to add those as shortcut tools, so they can be placed in a composite tool?
-
Hi IStonia,
I have been looking more at this crash.
I am seeing problems(Crash -> stack_overflow_exception) when "combing" or "exporting to .obj" of more than 510 mesh.
When combing objects/mesh, for example 400 box, the display/ui disappears for a split second(not a good sign).
Also, when I attempt to import an .obj file that contains more than 512 objects (512 = interesting number), with one of the .obj import options to divide into mesh/objects, again Nvil crashes.
I am only seeing this on 64 bit version (in the earlier builds I have that run as 32 bit, those do not crash.
-
256 is one byte. Let's find out what it is.
Can you test this debug version on Combine function with that file? You will see a few messages before it crashes. I want to see the last message you can receive.
http://www.digitalfossils.com/Download/NVil-Apr-12a-14-Debug.rar
-
Hi IStonia,
I checked with 2 different files.
One was 1000 box primitive's, the other was the (part) test file I posted to thread.
After selecting all and Combine.
Both crashed after pressing OK on "Build Geometry"
-----------------------
Made a quick vid for you:-
https://www.mediafire.com/?exgpwfzxyw8opu1
-
Can you test this
http://www.digitalfossils.com/Download/NVil-Apr-13a-14-Debug.rar
-
Hi IStonia,
That build crashed after pressing OK on "UpdateFrameMatrices"
-
Please test this
http://www.digitalfossils.com/Download/NVil-Apr-13b-14-Debug.rar
-
Hi IStonia,
Crashed again after pressing Ok on "UpdateFrameMatrices"
-
Try this
http://www.digitalfossils.com/Download/NVil-Apr-14-14.rar
-
On tests made, no crashing while combining.
-
I have a problem
https://www.youtube.com/watch?v=YL86WwC-KFQ&feature=youtu.be
-
Can you send me the dae file?
-
Geometry file horrible, but that file by customer
http://yadi.sk/d/zV854kewMrnjt
-
Try this and let me know the result.
http://www.digitalfossils.com/Download/NVil-Apr-18-14.rar
-
Yes, it works.
-
in this build does not work StreamLine extrude
https://www.youtube.com/watch?v=KKVaxR7PJAw&feature=youtu.be
-
try this
http://www.digitalfossils.com/Download/NVil-Apr-19-14.rar
-
I was having another look at "Combine(merge mesh)". It appears to be using an excessive amount of memory.
With the example of 1000 box(6000 polygons). I "Combine(merge mesh)", which took over a minute to complete, and checking memory usage, Nvil was using approx 6.6 GB of memory. (forgot to add:- After performing the "Combine(merge mesh)", I closed Nvil. The UI closed, but Nvil remained in memory for another few seconds, in those few seconds, Nvil started using 2 CPU cores, and memory usage increased to approx 12 GB)
Thinking it may be a problem specific with 64 bit version. I checked in Dec-23-13 build(32 bit), and attempted "Combine(merge mesh)" on 600 simple box. It caused error of "Out_of_memory"(approx 1.4 GB).
-
How is it now?
-
Very much better. I think that is now OK.
Many thanks.
-
export problem http://joxi.ru/SytkUxjKTJDrH0b7lfA
-
Can you send me the scene file for testing? info@digitalfossils.com
-
http://joxi.ru/ujVkUxjKTJCDDih0HUo
-
Which update did you use? What are your exporting options? I don't have any problem with this update
http://www.digitalfossils.com/Download/NVil-Apr-25-14.rar
-
I used 15 Apr. sorry
-
I tested your file on the 15 Apr version and still can't reproduce the problem. Does it still happen in the latest version I gave you?
-
Apr 25 works well. However, in 15 apr does not save not obj not dae
-
https://www.youtube.com/watch?v=xk61KdqKo-Y
http://yadi.sk/d/3JnUvDvOQTWLD ------ file