Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 05-12-2013 , 12:41 PM
goggles's Avatar
Registered User
Join Date: Sep 2011
Posts: 219

Hypergraph cleaning script

I am trying to optimize my scene which is almost 2m in polygons. Normally it shouldnt be hard to work with this scene with the PC am using. But suddenly the scene got so slow. I did the optimize option, clenaed the outliner, cleaned the hypeshade. But still the scene is so slow. When i select every object in mey scene there are some stuff left unselected in hypergraph. How can i delete this? I heard there was a script , but i cant find it on google. And if i delete these, will it help making the scene lighter?

# 2 05-12-2013 , 07:01 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
When you say slow, what do you mean exactly? Like manipulating the camera has become sluggish, load times, what?


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 3 02-01-2014 , 03:48 AM
Registered User
Join Date: Aug 2011
Location: Sliema Malta
Posts: 497
There is a script that you can use in the hypergraph to disable the rendering of the thumbnails. It is this. The rendering of these thumbnails is heavier than you would imagine. Especially if you have large texture maps.

Code:
// Turns off thumbnail updates.
renderThumbnailUpdate false;


Last edited by Chavfister; 02-01-2014 at 06:57 AM.
# 4 31-01-2014 , 10:05 PM
goggles's Avatar
Registered User
Join Date: Sep 2011
Posts: 219
nice tip. ty

# 5 31-01-2014 , 11:29 PM
tweetytunes's Avatar
Subscriber
Join Date: Jan 2004
Location: Bolton - UK
Posts: 2,457
There is the "File>Optimize Scene Size" which if you open the option box shows all the things it cleans up saves me typing it all out for you - it says its undoable but ctrl Z works all the time. This sorts out my outliner all the time for me.


# 6 01-02-2014 , 01:03 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
Note that optimize scene size is a bit... Umm... Dumb... It can destroy your scene, so make sure to make a copy before you run it.


Imagination is more important than knowledge.
# 7 01-02-2014 , 06:05 PM
tweetytunes's Avatar
Subscriber
Join Date: Jan 2004
Location: Bolton - UK
Posts: 2,457
Been using it 4 odd years never done anything but delete some unused shadders I wanted to keep.


# 8 01-02-2014 , 07:57 PM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
It usually screws up with rigs and constraints.


Imagination is more important than knowledge.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads