Page MenuHome

sim cache all over the place
Closed, ResolvedPublic

Description

not a showstopper, but definitely an annoyance

cache locations:

* ocean sim:
//ocean_cache
disp_%04d.exr
foam_%04d.exr

* fluid sim:
/tmp/fluidsurface_preview_%04d.bobj.gz
/tmp/fluidsurface_final_%04d.bobj.gz

* particle sim:
tbh, never understood how its 'external' cache even works,
but I'm pretty sure it's yet another format in yet another location.

--

the ocean cache sim is especially disturbing for blends not saved yet,
since in that case, // defaults to $CWD (directory blender was started in),
which also breaks restoring a /tmp/quit.blend (except you ran blender from /tmp)

imo no cache files should be written to $CWD ever!

proposal - quick fix:
unsaved blend:
/tmp/ocean_cache/*
/tmp/fluid_cache/*
...
saved blend:
//ocean_cache/*
//fluid_cache/*
...

in the long run, adding a parent folder like:
cache_YYYYMMDD-HHmmss
or
cache_blendfilename/scene/whatever
might be useful to not have single files all over the place.

Event Timeline

I'd also suggest to make the ocean sim and fluid cache consistent before the release, but this is not a bug.

Campbell fixed this in svn now.

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Resolved.Nov 22 2011, 2:48 PM