Page 1 of 1

Lua script for create a volume FOG

PostPosted: Wed Aug 05, 2015 2:35 pm
by bepeg4d
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

Re: Lua script for create a volume FOG

PostPosted: Wed Sep 30, 2015 3:34 pm
by komradkyle
Very Important about the version being 2.24 it crashed on 2.23.