bclark22
Hi all,

I started using SOuP and am really impressed with the overall abilities of the scatter/shatter workflow! Thanks to Peter for making this awesome toolset!

Now, onto my problems.  I have noticed when I save a scatter/shatter scene, my bounding weight objects that are linked up to my attributetransfer node change upon opening the file again.

For instance, I save my file with the cube bounding object around my shattered geometry, but when I re-open the file the cube bounding object sets itself back to a Sphere bounding object, and it loses some of it's transform and scale parameters.  Since it loses these parameters, my shatter is broken until I switch it back to a cube and make sure it is around my shattered geometry.

Another issue I've run into is baking the ncloth when it's shattered.  I can't the shatter to render properly by saving my file, closing maya, right clicking the file, and clicking the render option to save memory.  My frames just come out plain, with no shattering/explosion effect, even though it was clearly cached out in my scene.  I've tried with cache on the ncloth, and without but still have no luck.  I did find a workaround by going to creativecrash.com and downloading the amShapeBaker.py python script.  The amShapeBaker.py script will bake the geometry so that I can save it, close out my maya, right click the file, click render, and have everything render out perfectly.

So I guess my question is, is there any good way to bake the geometry of the shatter without caching and without the extra amShapeBaker.py script?

Reply 0 0
pshipkov
Hey Brad, glad to see you here.

I remember now that somebody mentioned before the same bug. I am going to investigate tonight. In meantime slap a keyframe to these attribs and it will be fine.

About the nCloth caching:
are you talking about pre-shattered geometry simmed with nucleus, or you mean shattering on the fly and trying to cache that ? Because if that's the second case, Maya still cannot cache geometry with changing point count.

Reply 0 0
bclark22
Hey Peter, my name's Brandon not Brad ;)

That's good that someone else mentioned the bug, and it's good that it's such an easy fix with just keyframing those attributes, thanks for the tip!

and as for the second inquiry, I have a pre-shattered cube that is in the shape of a wall.  All my nodes are there, such as nComponent, dynamic, nucleus, two bounding objects and the attributetransfer.  What happens is that I have a HUGE shatter scene, something that needs like at least 6 gigs of RAM, and I've even seen it go up to 12 gigs of RAM (my machine has 16 gigs of RAM in total).  In order to preserve memory, I wanted to save my scene out with all the shattering effects, and just right click the file in Windows Explorer and click the "Render" option so that my scene would just render inside of a command window with mayabatch.exe.  What was happening was that the shattering with the air-field was not happening, the wall would just sit still with no change. I suspect that it might be the first issue I mentioned with the bounding box just acting up, because once I save it, if those attributes aren't keyframed, the bounding object type switches back to sphere.  This would mean that the bounding object is not encompassing the geometry correctly, and when I click render on the file, it would not render out the shattering effect.

I will do more testing on it, but at least that python script I found will also be a solution if nothing else works!  Thanks again for making this all free to us!  I would love to see more training for all the different types of effects possible with SOuP.  I'm a node-based workflow noob so it took me like 10-15 times of going of Jostein's scatter/shatter SOuP on Vimeo to memorize the workflow of shattering an object.  It's a bit hard for me to grasp all the ins and outs on the nodes but I think I'm catching on now :)  I have some pretty cool little renders I can post on the boards with the shatter effect, having so much RAM makes it easier to do some complex shatters!

Reply 0 0
pshipkov
Ops, for a moment i thought you are Brad from RFX.
But you are more than welcome here anyways :D

I discovered the boundingObject bug. Will push a new update tonight.
Can you give me an example scene with the nucleus caching.

Reply 0 0
bclark22
Peter, let me see what I can do to recreate my problem tonight and hopefully upload a scene.

It may be that your boundingObject fix will fix the whole issue with the nucleus caching not rendering out in mayabatch.exe with maya.exe closed.

By the way, it's really awesome to get to talk to someone developing a plugin and give them feedback directly! :) great job! :D
Reply 0 0
volXen
Brandon,
I also came across the problem that attributeTransfer didn´t work after saving and reloading. Thanks to your post I realized that changing the bounding object to something else (cube) and back (sphere) seems to solve the problem!
Thanks a lot :)
Volker


Reply 0 0
pshipkov
Do you have a simple scene that shows the problem ?
I would like to take a look.
Thanks.

Reply 0 0
volXen
Hmmm ... can I send the link via private mail? It´s a production scene ... so I can´t really post it here.

V

Reply 0 0
pshipkov
sure.
pshipkov@yahoo.com
i will delete the scene right after i figure out what is going on there with the bounding objects.
Btw, any chance you are using old version of the plug-ins ?
There was a bug long time ago that caused the boundingObjects to reset to "sphere" every time we reopen the scene.

Reply 0 0
pechart
Just came across this bug. Is this fixed in the latest builds? Of course a keyframe is fine as a workaround, but a fix would be even better :) Excpecially when it's late in the evening and you just want to kick off your renders and go home :)
Reply 0 0
pshipkov
I fixed this like year ago.
Verified it again a minute ago and all was good.
Can you describe better what happened on your side ?
OS, Maya version ?
Thanks.

Reply 0 0
pechart
Yes, of course. It's pretty simple. When we open a scene with an attribute transfer we sometimes have the case, that our instanced systems look wrong. When we go to the attrTransfers bounding object (with input geometry) the falloff ramps for the normal and the alpha are reset to default. Don't know about the others, as we don't use them yet.

Win7x64, Maya2012SAP_SP1x64, SOuP 1.28 from Nov, 28th 2011
Reply 0 0
pshipkov
Yes, that is a bug in Maya.
I actually reported that a while ago to developers.

Reply 0 0
Reply