Example of a parametric surface defined in cartesian coordinates.



POV-Ray 2.2 Image

tes1.jpg

Tessel code

parametric
  map cartesian
  uname u
  vname v
  urange -1 2 41 open
  vrange -1 2 41 open
  c1 u
  c2 v
  c3 sin(pi*u)*cos(pi*v)
  colormode none
  set axes .true.
  set zoom 2
  povray tes1.pov
endparametric
run povray tes1.pov +W100 +H100 +A0.2 +R3
run convert tes1.tga tes1.gif

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.