Plugin: Sanity Check Tools

285 views
Skip to first unread message

Bradley Gabe

unread,
Jun 10, 2011, 2:32:15 PM6/10/11
to soft...@listproc.autodesk.com
For those of you working with large scenes, or doing your best to squeeze every last cycle out of your CPU performance, I present the following tool set to aid you in your efforts:



The basic idea behind these tools is they hunt down nodes in your scene that have live operators and place the found nodes into a Group. The Group also gets a Text property that lists all the nodes, their operators, and where they sit in the Construction History stack like so:


Fuzzybear_v02_30.body_GEO
Secondary Shape Modeling
Animation
Secondary_Deforms(ICETree)
Envelope Operator(envelopop)
Shape Modeling
Modeling
Center(center)
MoveComponent[8](movecomponentop)



This is useful for a number of things. For one, you can quickly list weight maps, shapes, envelopes, UV maps, etc., that were edited but never frozen, and thus improve scene performance.

You can check all the Modeling Stacks on your scene nodes prior to running the Freeze M operation, to make sure there weren't specific operators you needed to stay live.

The Custom Operator Search function allows you to hunt down and filter operators by Name, Type, and location in the Construction History. For example, you could find all scene nodes with ICE operators assigned to Secondary Shape Animation.


  • All Stack Operators: Finds all scene nodes with live operators under the Construction History

  • Modeling Stack Operators: Finds all scene nodes with live operators under the Modeling partition of the Construction History
  • Envelope Operators: Finds all scene nodes with live envelope operators
  • ICE Operators: Finds all scene nodes with live ICE operators
  • Custom Operator Search: Opens a GUI for searching for nodes by operator Name or Type, or specifying Construction History partitions (see details below)

  • All Live Maps: Finds all scene nodes with live operators under cluster property maps

  • Live Weight Maps: Finds all scene nodes with live operators under weight map properties
  • Live Envelope Weights: Finds all scene nodes with live envelope weight map operators
  • Live Shapes: Finds all scene noes with live shape node containers
  • Live Texture Projections: Finds all scene nodes with live UV map operators

-Bradley

Alan Fregtman

unread,
Jun 10, 2011, 2:34:39 PM6/10/11
to soft...@listproc.autodesk.com
Very handy! Thanks Brad! :)


On Fri, Jun 10, 2011 at 2:32 PM, Bradley Gabe <with...@gmail.com> wrote:
>
> For those of you working with large scenes, or doing your best to squeeze every last cycle out of your CPU performance, I present the following tool set to aid you in your efforts:
>

tak...@earthlink.net

unread,
Jun 10, 2011, 2:42:45 PM6/10/11
to soft...@listproc.autodesk.com
Super cool.  Thanks for sharing and packing it up so nicely!  :)

-T

Francois Lord

unread,
Jun 10, 2011, 2:57:06 PM6/10/11
to soft...@listproc.autodesk.com
This reminds me of a SceneCleaner I did a few years back. It basically did a full search of the scene to find all the live oprerators, and semi-automatically froze them if :
they were in the modeling stack
and
(didn't have connections to any other objects
or
didn't have any parameters animated).

It forced people to put their operators they wanted to keep in the animation stack, which I thought was not a bad thing. I still have that habit today.

Bradley Gabe

unread,
Jun 10, 2011, 2:58:26 PM6/10/11
to soft...@listproc.autodesk.com
I use the Modeling Stack Operator Sanity tool in the same way, except a little less draconian... there's a pause so I can check the list of operators prior to hitting the Freeze button. :-)

Gene Crucean

unread,
Jun 10, 2011, 3:16:52 PM6/10/11
to soft...@listproc.autodesk.com
Very cool Brad. Thanks for sharing!
--
[Gene Crucean] - [VFX & CG Supervisor/Generalist]
** Freelance for hire **

miquel campos

unread,
Jun 11, 2011, 6:06:58 PM6/11/11
to soft...@listproc.autodesk.com
really nice!! Thanks for sharing it!!!

2011/6/10 Gene Crucean <emailgene...@gmail.com>

Alok Gandhi

unread,
Jun 11, 2011, 6:55:01 PM6/11/11
to soft...@listproc.autodesk.com
Nice, incidentally, one of my TD Team member is working on the exact same plugin, it has other sanity checks also , it will be cool for him to go through implementation, nice work Brad.

Matt Morris

unread,
Jun 11, 2011, 7:37:00 PM6/11/11
to soft...@listproc.autodesk.com
Awesome! Thanks Brad.


On 11 June 2011 23:55, Alok Gandhi <alok.ga...@gmail.com> wrote:
Nice, incidentally, one of my TD Team member is working on the exact same plugin, it has other sanity checks also , it will be cool for him to go through implementation, nice work Brad.




--
www.matinai.com

Sandy Sutherland

unread,
Jun 13, 2011, 1:45:51 AM6/13/11
to soft...@listproc.autodesk.com
Brad -this is awesome - just what we need to keep wayward animatiors under control!!  :-P

Thanks so much!!!

S.

Andy Nicholas

unread,
Jun 13, 2011, 10:29:38 AM6/13/11
to soft...@listproc.autodesk.com
Hi Brad,
That's awesome, thanks a lot for sharing.

BTW, I just tested it out and noticed that if you create a sphere
polymesh, and don't freeze it, it won't pick up on the default "geometry"
operator that sets the divisions, etc.

It only registers the operator if you add, say, a deform operator, and
then delete it again, because that action creates the construction history
dividers (modelling, shape modelling, animation, etc.), whereas before
they didn't exist.

Is that by design or is it just an oversight?

Cheers,
Andy


> For those of you working with large scenes, or doing your best to squeeze
> every last cycle out of your CPU performance, I present the following tool
> set to aid you in your efforts:
>
>

> Sanity Check Self Installing
> Plugin<https://docs.google.com/leaf?id=0B1YpeWdrXDofNDE0NGY0ZWMtNjZkNC00YTYxLTkyMDUtZTY5YjQyYWU5M2Y3&hl=en_US>
> Sanity Check
> Documentation<https://docs.google.com/document/d/1p3ZMRRpCiMRWuvoO3UNX-V6szNywTtJARoRwbMsxCZk/edit?hl=en_US>

> - All Stack Operators: Finds all scene nodes with live operators under
> the Construction History
>
> ------------------------------
>
> - Modeling Stack Operators: Finds all scene nodes with live operators


> under the Modeling partition of the Construction History

> - Envelope Operators: Finds all scene nodes with live envelope
> operators
> - ICE Operators: Finds all scene nodes with live ICE operators
> - Custom Operator Search: Opens a GUI for searching for nodes by


> operator
> Name or Type, or specifying Construction History partitions (see
> details
> below)
>

> ------------------------------
>
> - All Live Maps: Finds all scene nodes with live operators under
> cluster
> property maps
>
> ------------------------------
>
> - Live Weight Maps: Finds all scene nodes with live operators under
> weight map properties
> - Live Envelope Weights: Finds all scene nodes with live envelope
> weight
> map operators
> - Live Shapes: Finds all scene noes with live shape node containers
> - Live Texture Projections: Finds all scene nodes with live UV map
> operators
>
>
> -Bradley
>


Michal Doniec

unread,
Jun 13, 2011, 10:37:40 AM6/13/11
to an...@andynicholas.com, soft...@listproc.autodesk.com
Thanks Brad, really great stuff

--
----------
Michal
http://uk.linkedin.com/in/mdoniec

Bradley Gabe

unread,
Jun 13, 2011, 11:05:05 AM6/13/11
to an...@andynicholas.com, soft...@listproc.autodesk.com
That was by design, as the main purpose of the original tool was for finding scene objects with custom ICE operators and listing their location in the Construction History. The functions that search for active operators do so by looking through the operator stack, thus when there is no stack, the object does not get considered.

I can change the design to look for live active primitive operators as well, if people think that is important.

-B

Andy Nicholas

unread,
Jun 13, 2011, 11:43:03 AM6/13/11
to Bradley Gabe, soft...@listproc.autodesk.com
Okay, thanks Brad.

Personally, I think it would be nice to have a checkbox option to enable
this, at least in the Custom Operator Search option, but that's just me.
Don't know what everyone else feels about this.

Cheers,
Andy

Dan Yargici

unread,
Jun 13, 2011, 1:12:13 PM6/13/11
to an...@andynicholas.com, soft...@listproc.autodesk.com
I would agree on a checkbox, it's not as though those operators would ever be missing if you loaded the scene in a different location and you'd just be adding to file size by freezing them.

I think that Geometry operators and CopyOps ought to be filterable.

DAN

Adam Sale

unread,
Jun 13, 2011, 5:52:53 PM6/13/11
to soft...@listproc.autodesk.com
nice plug in Brad.. I love these helper tools you come up with..
Great timesaver

Morten Bartholdy

unread,
Jun 14, 2011, 5:18:04 AM6/14/11
to Softimage Userlist
Great stuff Brad - thanks for sharing!

Morten

> For those of you working with large scenes, or doing your best to squeeze
> every last cycle out of your CPU performance, I present the following tool
> set to aid you in your efforts:
>
>

> Sanity Check Self Installing

> - All Stack Operators: Finds all scene nodes with live operators under
> the Construction History
>
> ------------------------------
>
> - Modeling Stack Operators: Finds all scene nodes with live operators


> under the Modeling partition of the Construction History

> - Envelope Operators: Finds all scene nodes with live envelope
> operators
> - ICE Operators: Finds all scene nodes with live ICE operators
> - Custom Operator Search: Opens a GUI for searching for nodes by


> operator
> Name or Type, or specifying Construction History partitions (see
> details
> below)
>

> ------------------------------
>
> - All Live Maps: Finds all scene nodes with live operators under
> cluster
> property maps
>
> ------------------------------
>
> - Live Weight Maps: Finds all scene nodes with live operators under
> weight map properties
> - Live Envelope Weights: Finds all scene nodes with live envelope
> weight
> map operators
> - Live Shapes: Finds all scene noes with live shape node containers
> - Live Texture Projections: Finds all scene nodes with live UV map
> operators
>
>
> -Bradley
>


--
Best Regards

Morten Bartholdy
3D/VFX Supervisor


Ciaran Moloney

unread,
Jun 14, 2011, 11:47:46 AM6/14/11
to soft...@listproc.autodesk.com
Thanks for sharing!
Reply all
Reply to author
Forward
0 new messages