File: 33_blob_with_negative_strength.txt

package info (click to toggle)
povray 1%3A3.7.0.8-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 146,872 kB
  • sloc: cpp: 845,005; ansic: 122,118; sh: 34,206; pascal: 6,420; asm: 3,355; ada: 1,681; makefile: 1,387; cs: 879; awk: 590; perl: 245; xml: 95
file content (14 lines) | stat: -rw-r--r-- 452 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
blob { // ---------------------------------- blob object
  threshold 0.5
  cylinder { <-7, 0, 0>, <7, 0, 0>, 4, 2 }
  cylinder { <0, 0, -7>, <0, 0, 7>, 4, 2 }
  sphere { <0, 0.5, 0>, 4.15, -5 }


  texture{ pigment{ color rgb<0.9,0.7,1>*0.5}
           finish { phong 1 reflection{ 0.3 metallic 0.5} }
         } // end of texture
  scale <1,0.5,1>*0.25
  rotate<0,0,0>
  translate <0, 0.5, 0>
} //--------------------------------- end of blob object