gpapaioa Posted February 12, 2016 Share Posted February 12, 2016 (edited) Hello ppl. I am using instancing with VDB volumes. Cant find a workflow to export the instance to a .VDB file for rendering to another package. Any help is highly apprecitaed. Thank you. Edited February 12, 2016 by gpapaioa Quote Link to comment Share on other sites More sharing options...
Farmfield Posted February 13, 2016 Share Posted February 13, 2016 (edited) Basically it's as simple as, in the pyro_import, put a convert_vdb node after the import_pyrofields, set it to VDB, then add a ROP and set it to output to *path/filename*.$F4.vdb or something like that. Edited February 13, 2016 by Farmfield Quote Link to comment Share on other sites More sharing options...
gpapaioa Posted February 13, 2016 Author Share Posted February 13, 2016 This is not a pyro simulation, I am just creating some VDB volumes and use point instancing to multiply them (doing a cloudscape). I want to "bake" the instance to a .VDB fie. Quote Link to comment Share on other sites More sharing options...
Farmfield Posted February 13, 2016 Share Posted February 13, 2016 (edited) Oh, then just use the ROP and set the filename to end with vdb likethis.hip Edited February 13, 2016 by Farmfield Quote Link to comment Share on other sites More sharing options...
sekow Posted February 13, 2016 Share Posted February 13, 2016 (edited) here yo go.. 2 ways: - a dirty copy sop way. if you have enough ram that is, - and a cleaner loop version. but i would not export one huge vdb, does not sound right. you could plug in a file sop inside the loop, put in an expression for the naming. #EDIT: re upload of the hipfile export_vdb_instances.hip Edited February 13, 2016 by sekow Quote Link to comment Share on other sites More sharing options...
sekow Posted February 13, 2016 Share Posted February 13, 2016 Oh, then just use the ROP and set the filename to end with vdb no he is point instancing the volumes. which works great when you render with mantra. what he tried to do is convert those instances into real vdbs.. if I understand it right that is Quote Link to comment Share on other sites More sharing options...
sekow Posted February 13, 2016 Share Posted February 13, 2016 and here is the modified version for writing out the vdbs export_vdb_instances2.hip Quote Link to comment Share on other sites More sharing options...
gpapaioa Posted February 13, 2016 Author Share Posted February 13, 2016 Yes Sebastian you are right. I am using the Instance node and it works great, very fast and memory efficient. I though of the Copy SOP but of course I dont have enough ram for it (I tried hahah..). I will try your FOR_LOOP solution. Thank you very much for you time guys. Quote Link to comment Share on other sites More sharing options...
Farmfield Posted February 14, 2016 Share Posted February 14, 2016 Sry folks - this is what you get from me answering posts at 3am. 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.