POV-Ray : Newsgroups : povray.newusers : Scale by axis? : Re: Scale by axis? Server Time
5 Jul 2024 03:34:37 EDT (-0400)
  Re: Scale by axis?  
From: Stephen
Date: 1 Jun 2010 08:15:32
Message: <4c04f9e4$1@news.povray.org>
On 01/06/2010 3:44 AM, Alain wrote:
> You can only scale uniformly.

Are you sure about that? I was under the impression that you could scale 
<x, y, z> ;-)

> Also, you can't scale by zero.

Now this is true but you can scale by 0.000001

How about?

#declare My_Location = <x, y, z> ;

object {
    OBJECT_IDENTIFIER
scale  My_Location + 0.000001
translate My_Location
  }


-- 

Best Regards,
	Stephen


Post a reply to this message

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