POV-Ray : Newsgroups : povray.newusers : Trace question : Re: Trace question Server Time
5 Sep 2024 08:20:21 EDT (-0400)
  Re: Trace question  
From: Margus Ramst
Date: 7 Jul 2001 16:36:59
Message: <3B4748AD.F30D323E@peak.edu.ee>
Mick Hazelgrove wrote:
> 
> BTW shouldn't that be
> 
> #if(vdot(CamDir,N)<cos(radians(MaxAngle))) ?

Right, sorry. Bear in mind though that with this <90 degrees faces away
from you. To make it work the way I described (personally, I find that
more intuitive), the correct version is:

#if(vdot(CamDir,-N)>cos(radians(MaxAngle)))

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg
Home page http://www.hot.ee/margusrt


Post a reply to this message

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