File: 04_Isosurface_octahedron.txt

package info (click to toggle)
povray 1%3A3.7.0.0-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 105,460 kB
  • ctags: 115,319
  • sloc: cpp: 438,613; ansic: 118,761; sh: 37,706; pascal: 6,420; asm: 3,355; ada: 1,681; makefile: 1,283; cs: 879; awk: 590; perl: 245; xml: 95
file content (14 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
isosurface { //-------------------------------------------------------------

  function{  abs(x)+abs(y)+abs(z)-2 }

  contained_by { box { -2, 2 } }
  accuracy 0.003
  max_gradient 5

  texture{ pigment{ color rgb<1,0.75,0.45>}
           finish { specular 0.2 phong 1}}
  scale 0.5
  rotate<0,5,0>
  translate <0, 1.3, 0>
} // end of isosurface -----------------------------------------------------