NoPaste

Pov-Datei

von heinz
SNIPPET_DESC:
Zufallspositionen
SNIPPET_CREATION_TIME:
06.01.2019 20:53:23
SNIPPET_PRUNE_TIME:
Unendlich

SNIPPET_TEXT:
  1. global_settings {
  2.   adc_bailout 0.003922
  3.   ambient_light <1.0,1.0,1.0>
  4.   assumed_gamma 1.8
  5.   hf_gray_16 off
  6.   irid_wavelength <0.25,0.18,0.14>
  7.   max_intersections 64
  8.   max_trace_level 10
  9.   number_of_waves 10
  10.   radiosity {
  11.     brightness       3.3
  12.     count            100
  13.     distance_maximum 0.0
  14.     error_bound      0.4
  15.     gray_threshold   0.5
  16.     low_error_factor 0.8
  17.     minimum_reuse    0.015
  18.     nearest_count    6
  19.     recursion_limit  1
  20.   }
  21. }
  22.  
  23. background { color <0.000,0.000,0.000> }
  24.  
  25. camera {
  26.   location  <0.000, -0.001, 1000.000>
  27.   direction <0.0,     0.0,  2.4880>
  28.   sky       <0.0,     0.0,  1.0>
  29.   up        <0.0,     0.0,  1.0>
  30.   right     <1.33333, 0.0,  0.0>
  31.   look_at   <0.000, 0.000, 1.000>
  32. }
  33.  
  34.  
  35.  
  36. light_source {
  37.   <-6.450, -9.629, 12.176>
  38.   color rgb <1.000, 1.000, 1.000>
  39. }
  40.  
  41.  
  42.  
  43.  
  44.  
  45. #declare Z1=seed(0);
  46.  
  47. union {
  48.  
  49.   #declare Count=0;
  50.   #while (Count < 10000)
  51.  
  52.   #declare W=360*rand(Z1);
  53.   sphere {
  54.     <0,0,0>,1
  55.     texture {
  56.       pigment { color rgb<1,1,0> }
  57.     }
  58.     translate <sin(W*(pi/180))*(-200+400*rand(Z1)),cos(W*(pi/180))*(-200+400*rand(Z1)),0>
  59.   }
  60.  
  61.   #declare Count=Count+1;
  62.  
  63. #end
  64.  
  65. }

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN