Volumetric Lighting in Octane Blender plugin

Forums: Volumetric Lighting in Octane Blender plugin
Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)

Volumetric Lighting in Octane Blender plugin

Postby TaylorCaudle » Thu Feb 21, 2019 10:47 pm

TaylorCaudle Thu Feb 21, 2019 10:47 pm
Using Octane V3,

Cannot find any documentation or tutorials on how to properly use Volumetric lighting in Blender plugin,

Best i've been able to do is put a sphere around my camera, with flipped normals, but thats ridiculous and doesnt help when i need to get close to an object (the sphere collides and creates lighting errors.)

Can someone direct me to where I can get this working properly in Blender Octane plugin, thanks.
TaylorCaudle
Licensed Customer
Licensed Customer
 
Posts: 25
Joined: Thu Oct 19, 2017 7:53 pm

Re: Volumetric Lighting in Octane Blender plugin

Postby brent_3d » Fri Feb 22, 2019 4:20 am

brent_3d Fri Feb 22, 2019 4:20 am
OB_VolumeScatter Lighting.jpg


Here is the Octane Volume Scatter setup using a cube and a UV Sphere that has a Texture Emission as the light source, scene is attached (Octane/Blender v.308.5).
*Note: You put your scatter volume over your light source or sources that you wish to appear volumetric. The "Scattering" setting controls the volumes opacity, so if you increase that number beyond 0.001 the volume cube will become more opaque (Thicker).


-Brent
Attachments
Vol Light test.blend
(4.97 MiB) Downloaded 320 times
brent_3d
Licensed Customer
Licensed Customer
 
Posts: 28
Joined: Thu Mar 19, 2015 4:57 pm

Re: Volumetric Lighting in Octane Blender plugin

Postby ChrisH » Fri Feb 22, 2019 10:26 pm

ChrisH Fri Feb 22, 2019 10:26 pm
There's "three" ways to get volumetrics into your scene (for this kind of effect).

  1. Encapsulating your scene in a "domain" (like a cube). The material of the object should be Specular, with Index 1 and Fake Shadows (If you want to use "external light", like environment texture/daylight) and then with a Volume Medium node connected. The problem is that the camera have to be outside of the "domain"*.
  2. Encapsulate your camera with a "domain", but with inverted normals. The material settings should be the same for #1. This essentially makes the rest of the world into a "volume domain", so the volume is (in theory) infinite (which perhaps isn't the most optimal).
OctaneFog_3.png
Material settings for the "domain"


The problem with these two are that they don't do well with animation because you have to keep the domain "outside" of the camera. This can create a visible border, and it also makes it harder to use in an animation (as you've noted).
What you can do is to parent he domain to the camera (mostly for #2) and reduce the Start Clipping to something like 1cm (or 1mm, depending on your needs) and then move your camera closer to the domain (for #1) or set the radius of the domain (for #2) to just slightly larger than the clipping start (you should be able to see the sphere/domain in the Blender camera view [and it should cover the whole f.o.v.])

  1. Using the Medium input/texture of the Octane Environment. This is my preferred method, since there is no need to fiddle around with domains etc.
    Just create a world texture and connect a Volume Medium node to the "Output color"(!), then select that texture for Medium in the Environment settings.
    You probably need to increase the "Medium Size" to cover your scene.
    This is basically the same as #2, but with an "outer sphere/limit", and less hassle (no extra objects needed etc).
    OctaneFog_1.png
    Setup for "environmental" volume

ETA: I used 4.02.1, but I exported the scene and opened it with 3.08 and it worked fine.


After that, you just need to fiddle around with the settings a bit (and make sure you're using Path tracing), I did some quick tests (bellow) with the volume settings you see in the screen shots.
(NB: There is some visual differences between the methods, but you only think about it when you look at them side by side)
(Top to bottom: Methods #3, #1, #2)
FogTest_123.png
Testing Testing



(* Unless I'm missing something. I looked at tutorials for C4D+Octane and it seems that they have the camera inside the volume, but I can't get that to work.)
Windows 10 Pro - AMD Ryzen 7 2100X 8 core 3.70GHz - 32GB RAM - GeForce GTX 1080 8GB
Octane Prime - Blender Plugin user

Metal IOR values for Octane (with .blend library): https://chris.hindefjord.se/resources/rgb-ior-metals/
User avatar
ChrisH
Licensed Customer
Licensed Customer
 
Posts: 103
Joined: Sun Mar 06, 2011 12:13 am
Location: Lidköping, Sweden

Return to Blender


Who is online

Users browsing this forum: No registered users and 14 guests

Fri Apr 19, 2024 9:48 pm [ UTC ]