PDA

View Full Version : Fluid Cache


Aikiman
04-24-2009, 02:33 AM
On smaller res fluids I can cache out a fluid and playblast the cache easy as. For some reason now that I have a 5GB cache the playblast appears to resim the fluid again rather than use the cache, in this case the cache is a file per frame. Normally I use a single file cache but on this job, after the cache is done, Im getting a mel script error saying it cannot reconnect to the cache file. Has anyone had this crap behaviour before? I cannot see any reason for it but it seems to happen only on high file size caches. :banghead: BTW this isnt on a mac mini.

sergioduque
04-24-2009, 02:41 AM
sorry mate not much help, the only thing i can add is that for me when i try to cache any hi res fluids maya just crash on me. this is on a mac pro

ovspianist
04-24-2009, 02:41 AM
don't know why it happens.
but cache in a single file seems to be a trouble sometimes.

i bump into problems with single file, but with a file per frame, haven't met any yet.
anyway i'm a little afraid of caching now...

Aikiman
04-24-2009, 02:55 AM
Any of you guys using 2009?

Don3Don
04-24-2009, 04:32 AM
For some reason now that I have a 5GB cache the playblast appears to resim the fluid again rather than use the cache


what maya version u are working at?

I find out that if u play it backward, the speed of update cached fluid is a lot faster...
I remember I did a script to backward playBlast it for that issue....

Aikiman
04-24-2009, 04:49 AM
Version 2008 sp2. im just trying to single cache it again and see if I can connect it up with mel or the hypergrapgh. Although Im pretty sure the connection is already there, it just doesnt want to read it.

Backward playblast it? geez Don thats a new one on me ;)

EDIT Just tried to to a single cache and it didnt work again. It made the cache node but the file itself was not created, I checked using search/finder.

// Error: file: /Applications/Autodesk/maya2008/Maya.app/Contents/scripts/AETemplates/AEdiskCacheTemplate.mel line 390: Not able to access cache information for fluid 'fluidShape1'. //

Im sick of the banging brick wall icon.

Cheesestraws
04-24-2009, 07:12 AM
Any of you guys using 2009?

What do you want to know about 2009?

Astroboy001
04-24-2009, 09:50 AM
What do you want to know about 2009?

Absolutely nothing, but I vaguely remember reading something been fixed or updated concerning fluid caching in 2009 if my memory serves me right.

Aikiman
04-24-2009, 11:53 AM
What do you want to know about 2009?

Whether the fluid caching system has been improved? I thought I read somewhere it had in 2009 but I may have got it wrong.

Cheesestraws
04-24-2009, 11:58 AM
Well it uses nCaching now like nCloth and nParticles. So it does things like automatically splitting and blending caches if the files go over 2GB.

JoshM
04-24-2009, 06:51 PM
I have ran into this some problem just the other day running Maya 2008. However, I had this occurring when I was caching to a single file that exceeded 2GB. As soon as I switched it over to a file per frame the cache node was reading the cache just fine.

Josh

Aikiman
04-24-2009, 07:18 PM
I have ran into this some problem just the other day running Maya 2008. However, I had this occurring when I was caching to a single file that exceeded 2GB. As soon as I switched it over to a file per frame the cache node was reading the cache just fine.

Josh

Yeah I found that out too! But when you playblast does yours read the multi file cache or is it trying to resim the fluid? Mines resiming the fluid whereas when it was a single cache file it read the cache and worked as it should. Geez I hope this is fixed in 2009.

tokanohanna
04-26-2009, 02:43 AM
Yeah I found that out too! But when you playblast does yours read the multi file cache or is it trying to resim the fluid? Mines resiming the fluid whereas when it was a single cache file it read the cache and worked as it should. Geez I hope this is fixed in 2009.
Hey Jeremy,

I have the same problem when my cache files are over 3 gigs. I get the same error message when I try to cache one file. I believe it's a memory issue, or a problem with my preferences but I may be wrong. Have'nt gotten to the bottom of it. For now I have success caching large containers by selecting "one file per frame".

destruct007
04-30-2009, 04:23 PM
there used to be a 2gig limit on cache sizes and it still gets buggy over that. I segment my caches to be under 2 gigs each or keep my caches under 2gigs total. Here are some tips to do that

Make a smaller container so that only the areas of the sim are cached not the blank space around them
Don't cache Velocity, you don't need it unless you plan to use the fluid as a field later for particles.
Cut the back of the sim off and make that border closed. You can't see whats behind your cloud so sometimes you can get away with not siming it.

Aikiman
04-30-2009, 07:25 PM
Thanks, I keep those tricks in mind.

ranxx
04-30-2009, 09:47 PM
I've seen this message as well. Sometimes it had to do with the name of the file (the maya file) you are caching. If you have extra '.'s in the filename it would cause problems with maya 2008. Ie. if your file was named something like shot_020.02.ma it wouldn't cache properly. If your file is named like this maybe try renaming it. I did notice this problem was fixed in maya 2009.

-ranxx

CGTalk Moderation
04-30-2009, 09:47 PM
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.