|
|
marabou <not### [at] availablenet> wrote:
>> You need to make the plane you mentioned hollow, so that it can contain
>> fog.
> this works great!
But it's a kind-of wrong solution. You are defining your plane so that
everything is inside the plane, that is, you are looking at the inner
surface of the plane. You probably want to look at the outher surface of
the plane, and everything should be outside the plane (including the fog).
That is, you have to reverse the normal and negate the offset.
> but question: which side of a plane becomes hollow; where
> camera is positionated or where point 0 is?
The normal points outside the plane. The other side is inside.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|