POV-Ray : Newsgroups : povray.general : simple question but what about the answer? Server Time
5 Nov 2024 15:53:07 EST (-0500)
  simple question but what about the answer? (Message 1 to 1 of 1)  
From: heylen
Subject: simple question but what about the answer?
Date: 28 Aug 1998 10:16:18
Message: <35e7a12e.21622073@news.povray.org>
hello,
thanks to all of you for replying at my previous 'fog problem' 
I tried the suggestions but could not work out a satisfying solution.
the problem can be simplified as:
suppose you draw a unity box, centered around the origin.
can you add fog to this scene so that one half of the box completely
disappears into the fog.
so: the front of the box should remain unaffected by the fog and the
the back of the box should be invisible or completely obscured by the
fog.
here's the scene:
camera {
  location <0, 1.5, -2>
  look_at <0, 0, 0>
}
light_source {<0,1,2>rgb 1}
box {0,1 translate -0.5
       pigment{color rgb<1,0,0>}
        finish{ambient .5}
       } 

thanks for your solutions and have a nice weekend
regards


Post a reply to this message

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