juanjo_bernabeu
Hi team, I'm working on a simulation in Bifrost and my emitter is contructed with VDB, but I only need in the first frame, so...

How can I disable the VDB nodes on frame 2 witouht caching or writing VDB? I tried changing the Node beahviour to Has No Effect, but it doesn't work.

Any idea?

2019-06-18_12h37_25.jpg 
3D Supervisor
Reply 0 0
pshipkov
Use a "choice" node - insert it after the last vdb one. Animate its parameter after the first frame to value different than 0, or whatever input the vdb network is connected to.
Reply 0 0
juanjo_bernabeu

pshipkov wrote:
Use a "choice" node - insert it after the last vdb one. Animate its parameter after the first frame to value different than 0, or whatever input the vdb network is connected to.


Hey Peter, thanks for the advice, nice workarround, but its not working for me in case that the initial shapes has transform animations or vertex animation.

I tested with complex geometries like an alembic file and simple geometries like a torus, and both is not making nothing...if you have animation, vdb recalculate always.

We need some way to disable vdb nodes, because if not, its necesary to break the proceduralism / non destructive graph duplicating geometries or exporting and reimporting.

3D Supervisor
Reply 0 0
besha1
You can create an empty grid and use the vdb switch node.But there will be a problem with your output geometry it will also change.
Reply 0 0
pshipkov
@juanjo_bernabeu
It sounds like you want to pause the VDB network, but not bypass it. So at later time you can turn it on again and expect it to pick from the place it was paused initially. Correct ?
If you have a simple scene to share - that will be best.
Thanks.
Reply 0 0
besha1
I probably understand wat you want.
check scene not_recalculate_vdb.ma
there after the fifth frame BE_VDBFromPolygons node and the following nodes are no longer recalculated but the result remains as in the fifth frame
I use NodeState
5 frame set = Normal 
6 frame set = Blocking
Reply 0 0
juanjo_bernabeu
Hi guys, sorry for misslate, thanks, I will try the Besha option, but sounds that it works perfect.
3D Supervisor
Reply 0 0
Reply