|
|
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
|
|