POV-Ray : Newsgroups : povray.general : Disc which is not flat : Re: Disc which is not flat Server Time
7 Aug 2024 11:20:47 EDT (-0400)
  Re: Disc which is not flat  
From:
Date: 3 Dec 2001 08:48:32
Message: <3lvm0uc3lsdc73da87vh1u8maboa4tvt8p@4ax.com>
> if I can translate x*3, and rotate x*3, that I should be able to scale x*3
> without generating an error or a warning

... and this probably could generate a lot of questions from future newusers
after such simple animation render:

// animate it with clock from 0 to 1
#local Clock=1-clock;
#local V=Clock*y;
sphere{-1*y,.1 translate V}
sphere{ 0*y,.1 rotate V}
sphere{ 1*y,.1 scale V}

Warning is a good idea for newusers. Advanced one can switch it off.

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

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