POV-Ray : Newsgroups : povray.newusers : sphere proportions : Re: sphere proportions Server Time
16 Apr 2024 16:25:57 EDT (-0400)
  Re: sphere proportions  
From: Bald Eagle
Date: 31 May 2021 14:25:00
Message: <web.60b52929dfb9240b1f9dae3025979125@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > ...> personally I like to use an aspect ratio (eg "right * (16/9)"), because
>
> sheesh..  should read "right x * (16/9)".  sorry.


Yes,  and a lot of us are lazy and very naughty and use:

right x*image_width/image_height

https://wiki.povray.org/content/Knowledgebase:Language_Questions_and_Tips#Topic_19


It's worth pointing out at this early stage that "x" is a reserved keyword,
shorthand for the cardinal x basis vector, <1, 0, 0>.

So after multiplying, you get: <image_width/image_height, 0, 0>

Maybe this will help explain better, or help to further confuse you...  :D

http://news.povray.org/povray.binaries.images/thread/%3Cweb.5d881ea3763463c54eec112d0%40news.povray.org%3E/?ttop=430067
&toff=50


Post a reply to this message

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