wilson99 Posted April 21, 2016 Share Posted April 21, 2016 Hi guys, Any ideas on how to delete part of a volume cache using some soft of a bbox? Image below. Using the box to delete that part of the cached volume. Thanks Quote Link to comment Share on other sites More sharing options...
rbowden Posted April 21, 2016 Share Posted April 21, 2016 Turn your box into a volume and use a volume mix to subtract the box from the sim. -Ryan volume_subtract.hip 1 Quote Link to comment Share on other sites More sharing options...
fathom Posted April 21, 2016 Share Posted April 21, 2016 (edited) that could produce negative values, no? i would do a volume wrangle: f@density *= 1-volumesample(1,0,v@P); convert your box into a houdini volume (NOT A VDB) and plug it into input 2. plug your smoke volume into input 1. Edited April 21, 2016 by fathom 2 Quote Link to comment Share on other sites More sharing options...
rbowden Posted April 21, 2016 Share Posted April 21, 2016 (edited) It could but, for something like the example he was showing he would be fine. That said, volume wrangle would be much faster and would be a much better solution. -Ryan Edit: Good to see you around Miles! Edited April 21, 2016 by rbowden Quote Link to comment Share on other sites More sharing options...
pezetko Posted April 23, 2016 Share Posted April 23, 2016 There is Volume Resize SOP for dense volumes that is really fast. You can fetch polygon bounding box to its second input to keep only volumes inside that box. There is also VDB Clip for Sparse VDBs that does similar thing. Wrangle method is good if you don't want to change your original volume's bbox. 6 1 Quote Link to comment Share on other sites More sharing options...
duongduy92 Posted August 2, 2018 Share Posted August 2, 2018 brilliant Petr, works like charm! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.