|
|
Warp wrote:
> Gilles Tran <tra### [at] inapginrafr> wrote:
> : missing "hollow" keyword ?
>
> I didn't know that a missing "hollow" affects the fog only when using
> radiosity.
A missing hollow in a plane affects the fog below in all cases, but as a
short test mixing radiosity, fog and planes showed me that the combination
works (as far as my test goes of course), I assumed that Greg may have fallen
in that very common trap.
#version unofficial Megapov 0.5;
global_settings{ini_option "+QR" radiosity{error_bound 0.1}}
fog{fog_type 1 color y+z distance 25}
plane{y,0 pigment{rgb 1} finish{ambient 0 diffuse 1}}
plane{y,20 pigment{rgb x} finish{ambient 1 diffuse 0} hollow}
sphere{0,1 translate y pigment{rgb y+z} finish{ambient 0 diffuse 1}}
camera{location (y-z)*10 direction 2.2*z right 4/3*x look_at 0}
G.
Post a reply to this message
|
|