Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / Autodesk 3ds Max / 3ds Max Design 2009 / Attaching more than twenty low-poly objects takes ages
  RSS 2.0 ATOM  

Attaching more than twenty low-poly objects takes ages
Rate this thread
 
61310
 
Permlink of this thread  
avatar
  • sasho90
  • Posted: 24 October 2011 08:38 AM
  • Location: Blagoevgrad, Bulgaria
  • Total Posts: 135
  • Joined: 11 March 2008 09:57 PM

Anyone knows why is that? I have to attach ~700 20-polygon objects and I only can attach twenty at most because if I select more my PC freezes. Moreover, attaching these 20-30 objects takes ~3 min. before I can use the PC again cause it freezes and the memory usage goes through the roof - 12 GB for attaching 20-30 objects.
Eventually I fond a workaround and it really baffled me. And that’s because when I exported all these hundreds of objects in OBJ format and then imported them back with the “import as single mesh” option checked, the operation took 1-2 seconds. So basically I had all these hundreds of objects attached in 1-2 seconds when importing but when trying to attach them through editable mesh/poly it takes forever. Am I doing something wrong? Maybe there is a “correct” way of attaching more than 20 objects? Anyone experienced this type of slowdown?



Replies: 0
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14443
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

700 * 20 poly objects?

I just attached 700 Spheres (that’s 512 polys each) - took around 1m30s and Taskman showed Max using a little over 600MB. Max2009x64, other details in sig.



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Attachment Attachment
Replies: 0
avatar
  • sasho90
  • Posted: 24 October 2011 10:29 AM

That’s pretty strange. Max 2009 really does fill all my RAM. Here’s a video:
http://uploading.com/files/ab72776a/Max2009_Attach.mp4/

I’ll investigate this a bit more. Maybe it’s some plug-in or a script. Is this a clean install that you made the test on? Just curious.



Replies: 0
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14443
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

Nope - it’s been installed since Max2009 was released. It is quite “clean” though - very little in the way of plugins.



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 0
avatar
  • sasho90
  • Posted: 24 October 2011 11:16 AM

Here’s what my tests showed.

It looks like it’s not plug-in or script that messed things up. In a new scene when I attach 30 spheres 1000 polygons each it takes only a second and the RAM usage doesn’t seem to go up at all (stays at ~300 mb). However, when I merge 20-30 objects from the problematic scene and I attach them in one object, my RAM quickly starts to increase but this time to about 4 gigs and in 6-7 seconds the operation is complete without freezing or crashing. Strangely enough the RAM is not flushed and the process “3dsmax.exe” stays at ~4 gigs even after the attach operation has been complete. Then I figured out - why don’t I try typing gc() in the listener. And Bam! 3dsmax.exe uses only 240 MB of RAM again. It seems like the scene has been somehow damaged but I really don’t know how.
Nevertheless, everything’s ok for now. I managed to attach everything I needed by the import method I mentioned in my previous post. :)



Replies: 1
/userdata/avatar/345m67gtb.png

What is the file size? Could be the file bloat from extra tracks…

Author: Doughboy12

Replied: 25 October 2011 01:57 AM  
avatar
  • sasho90
  • Posted: 25 October 2011 11:00 PM

No extra tacks notes in the damaged scene. That’s what I thought initially. I am eager to see the track notes bug fixed in the next release though.



Replies: 1
/userdata/avatar/345m67gtb.png

Me too but not holding my breath as they say…

Author: Doughboy12

Replied: 26 October 2011 03:33 AM