Smoke Simulation / VDB support: How does it work?

Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)
regionfive
Licensed Customer
Posts: 73
Joined: Mon Dec 06, 2010 5:50 pm
Location: Nuremberg/Germany
Contact:

Finally V3, feels like Christmas :)

Does the smoke sim work yet in V3? The switch between Point Cache and VDB is greyed.

How do I setup a smoke shader in the Blender node tree?

Thank you!
pegot
Licensed Customer
Posts: 934
Joined: Mon Nov 07, 2011 3:44 am

I believe you first have to save the blend file before you can switch cache settings to VDB.

A detailed smoke tutorial BTW would be greatly appreciated.
Win 10
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff

Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
regionfive
Licensed Customer
Posts: 73
Joined: Mon Dec 06, 2010 5:50 pm
Location: Nuremberg/Germany
Contact:

nooo way that really was the issue, didn´t think about it... got it working, thanks!

I could consider doing a smoke sim tutorial. I have made https://vimeo.com/156404455 this here earlier this year, when GPU smoke still wasn´t implemented in cycles. The color smoke of the beginning was entirely done in Blender. But rendered on a farm because of the heavy cpu times....
Now I have a similar project I need to finish until the end of September.

If I don´t have another project coming up, I could invest some time to do a Blender / Octane Smoke tutorial. Who else might be interested?
User avatar
grimm
Licensed Customer
Posts: 1332
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

I have been playing around with it for a couple of days and have gotten pretty far with it. Just a caveat here, I don't know if this is the best way or the only way. :)

I have been hooking up the volume medium node to the smoke domain output node. I leave the smoke flow object unconnected to anything. Then there are additional settings for when the plugin loads the OpenVDB cache in the smoke domain "object data" properties panel. This panel lets you set the multipliers for the OpenVDB data. Between the two I have been able to get ok looking smoke, but I haven't yet figured out how to color the smoke.

I think a tutorial would be great!
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
User avatar
grimm
Licensed Customer
Posts: 1332
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Here is what I have so far, just a quick test with a simple scene.
smoke-test1.png
stats:

scale: 100
step len: 0.5
absorption: 0.3
scattering: 0.3

volume properties from the object data tab:

iso: 1
absorption scale: 500
scatter scale: 500

I should add that I let it render to 500 samp/px.
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
User avatar
Seekerfinder
Licensed Customer
Posts: 1600
Joined: Tue Jan 04, 2011 11:34 am

grimm wrote:Here is what I have so far, just a quick test with a simple scene.
Wow...
Win 8(64) | P9X79-E WS | i7-3930K | 32GB | GTX Titan & GTX 780Ti | SketchUP | Revit | Beta tester for Revit & Sketchup plugins for Octane
pegot
Licensed Customer
Posts: 934
Joined: Mon Nov 07, 2011 3:44 am

Nice!
Win 10
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff

Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
regionfive
Licensed Customer
Posts: 73
Joined: Mon Dec 06, 2010 5:50 pm
Location: Nuremberg/Germany
Contact:

Hi grimm,

Coloring the smoke is easy: Just plug a RGBSpectrum Texture Node into the Absorbtion input of the Volume Medium.
The color you absorb leaves the rest of the color in the smoke. Meaning if you absorb cyan, you´ll get red smoke.

Good tip with the Properties Panel

Best,
R
pegot
Licensed Customer
Posts: 934
Joined: Mon Nov 07, 2011 3:44 am

This is just an FYI in case some beta testers of Mac Octane Blender have issues seeing the smoke preview in their viewport. That's not a problem with the plugin but it is a known Blender issue that seems to affect some Macs.

I filed a bug report on that some months back and it is being addressed by the developers:

https://developer.blender.org/T47991
Win 10
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff

Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
User avatar
grimm
Licensed Customer
Posts: 1332
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

regionfive wrote:Hi grimm,

Coloring the smoke is easy: Just plug a RGBSpectrum Texture Node into the Absorbtion input of the Volume Medium.
The color you absorb leaves the rest of the color in the smoke. Meaning if you absorb cyan, you´ll get red smoke.

Good tip with the Properties Panel

Best,
R
Thanks, I did try that but the absorption input pin would not accept the RGBSpectrum node's output. That was with 10.2, I will test tonight on 10.4 and see if it is working now.
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
Post Reply

Return to “Blender”