Smoke Simulation / VDB support: How does it work?

Forums: Smoke Simulation / VDB support: How does it work?
Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)

Smoke Simulation / VDB support: How does it work?

Postby regionfive » Mon Sep 12, 2016 8:00 am

regionfive Mon Sep 12, 2016 8:00 am
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!
regionfive
Licensed Customer
Licensed Customer
 
Posts: 73
Joined: Mon Dec 06, 2010 5:50 pm
Location: Nuremberg/Germany

Re: Smoke Simulation / VDB support: How does it work?

Postby pegot » Mon Sep 12, 2016 2:43 pm

pegot Mon Sep 12, 2016 2:43 pm
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)
pegot
Licensed Customer
Licensed Customer
 
Posts: 921
Joined: Mon Nov 07, 2011 3:44 am

Re: Smoke Simulation / VDB support: How does it work?

Postby regionfive » Mon Sep 12, 2016 5:01 pm

regionfive Mon Sep 12, 2016 5:01 pm
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?
regionfive
Licensed Customer
Licensed Customer
 
Posts: 73
Joined: Mon Dec 06, 2010 5:50 pm
Location: Nuremberg/Germany

Re: Smoke Simulation / VDB support: How does it work?

Postby grimm » Mon Sep 12, 2016 8:22 pm

grimm Mon Sep 12, 2016 8:22 pm
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 20 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 460.56
User avatar
grimm
Licensed Customer
Licensed Customer
 
Posts: 1321
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Re: Smoke Simulation / VDB support: How does it work?

Postby grimm » Tue Sep 13, 2016 4:56 am

grimm Tue Sep 13, 2016 4:56 am
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 20 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 460.56
User avatar
grimm
Licensed Customer
Licensed Customer
 
Posts: 1321
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Re: Smoke Simulation / VDB support: How does it work?

Postby Seekerfinder » Tue Sep 13, 2016 8:15 am

Seekerfinder Tue Sep 13, 2016 8:15 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
User avatar
Seekerfinder
Licensed Customer
Licensed Customer
 
Posts: 1600
Joined: Tue Jan 04, 2011 11:34 am

Re: Smoke Simulation / VDB support: How does it work?

Postby pegot » Tue Sep 13, 2016 12:25 pm

pegot Tue Sep 13, 2016 12:25 pm
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)
pegot
Licensed Customer
Licensed Customer
 
Posts: 921
Joined: Mon Nov 07, 2011 3:44 am

Re: Smoke Simulation / VDB support: How does it work?

Postby regionfive » Wed Sep 14, 2016 10:03 am

regionfive Wed Sep 14, 2016 10:03 am
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
regionfive
Licensed Customer
Licensed Customer
 
Posts: 73
Joined: Mon Dec 06, 2010 5:50 pm
Location: Nuremberg/Germany

Re: Smoke Simulation / VDB support: How does it work?

Postby pegot » Wed Sep 14, 2016 1:54 pm

pegot Wed Sep 14, 2016 1:54 pm
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)
pegot
Licensed Customer
Licensed Customer
 
Posts: 921
Joined: Mon Nov 07, 2011 3:44 am

Re: Smoke Simulation / VDB support: How does it work?

Postby grimm » Wed Sep 14, 2016 9:24 pm

grimm Wed Sep 14, 2016 9:24 pm
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 20 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 460.56
User avatar
grimm
Licensed Customer
Licensed Customer
 
Posts: 1321
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA
Next

Return to Blender


Who is online

Users browsing this forum: No registered users and 17 guests

Fri Apr 19, 2024 7:24 pm [ UTC ]