POV-Ray : Newsgroups : povray.advanced-users : What is happening? : Re: What is happening? Server Time
22 Oct 2026 22:38:47 EDT (-0400)
  Re: What is happening?  
From: William F Pokorny
Date: 19 Oct 2026 03:24:36
Message: <6ad5c5b4$1@news.povray.org>
On 10/18/26 19:35, Leroy wrote:
>          right Size
>          up Size

The right and up settings are vectors so 'Size' for both is getting 
promoted to <Size,Size,Size>.

My guess is that POV-Ray internally sees the identical promoted vectors 
as an invalid right/up vector combination and you end up with some 
parser de-mangled right/up vectors. I see no warnings that this is 
happening though, for which I'll give the parser ten demerits.

I think the de-mangling of the <Size,Size,Size> vectors might also be 
creating a sqrt(2) multiplier of the resulting, internal, right and up 
vectors. Or maybe this multiplier comes about otherwise - I don't know.

If I'm guessing well, using:

right <Size*sqrt(2),0,0>
up    <0,Size*sqrt(2),0>

would be valid right and up vectors where the orthographic camera scale 
will match what you are seeing currently for a confusing result - except 
now, with the red sphere showing up on the left as you expect.

Bill P.


Post a reply to this message

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