Whisperings:Solo Piano Radio
  POV-Ray : Newsgroups : povray.documentation.inbuilt : Add a non-origin sphere example to Scale : Re: Add a non-origin sphere example to Scale Server Time: 20 Jul 2008 07:16:34 GMT
  Re: Add a non-origin sphere example to Scale  
From: Warp
Date: 26 Apr 2004 18:47:34
Christoph Hormann <chris_hormann [at] gmxde> wrote:
> Apart from that your explanation is wrong.  A transform does not 
> transform the radius and center of the sphere but the whole object.

  Actually that's not completely true. POV-Ray performs some optimizations
in transformations in order to avoid making a transformation matrix.
If you eg. create a sphere and translate it, POV-Ray will change its
center.

  It's better to explain transformations in a more abstract level,
without going too deep into details. From the point of view of the
user it doesn't really matter which way transformations are applied
(ie. by modifying the object parameters, if possible, or by creating
a transformation matrix).

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

Copyright 1991-2004 POV-Team™