OpenVDB support

Discussion related to the Engine functionality, implementations and API.
User avatar
Egert_Kanep
Posts: 230
Joined: Tue Mar 13, 2018 10:34 am

Re: OpenVDB support

Post by Egert_Kanep » Mon Dec 30, 2019 11:04 am

I know big work has been done with vdb support already, but was wondering if this could be object property instead of being a shader?

Reason being - Currently every volume needs it's own shader, it would quickly make scene really complex material wise. Having it inside luxcore object properties would still enable to use same volume shader on multiple object with different vdb sequences.

Same could be done perhaps with displacement and subdivisions, nstead of being only defined in shader nodes.

Rivental1
Posts: 23
Joined: Tue Mar 05, 2019 9:15 pm

Re: OpenVDB support

Post by Rivental1 » Sat Feb 22, 2020 10:27 am

Hello! Thanks for this feature!!! I have done a little test of fire... in my opinion result is quite realistic.
0102.png
Now i want to render an animation of this fire. It is a vdb sequence (460 frames).
In viewport fire changes frame by frame (everything ok). But after render i got many pictures with the same frame. So, how i can render animation of vdb sequence? Is it possible?

juangea
Donor
Posts: 104
Joined: Thu Jan 02, 2020 6:23 pm

Re: OpenVDB support

Post by juangea » Sun Feb 23, 2020 9:42 am

I bet there is a bug, because I think it should be reading the sequence correctly.

If you can share an example file with an example VDB file that shows the problem, this will help detecting the problem.

neo2068
Developer
Posts: 157
Joined: Tue Dec 05, 2017 6:06 pm
Location: Germany

Re: OpenVDB support

Post by neo2068 » Sun Feb 23, 2020 2:25 pm

Which version of blender are you using? In 2.82 there have been a rework of the smoke simulation and blendluxcore doesn't work with it yet. There could be a bug with smoke texture update in animation as it is tricky to catch the frame number change. A test file would be helpful. Is the openVDB file generated with houdini?
i7 5820K, 32 GB RAM, NVIDIA Geforce GTX 1080 + GTX 780, Windows 10 64bit, Blender 2.81a
Support LuxCoreRender project with salts and bounties

Rivental1
Posts: 23
Joined: Tue Mar 05, 2019 9:15 pm

Re: OpenVDB support

Post by Rivental1 » Sun Feb 23, 2020 9:26 pm

I found the problem and solved it. It was my mistake, sory... I set wrong frame range in render settings. But now i have another problem (maybe i do something wrong again). Now, my beautiful fire shakes. I think the cause of that can be box offset. VDB file was generated in Turbulance FD converter. I don't know how to packed VDB sequence in blend file, so i give it separately.
https://fex.net/ru/s/8oydabk
https://www.youtube.com/watch?v=vCxZmEN ... e=youtu.be
Attachments
fire luxcore.blend
(634.66 KiB) Downloaded 12 times

neo2068
Developer
Posts: 157
Joined: Tue Dec 05, 2017 6:06 pm
Location: Germany

Re: OpenVDB support

Post by neo2068 » Mon Feb 24, 2020 6:32 am

Rivental1 wrote:
Sun Feb 23, 2020 9:26 pm
I found the problem and solved it. It was my mistake, sory... I set wrong frame range in render settings. But now i have another problem (maybe i do something wrong again). Now, my beautiful fire shakes. I think the cause of that can be box offset. VDB file was generated in Turbulance FD converter. I don't know how to packed VDB sequence in blend file, so i give it separately.
https://fex.net/ru/s/8oydabk
https://www.youtube.com/watch?v=vCxZmEN ... e=youtu.be
Thanks for the scene. There is a bug somewhere in the handling of the domain offset. I have to investigate what is going wrong. The smoke Export code needs to be adjusted to Blender 2.82 anyway. I just need to find time to do it.
i7 5820K, 32 GB RAM, NVIDIA Geforce GTX 1080 + GTX 780, Windows 10 64bit, Blender 2.81a
Support LuxCoreRender project with salts and bounties

kintuX
Posts: 524
Joined: Wed Jan 10, 2018 2:37 am

FREE VDB SIMULATIONS CREATED WITH EMBERGEN

Post by kintuX » Fri Mar 06, 2020 10:05 pm

We have generated numerous volumetric simulations with EmberGen and exported them as VDBs for you to use in your own projects (Blender, Houdini, Octane, Arnold, etc). These free VDB simulations are licensed as CC0 (Public Domain) so you are free to use them however you want! You can view our available free VDBs down below, and we hope that they give you a taste of how powerful EmberGen really is! EmberGen is our real-time volumetric simulation tool and it allows you to create volumetric simulations within seconds instead of hours or days.

VDBfx.jpg
LICENSED AS CC0 (Public Domain)
CREATED BY JANGAFX SOFTWARE

https://jangafx.com/software/embergen/d ... nimations/

Post Reply