User defined background in the POV-Ray output.



POV-Ray 2.2 Image (tes4.jpg)

Tessel code

parametric
  map cartesian
  uname u
  vname v
  urange -1.3 1.3  31 open
  vrange 0 6.283185 31  open
  c1 cos(v)^3*cos(u)^3
  c2 sin(v)^3*cos(u)^3
  c3 sin(u)^3
  set camangle 70 20 30
  set zoom 1
  set background disc{<0,0,-1>,<0,0,1>,1 pigment{checker color White color Black scale 0.2} finish{Dull}}
  povray hexagon.pov
endparametric
run povray hexagon.pov +W400 +H400 +A0.2 +R3
run cjpeg -targa -quality 75 hexagon.tga > hexagon.jpg
end

Master document: tessel.html
Page dates: April 9, 1996 (creation), Sep 22, 2003 (last update). Admin.: victor@carbono.quimica.uniovi.es
Copyright © 1996-2003 Víctor Luaña.