POV-Ray : Newsgroups : povray.programming : Intersect_Plane in planes.c : Re: Intersect_Plane in planes.c Server Time
28 Jul 2024 12:34:20 EDT (-0400)
  Re: Intersect_Plane in planes.c  
From: Ron Parker
Date: 1 Aug 2001 12:48:05
Message: <slrn9mgcm7.v7a.ron.parker@fwi.com>
On Wed, 01 Aug 2001 19:31:02 +0300, Peter Popov wrote:
>  if ((*Depth >= DEPTH_TOLERANCE) && (*Depth <= Max_Distance)) {
         ^^^^^^^^^^^^^^^^^^^^^^^^
...
>*Depth = -(0+5)/1 = -5
...
>But this ray does not intersect the plane, and no tests are being done
>to test if it does!

Are you sure?

-- 
#local R=<7084844682857967,0787982,826975826580>;#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's


Post a reply to this message

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