POV-Ray : Newsgroups : povray.advanced-users : For the love of dot products! : Re: For the love of dot products! Server Time
28 Jul 2024 20:34:54 EDT (-0400)
  Re: For the love of dot products!  
From: Andrew C on Mozilla
Date: 18 Apr 2004 08:52:06
Message: <408279f6@news.povray.org>
> (In this case you also must advance along the ray by a distance of epsilon
> before you actually compute the ray-object intersection or else you'll be
> sometimes hitting the object itself from which the reflected/refracted ray
> was shot.)

Yeah, tell me about it! I had fun just getting shaddow tests to work... 
(In the end, I just excluded the shape itself from the test. Works great 
for a sphere - it can't cast a shaddow on itself - but if I ever manage 
to make a torus or something... *sigh*)

Andrew.


Post a reply to this message

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