File: 30_blob_object_spheres.txt

package info (click to toggle)
povray 1%3A3.7.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 146,780 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 (16 lines) | stat: -rw-r--r-- 700 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#declare Strength = 1.0; //(+ or -) strength of component's radiating density
#declare Radius1  = 1.0; //(0 < Radius) outer sphere of influence on other components
blob{
  threshold 0.6 // threshold (0.0 < threshold <= Strength) surface falloff threshold #
  sphere{< 0.75,  0,   0>, Radius1, Strength scale <1,1,0.5>}
  sphere{<-0.375, 0.65,0>, Radius1, Strength}
  sphere{<-0.375,-0.65,0>, Radius1, Strength}
  //cylinder{<-1.50,0,0>,< -0.25,1.50,0>, Radius1, Strength}
  // sturm 
  scale 1
  rotate<30,0,0>
  translate<0,1.0,-0.3>
  texture{ pigment{ color rgb<1,0.0,0.2> }
           finish { phong 1 }
         }
 } //------------------------------------------------------ end of blob object