|
![](/i/fill.gif) |
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] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
Home page http://www.hot.ee/margusrt
Post a reply to this message
|
![](/i/fill.gif) |