POV-Ray : Newsgroups : povray.binaries.images : Sci-Fi Scene Assets : Re: Sci-Fi Scene Assets Server Time
1 May 2024 14:14:31 EDT (-0400)
  Re: Sci-Fi Scene Assets  
From: Kenneth
Date: 20 Feb 2021 05:30:00
Message: <web.6030e342a906d8e3d98418910@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
>
> "Kenneth" <kdw### [at] gmailcom> wrote:
> > ... I can't even get a *basic* experiment with a matrix to work
> > in v3.8xx for Windows:
> > ...
> > So I must be doing something basically wrong-- or else my syntax is
> > incorrect, although I don't see where.
>
> the problem must be elsewhere, the syntax is correct, tried it on (Linux,
> self-compiled) alpha.10064268.
>

Thanks.
That's strange, though; I just ran my matrix code snippet in v3.7.1 beta 9
(Windows), and it fails there as well, same error.

But I found the cause (at least for Windows builds): It's the matrix vector
values themselves that I used-- which I chose blindly, as just some combination
of 0's and 1's! Thinking that any combination would work for a simple syntax
test; apparently a bad idea. :-[

So I substituted the example values given in POV-ray's "matrix" docs...

matrix < 1, 1, 0,
       0, 1, 0,
       0, 0, 1,
       0, 0, 0 >

....and the #declared transform now runs without an error.

I guess it's not good to play around with things that I don't yet fully
understand ;-)


Post a reply to this message

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