POV-Ray : Newsgroups : povray.general : Raytracing vs Scanline : Raytracing vs Scanline Server Time
7 Aug 2024 21:23:33 EDT (-0400)
  Raytracing vs Scanline  
From: Nekar Xenos
Date: 1 Jun 2001 07:31:15
Message: <3b177d03@news.povray.org>
Another dumb question. With all this talk about scanline rendering, I have
difficulty visualising how it differs from raytracing. Could someone maybe draw
me up a diagram to show the difference? Maybe a side view of a sphere and how
the  ray is reflected,etc.

Thanks,

--
/* Nekar Xenos */#local N=<-20,40,100>;#local K=<20,-40,100>;#local R=seed(0);
blob{#while((K-N).x>0)#local X=N;#local N=N+<rand(R),rand(R),1>/3;#local N=(
vlength(N-K)<vlength(X-K)?N:2*X-N);sphere{<N.y,-N.x,N.z>,1,1 scale .02}sphere{N
,1,1 scale.02}sphere{<-N.x-40,N.y,N.z>1,1 scale.01}sphere{<N.x+40,-N.y,N.z>1,1
scale.01 }#end pigment{rgbt 1}interior{media{emission <2,4,5>*5}}hollow}


Post a reply to this message

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