csp Posted November 27, 2014 Share Posted November 27, 2014 Hi, I would to combine multiple vdbs but instead of using VDB Combine manually for the two first and the result with another one and so on.... I want to do it procedurally in some kind of loop. Any ideas? Quote Link to comment Share on other sites More sharing options...
pbarua Posted November 27, 2014 Share Posted November 27, 2014 Merge all vdb then create new vdb and then volumemix with merged vdbs. Quote Link to comment Share on other sites More sharing options...
pbarua Posted November 27, 2014 Share Posted November 27, 2014 (edited) Is this you want? multi_vdb_merge.hip Edited November 27, 2014 by Pradeep Barua Quote Link to comment Share on other sites More sharing options...
Skybar Posted November 27, 2014 Share Posted November 27, 2014 vdb combine SOP is really all you need. vdbcombine.hip 1 Quote Link to comment Share on other sites More sharing options...
jkunz07 Posted November 27, 2014 Share Posted November 27, 2014 Here it is in the foreach: VDB_foreach_flatten.hip 1 Quote Link to comment Share on other sites More sharing options...
Rainroom Posted November 28, 2014 Share Posted November 28, 2014 (edited) Didn't see John's reply while I created mine. But they are almost identical. Here is my solution: vdbcombine_forloop.hip Edited November 28, 2014 by Rainroom 1 Quote Link to comment Share on other sites More sharing options...
csp Posted November 28, 2014 Author Share Posted November 28, 2014 Thanks for all the replies. It was my mistake that I was talking about fog(density) vdb and not sdf. But vdb combine's parm Flatten All B into A seems to do the work Operation to Maximum. Although it would be nice if there was an Average operation. 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.