|
|
Timothy R. Cook wrote:
> "Timothy R. Cook" wrote:
>> Fog bounding objects. I.e. fog only in this hollow cube. Kinda like
>> media, but quicker, and without the scattering of light.
You mean like this:
#include "colors.inc"
camera {
location <-20, 20, -20>
look_at <20,20,20>
}
background { color SkyBlue }
plane { y, -10
pigment {
checker color Yellow color Green
scale 20
}
}
box { <0, 0, 0>, <40,40,40>
pigment { Clear }
inverse
}
sphere { <-100, 150, 200>, 20
pigment { Green }
finish { phong 1.0 phong_size 20 }
}
sphere { <100, 25, 100>, 30
pigment { Blue }
finish { phong 1.0 phong_size 20 }
}
light_source { <100, 120, 40> color White}
fog {
distance 25
color rgb 0.6
}
>
> Also ...why is this message in some old thread?
>
It show up correctly here, so it might be your news reader.
- Micha
Post a reply to this message
|
|