POV-Ray : Newsgroups : povray.general : A Question regarding output : Re: A Question regarding output Server Time
29 Jul 2024 16:23:03 EDT (-0400)
  Re: A Question regarding output  
From: Zeger Knaepen
Date: 14 Jan 2011 05:05:29
Message: <4d301fe9$1@news.povray.org>
On 14/01/2011 8:36, Anthony D. Baye wrote:
> Often I find it more convenient to scale by a single vector component (e.g.
> scale 4.0*x)
>
> the problem is that when I go to render, I get massive numbers of parse
> warnings, especially if I do this in a loop.
>
> Is it really necessary to warn the user that scale assumes a value of 1 for any
> undefined component?

it's not undefined, it's 0.
"scale 4.0*x" is exactly the same as "scale 4.0*<1,0,0>" or "scale 
<4.0,0,0>", so you're actively telling pov-ray to scale it infinitely 
thin in the y- and z-direction. It just assumes you meant to keep the 
dimensions in those directions, but it could just have assumed you 
really meant 0 and scale it as small as computationally possible.

At least, that's how I understand it :)


Post a reply to this message

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