Lua script for create a volume FOG

Forum for OctaneRender Lua scripting examples, discussion and support.
Post Reply
User avatar
bepeg4d
Octane Guru
Posts: 10323
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi all,
here is a simple Lua script that creates a cube fog volume with the desired measures:
Image
bg4dCreateFogVolume.lua
you have to specify the measures in meters and choose the path where to save the cube geometry. It will create the cube, the fog material and a placement node for changing the PSR of the fog in a second moment.
Happy rendering,
ciao beppe

Edit: you need the latest version v2.24 in order to run this script:
viewtopic.php?f=24&t=49632
komradkyle
Posts: 1
Joined: Tue Sep 01, 2015 3:29 pm
Location: Austin
Contact:

Very Important about the version being 2.24 it crashed on 2.23.
Post Reply

Return to “Lua Scripting”