Lua script for create a volume FOG

Forums: Lua script for create a volume FOG
Forum for OctaneRender Lua scripting examples, discussion and support.

Lua script for create a volume FOG

Postby bepeg4d » Wed Aug 05, 2015 2:35 pm

bepeg4d Wed Aug 05, 2015 2:35 pm
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
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9953
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Lua script for create a volume FOG

Postby komradkyle » Wed Sep 30, 2015 3:34 pm

komradkyle Wed Sep 30, 2015 3:34 pm
Very Important about the version being 2.24 it crashed on 2.23.
komradkyle
 
Posts: 1
Joined: Tue Sep 01, 2015 3:29 pm
Location: Austin

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 4 guests

Thu Apr 18, 2024 10:48 pm [ UTC ]