|
|
Alan Smith <ala### [at] aurora-ukcom> wrote:
> Wouldn't it be nice if POV allowed something like :-
> box { <-2cm, -1cm, 10mm>, <2cm, 1cm, 1cm> }
> This would lead to more readable code
So tell me what this would mean:
box { <-3cm, 4, 8mm>, <2, 14, 5cm> }
Mixing unit types doesn't help readability either:
box { <-2in, -5ft, 3m>, <3cm, 5in, -2ft> }
Of course we could obfuscate this even more:
#declare Location = -2cm*3in*<3ft, 5cm*3in, 2km>;
One could wonder what is "2 centimeters times 3 inches"...
IMHO plain numbers are easier to read... :P
--
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
|
|