POV-Ray : Newsgroups : povray.general : Difference object that cant be scaled : Re: Difference object that cant be scaled Server Time
2 Nov 2024 07:23:14 EDT (-0400)
  Re: Difference object that cant be scaled  
From: Christoph Hormann
Date: 26 Apr 2004 07:20:02
Message: <c6ir4a$4he$1@chho.imagico.de>
lars petter wrote:
> [...]
> 
> if i try to scale it in x- or z- direction, the object simply fails to show
> in the render. scaling i y-direction however, works fine.

You seem to have a wrong idea what 'scale' does.  What you probably want is:

difference {
   cylinder { <0,0,0>, <0,1,0>, 1 }
   cylinder { <0,0,0>, <0,1,0>, 0.9 }
   scale <2,1,1>
   translate <5,0,5>
}

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 21 Mar. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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