POV-Ray : Newsgroups : povray.general : fog without background : Re: fog without background Server Time
6 Aug 2024 02:25:22 EDT (-0400)
  Re: fog without background  
From: Warp
Date: 30 Jun 2002 12:57:49
Message: <3d1f388d@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.