Optimization for Quick Iterations


#1

Hey guys …

I’m wondering if anyone has a few tips and tricks for optimizing your simulations during the iterative process …

I’m adjusting the properites of my aritsan maps (specifically the wrinkle map) and gauging that against a simple animation driving the solution …

But clearing the cache and resiming is killing me …

I’m using a lowres mesh (3000 faces) with the intention of uprezzing once I get the motion and creasing that I like …

Any thoughts?


#2

i do things like

first sim the cloth without any collisions turned on or
hooked up, including self collision

use nail constraint to hold a piece of the cloth in place
as if you were holding it with your fingers

sim it for a few seconds , see how it reacts, is it too heavy or light,
etc… also how much it bounces or stretches / retracts

I have scripts that help me dial in solver attrs

use show stress to see if any verts are having a hard time.
This is usually due to an unshared edge in your poly shape.
(a vert(s) need to be welded and the cloth re made)

once I kinda like the cloth behavior without any collisions,
I’ll try a pass or two with self collision on,

then I connect it to colliders and and sim it on a rather
simple animation, like a walk cycle, and a more agro cycle
like a run cycle. I add constraints, mimic, pin , colliders, forces, etc…

durring this point I do all of the solving in batch mode
creating a new file for every change in syflex settings

I run these batch solves thru a script that does a few things;
it sets all solver cache attrs to a new directory based off of
the file name, forces a solve and renders every frame.

I have a little system so I need not open maya in gui mode
to adjust the syflex settings.


#3

Sweet … thanks man …

I got my sim down from two minutes a frame to about 25 seconds …

Just cleaned out things like non-manifolds, lamina faces, etc.

I also carefully scanned over my hypergraph and found that I’d attached a smoothing node after the solver … doh!

Thanks for the workflow suggestions!


#4

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.