POV-Ray : Newsgroups : povray.newusers : Povray 3.5 documentation? : Re: Povray 3.5 documentation? Server Time
5 Nov 2024 03:18:20 EST (-0500)
  Re: Povray 3.5 documentation?  
From: Warp
Date: 21 Jun 2002 23:03:28
Message: <3d13e900@news.povray.org>
Simon Lemieux <Rei### [at] sympaticoca> wrote:
> But what if there is more than one
> intersection?  Does it returns the first intersection?

  Yes, it returns the closest intersection.
  If you want to find them all, trace again starting from the first
intersection point and in the same direction. Do this until it doesn't
hit the object anymore.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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