File: 32_blob_object_mixed.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 (16 lines) | stat: -rw-r--r-- 698 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#declare Strength_1 = 1.0; //(+ or -) strength of component's radiating density
#declare Strength_2 = 1.0; // 
#declare Radius1  = 1.00; //(0 < Radius) outer sphere of influence on other components
#declare Radius2  = 0.50; // 
blob{
  threshold 0.65 // threshold (0.0 < threshold <= Strength) surface falloff threshold #
  cylinder{<-1.00, 0.00, 0.00>,< 1.00, 0.00, 0.00>, Radius1, Strength_1}
  sphere{  < 2.25, 0.00, 0.00>, Radius1, Strength_1}
  // sturm 
  scale 1
  rotate<0,0,0>
  translate<0,0.5,0>
  texture{ pigment{ color rgb<1,0.7,0>}
           finish { phong 1 }
         } // end of texture
 } //------------------------------------------------------ end of blob object