POV-Ray : Newsgroups : povray.beta-test : Camera matrix bug : Re: Camera matrix bug Server Time
4 Nov 2024 15:01:24 EST (-0500)
  Re: Camera matrix bug  
From: Ben Chambers
Date: 9 Sep 2001 13:44:40
Message: <3b9baa88@news.povray.org>
"Rune" <run### [at] mobilixnetdk> wrote in message
news:3b9b56ab@news.povray.org...
> The following code generates the error:
>
> Slab Building Error: Cannot use non-perpendicular camera vectors with
vista
> buffer.
>
> which is a bug because the matrix transform here is not non-perpendicular.
> In fact the matrix specified here is the same as a simple translation of
> <5,5,5>.
>
> camera {location 0 look_at z matrix <1,0,0,0,1,0,0,0,1,5,5,5>}

I could be wrong, but shouldn't the last four entries in the matrix be
5,5,5,1? ie,
<1, 0, 0, 0,
 0, 1, 0, 0,
 0, 0, 1, 0,
Tx,Ty,Tz, 1>

...Chambers


Post a reply to this message

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