Hello!
How can I write disk cache with substeps of simulation?
:?:
I want to write simulation RBD to disk, and use this cache for fluid sim :?
—
or, maybe, parameters (pos,vel, etc.) write in cache as vectors and interpolate in substeps, and I don`t need to save substeps?..
:idea:
sorry my bad english… ops:
write disk cache
9809 6 2- envil
- Member
- 45 posts
- Joined: Feb. 2008
- Offline
- anamous
- Member
- 186 posts
- Joined: Jan. 2006
- Offline
- Allegro
- Member
- 696 posts
- Joined: March 2006
- Offline
$F = Frame #
$FF = Floating Frame #
$SF = Simulated Frame #
You want to use $SF in your file path when saving out your files. You may also opt in to add frame padding (if you use 3, you will have your files named 001,002,003 … 100, 101, etc.
cwhatever_folder_you_save_to/filename.$SF3.sim
$FF = Floating Frame #
$SF = Simulated Frame #
You want to use $SF in your file path when saving out your files. You may also opt in to add frame padding (if you use 3, you will have your files named 001,002,003 … 100, 101, etc.
cwhatever_folder_you_save_to/filename.$SF3.sim
Stephen Tucker
VFXTD
VFXTD
- envil
- Member
- 45 posts
- Joined: Feb. 2008
- Offline
- envil
- Member
- 45 posts
- Joined: Feb. 2008
- Offline
- mrCatfish
- Member
- 731 posts
- Joined: Dec. 2006
- Offline
If you save anything out to disc with velocity info, then bring them back into Houdini with a file SOP, you can then interpolate between frames by appending a cache SOP with $FF in the lookup instead of $F. Turn off integer frames in your animation globals and scrub to see the difference between $F and $FF in the cache SOP. There are also new time warpy kind of SOPs that might do the same thing.
<edit>Oh, I forgot, to retime, use a chf expression in the lookup instead of $FF and then you can retime your sim.</edit>
Not sure about DOPs though… I imagine the same principal holds true.
Sean
<edit>Oh, I forgot, to retime, use a chf expression in the lookup instead of $FF and then you can retime your sim.</edit>
Not sure about DOPs though… I imagine the same principal holds true.
Sean
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
CG Supervisor
Machine FX - Cinesite MTL
- envil
- Member
- 45 posts
- Joined: Feb. 2008
- Offline
-
- Quick Links