POV-Ray : Newsgroups : povray.newusers : Trace question : Re: Trace question Server Time
5 Nov 2024 11:18:00 EST (-0500)
  Re: Trace question  
From: Mick Hazelgrove
Date: 7 Jul 2001 15:20:09
Message: <3b4760e9$1@news.povray.org>
> #declare CamDir=vnormalize(TestPos-CamPos);
> #if(vdot(CamDir,N)>cos(radians(MaxAngle)))
>     //put grass here
> #end

BTW shouldn't that be

#if(vdot(CamDir,N)<cos(radians(MaxAngle))) ?

Mick


Post a reply to this message

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