POV-Ray : Newsgroups : povray.newusers : Can't find bad scale values. : Re: Can't find bad scale values. Server Time
28 Apr 2024 16:31:30 EDT (-0400)
  Re: Can't find bad scale values.  
From: clipka
Date: 29 Jul 2014 21:23:26
Message: <53d8490e$1@news.povray.org>
Am 30.07.2014 01:42, schrieb Bald Eagle:
>
> I get a lot of parse warnings about scaling by 0.
> I've searched for "scale" through the entire file and all the includes, and
> can't find any "bad" scalings.  Does this behaviour happen when a single scale
> value like scale 5 is automagically promoted by POV-Ray to scale <5, 5, 5> ?

No, it happens when you try to scale along a particular axis using:

     scale y*N

because from POV-Ray's syntax this is equivalent to

     scale <0,N,0>

which would make the thing a flat pancake, so POV-Ray presumes that what 
you actually meant was

     scale <1,N,1>


Post a reply to this message

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