dick balaska <dic### [at] buckosoftcom> wrote:
> I want to know what the "default" angle is. I'm stuck trying to solve
> for angle. Doc says:
>
> direction_length = 0.5 * right_length / tan(angle / 2)
>
> So:
> 1 = 0.5 * right_length / tan(angle/2)
> 1 = 0.5 * 1.69 / tan(angle/2)
> 1 = 0.845 / tan(angle/2)
> tan(angle/2) = 0.845
Have a look at:
http://news.povray.org/povray.binaries.images/thread/%3Cweb.587ce3fc782d1af2c437ac910%40news.povray.org%3E/?mtop=415328
&moff=8
If that doesn't help you out, maybe I'll have a chance to give you my snippet of
code for the view frustum.
Post a reply to this message
|