File:Protoplanetary disk 6 rend 1.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(1,600 × 1,200 pixels, file size: 1.52 MB, MIME type: image/png)

Captions

Captions

Protoplanetary disk

Summary[edit]

Description
English: Protoplanetary disk
Date
Source Own work
Author Merikanto

POV-Ray 3.7 source code

// // protoplanetary disk "proplyd" cincumsteller disk dust disk // pov-ray povray 3.7 source code // 8.1.2022 0000.0003 //

#include "colors.inc"
#include "functions.inc"
#include "rand.inc"

camera{

   location  <0,0,-10>*5 
   look_at 0
  angle 20
   }             

//light_source{ <20,1000,-100>*1000*1000 rgb <1,1,1>*10 }


  1. declare sky1= sky_sphere {


 pigment {
    bozo
      scale 1/1000
         color_map 
    {
    [0 rgb 1]
    [0.2 rgb 0] 
    [1 rgb 0] 
    
    }
    
    }
   
  

  pigment {
granite

scale 5 // wrinkles

 turbulence 0.5
        scale 1/10
            color_map 
    {
    [0 rgbt <0,0,2,1>]
    [1 rgbt <2.0,0.5,0.5,0.5>] 
    
    }

}


  pigment {
wrinkles

scale 1/5

 turbulence 0.5
            color_map 
    {
    [0 rgbt <0,0,2,1>]
    [1 rgbt <2.0,0.5,0.5,0.5>] 
    
    }

}

// scale 5 }


  1. declare sky2= sky_sphere {


 pigment {
    bozo
      scale 1/1000
         color_map 
    {
    [0 rgb 1]
    [0.2 rgb 0] 
    [1 rgb 0] 
    
    }
      scale 1
    }
   
  

  pigment {
granite

scale 5 // wrinkles

 turbulence 0.5
        scale 1/10
            color_map 
    {
    [0 rgbt <0,0,2,1>]
    [1 rgbt <2.0,0.5,0.5,0.5>] 
    
    }

}


  pigment {
wrinkles

scale 1/10

 turbulence 0.5
            color_map 
    {
    [0 rgbt <0,0,2,1>]
    [1 rgbt <2.0,0.5,0.5,0.5>] 
    
    }

}

  pigment {

// agate // granite // bozo

 leopard

scale 0.1

 turbulence 0.5
            color_map 
    {
    [0 rgbt <0.5,0.5,0.5,0.8>]
[0.8 rgbt 0.9] 
    [1 rgbt 1] 
    
    }

}


  pigment {

// agate

 granite  

//scale 0.1

 turbulence 0.5
            color_map 
    {
    [0 rgbt <0.1,0.1,0.1,0.1>]
[0.3 rgbt 0.5] 
    [1 rgbt 1] 
    
    }

}

 /*
    pigment {

// agate

 granite  
//  radial

//scale 0.1

// turbulence 0.5

            color_map 
    {
    [0 rgbt <0,0,0,1>]
    [1 rgbt <0,0,1,0>] 
  
    }

}

  • /

// scale 5 }



  1. macro asteroid_belt_1()
  1. declare rmax=0.0;
  2. declare rmin=0.5;
  3. declare rdelta=rmax-rmin;
  4. declare rmid=(rmax+rmin)/2;
  1. declare fiidelta=10;


  1. local nn=0;


  1. declare theta=0.0;
  2. declare fii=0.0;


  1. while (nn<5000)
   object 
   {
       stonee    
       


       #declare seed1=seed(nn*1);
       #declare seed2=seed(nn*15143);
       #declare seed3=seed(nn*76359);
       #declare seed4=seed(nn*8987547);
       #declare seed5=seed(nn*1543); 
       
       #declare seed6=seed(nn*76923439);
       #declare seed7=seed(nn*87639);
       #declare seed8=seed(nn*76312); 
       
       #declare theta=radians( rand(seed1)*360 );
 
       #declare a1=Rand_Normal( 1.0, 0.33, seed2 );
       #declare rc1=a1*rdelta+rmid;   
        
       #declare a2=Rand_Normal( 1.0, 0.5, seed3 );
        
       
       #declare zc1= rand(seed4)*rc1/10-rc1/20; 
       
       #declare zc2=zc1*a2;
                                  
                                    
       #declare x1=cos(theta)*rc1;
       #declare y1=sin(theta)*rc1;
       #declare z1=zc2;


       #declare de1=rand(seed5);
       
       // fictional size distribution
       //#declare skale1=pow(de1,-0.111)*0.1;  
       
        #declare skale1=pow(de1,-0.333)*0.1; 
       
         
       #declare rot1=rand(seed6)*360;
       #declare rot2=rand(seed7)*360;     
       #declare rot3=rand(seed8)*360;
         
     
       scale skale1 
       scale 1/1000
       
       rotate <rot1,rot2, rot3>  
 
       translate <x1,y1,z1>
    }
     
 #local nn=nn+1;
  1. end
  1. end


  1. declare outer_disk1=object {
union {
  intersection 
  {
       torus {0.6,0.1 scale y*1.5}
       sphere {0,0.5}   
   }
 

// torus {1,0.15}

isosurface { function { //f_torus (x,y,z,1,0.15)-f_noise3d(x*5,y*5,z*5)*0.1 // f_torus (x,y,z,1,0.15)-f_waves(x*5,y*5,z*5)*0.5

// f_torus (x,y,z,1,0.15)-f_ripples(x*5,y*5,z*5)*0.1-f_waves(x*15,y*15,z*15)*0.1
//  f_torus (x,y,z,1,0.05)-sin(f_waves(x*5,y*5,z*5))*0.5-sin(f_ripples(x*10,z*10,y*10))*0.3 -f_granite(x*5, y*5, z*5) *1/2
//  f_torus (x,y,z,1,0.15)-sin(f_waves(x*10,y*10,z*10))*0.5-sin(f_ripples(x*30,z*30,y*30))*0.1 
  //  f_torus (x,y,z,1,0.15)-sin(f_spiral2(x*1,z*1,y*1)) -f_waves(x*2,y*2,z*2)*0.5
 //   f_torus (x,y,z,1,0.15)-f_noise3d(x*5,y*5,z*5)*0.5
     f_torus (x,y,z,2.0,0.15)-f_noise3d(x*5,y*5,z*5)*0.8 -f_waves(x*2,y*2,z*2)*0.5 -f_granite(x*5, y*5, z*5) *1/2

}

threshold -0.00001 accuracy 0.00001

 max_gradient 4

contained_by { sphere { 0,4 } }

       }   
 

} // union

/*

  texture {
       pigment {color rgb <1,0,0>}
       finish {phong 0.2}  
   }               
*/



    hollow no_shadow
 texture { pigment { rgbt 1 } }
 interior { 
  
   
   media { 
   
   absorption 8 

// emission 1

  // method 3 samples 30,30 intervals 1 
   scattering {3,<1,0,0>/10}
   
     density { 
   //   agate 
  //  waves
   //ripples
   // wood
 //   onion
      
         function {
 
sin(sqrt(x*x+y*y+z*z) )

//+ f_spiral1(x*3,y*3,z*3)

 +  f_waves(x*5,y*5,z*5)/5 
  + f_granite (x*2,y*2,z*2) 

+f_agate(x*x,y*y,z*z)

   }
      
    
    scale 1


       density_map {
         [0.0 rgbt <0,0,0,1>]
  
         [1 rgbt <1,1.0,1,0>/3] }
     
     
     } 
     
     
   }
}

scale 1 scale y/2 }

  1. declare tex1= texture {

pigment {color rgb <1,0,0>} }

  1. declare tex2= texture {

//pigment {color rgb <1,1,0>}

pigment {

//spiral1 16

 function {

//f_waves(x*20,y*20,z*20) -f_waves(x*60,y*60,z*60)/3 -f_waves(x*200,y*200,z*200)/20-f_waves(x*600,y*600,z*600)/180 // f_waves(x*20,y*20,z*20) -f_waves(x*60,y*60,z*60)/3 -f_waves(x*200,y*200,z*200)/20-f_waves(x*600,y*600,z*600)/180-f_wrinkles(x*600,y*600,z*600)/5

( f_waves(x*20,y*20,z*20) -f_waves(x*60,y*60,z*60)/3 -f_waves(x*200,y*200,z*200)/20-f_waves(x*600,y*600,z*600)/180-f_wrinkles(x*600,y*600,z*600)/5)*1  

//f_spiral2(x,z,y) }

//scale 1/20

//rotate x*90 turbulence 0.04 color_map {

  [0 rgbt <0,0,0,1>]
  [1 rgbt <1,1/2,0,0>]

} } }

  1. declare inner_disk1 =object {

sphere {0,1}

hollow

pigment {rgbt 1}

interior {

media {
 
   
  absorption 0.05 
 //  emission 2
//   method 3 samples 30,30 intervals 1 
   scattering {3,30}
   
     density { 
   //   agate 
  //  waves
   //ripples
  //  wood 

//scale 0.01

 //   onion
   
   function {
   sqrt(x*x/400+z*z/400) *  f_waves(x*10,y*10,z*10)   *  f_ripples(x*1,y*1,z*1)*100
   
  // sin(f_onion(x*10,y*10,z*10)) *f_granite(x*3,y*3,z*3) +f_noise3d(x*50,y*50,z*2000)
  // f_onion(x,y,z)+
 //  f_ripples(x*24,y*24,z*100)+ f_ripples(x*60,y*60,z*1000) +f_noise3d(x*10,y*10,z*2000) + f_noise3d(x*30,y*30,z*2000)
  
//  f_waves(x*100,y*100,z*100) * f_wrinkles(x*x,y*y,z*z)* f_granite(x*10,y*10,z*10) 
  
// f_granite (x*100,y*100,z*100)  

// ( f_waves(x*20,y*20,z*20) -f_waves(x*60,y*60,z*60)/3 -f_waves(x*200,y*200,z*200)/20-f_waves(x*600,y*600,z*600)/180-f_wrinkles(x*600,y*600,z*600)/5)*1

}
    
  //  rotate x*90
    
    scale 1/15
    sine_wave
    //  granite  
   //  turbulence 0.2
      
    // spherical
    //  warp { turbulence 0.1 }
       
       density_map {
         [0.0 rgbt 1]
  
         [1 rgbt  <1,1,1,1> ]
        }
     
     
     } 
     
      
   

} }

scale 3 scale y/100 }

  1. declare sun_object1=object {

sphere {0,0.02} texture { pigment {color rgb <1,1,0.5>} finish {emission 2} }

}

  1. declare sun1= union {
 /*
 sphere {0,0.01
  hollow
   texture {
   pigment {
   granite 
 //   agate
    scale 0.01
   color_map {
       [0 color rgbt 1] 
        [0.7 color rgbt 1]
       [1 color rgbt <1,1,1,0>]
       }   
   }

} //finish {emission 1} }

  • /
light_source { <0,0,0> rgb <1,1/2,0>*1

fade_power 4

fade_distance 1
 
 looks_like {
 object {sun_object1}
 }
 } 

}


#declare int1=1;
 // stars
    #declare kolor1 = <1, 1, 1>*10; 
    #declare kolor2 = <1, 1, 1>*10; 
 #declare kolor3 = <1, 1, 1>*10; 
    

// nebulas

 #declare ine1=1;
      #declare color1 = <1.5, 1.5, 1.5>*10; 
      #declare color2 = <0.5, 0.5, 1.5>*10; 
  #declare color3 = <1.5, 0.5, 0.5>*10; 
     #declare staara1 = disc {0, z, .999 pigment {average pigment_map {
        [1 onion color_map {
           [.05 rgb kolor1 * 10 transmit pow(.05, int1)] [.2 rgb kolor3 * 3 transmit pow(.3, int1)]
           [1 rgb kolor2 transmit 1]} scallop_wave scale 2]
        [1 onion color_map {[0 rgb kolor1 transmit pow(.8, int1)] [.06 rgb kolor2 transmit 1]}
           scale <16, 1, 1>]
        [1 onion color_map {[0 rgb kolor1 transmit pow(.8, int1)] [.06 rgb kolor2 transmit 1]}
           scale <16, 1, 1> rotate z * 120]
        [1 onion color_map {[0 rgb kolor1 transmit pow(.8, int1)] [.06 rgb kolor2 transmit 1]}
           scale <16, 1, 1> rotate z * 240]}}}

     #declare staara2 = disc {0, z, .999 pigment {average pigment_map {
        [1 onion color_map {
           [.1 rgb kolor1 * 8 transmit pow(.05, int1)] [.3 rgb kolor3 * 2 transmit pow(.2, int1)]
           [.35 rgb kolor1 * 3 transmit pow(.1, int1)] [.4 rgb kolor3 * 1.5 transmit pow(.2, int1)]
           [.7 rgb kolor2 transmit pow(.5, int1)] [.71 rgb kolor3 * 1.5 transmit pow(.4, int1)]
           [.72 rgb kolor2 transmit pow(.5, int1)] [1 rgb kolor2 transmit 1]}
           scallop_wave scale 2]
        [1 onion color_map {
           [0 rgb kolor1 * 2 transmit pow(.05, int1)] [.02 rgb kolor2 transmit 1]}
           scale <45, 1, 1>]
        [1 onion color_map {
           [0 rgb kolor1 * 2 transmit pow(.05, int1)] [.02 rgb kolor2 transmit 1]}
           scale <1, 50, 1>]}}}
 
     #declare staara3 = disc {0, z, .999 pigment {average pigment_map {
        [1 onion color_map {
           [.05 rgb kolor1 * 8 transmit pow(.05, int1)] [.2 rgb kolor3 * 3 transmit pow(.3, int1)]
           [1 rgb kolor2 transmit 1]} scallop_wave scale 2]
        [1 onion color_map {[0 rgb kolor1 * 4 transmit pow(.05, int1)] [.02 rgb kolor2 transmit 1]}
           scale <45, 1, 1>]
        [1 onion color_map {[0 rgb kolor1 * 4 transmit pow(.05, int1)] [.02 rgb kolor2 transmit 1]}
           scale <1, 50, 1>]}}}
 
     #declare staara4 = disc {0, z, .999 pigment {average pigment_map {
        [1 onion color_map {
           [.15 rgb kolor1 * 8 transmit pow(.05, int1)] [.4 rgb kolor3 * 3 transmit pow(.1, int1)]
           [.49 rgb kolor3 * 1.5 transmit pow(.3, int1)] [.5 rgb kolor1 * 2 transmit pow(.1, int1)]
           [.51 rgb kolor3 transmit pow(.3, int1)] [1 rgb kolor2 transmit 1]}
           scallop_wave scale 2]
        [1 onion color_map {[0 rgb kolor1 * 2 transmit pow(.05, int1)] [.01 rgb kolor2 transmit 1]}
           scale <90, 1, 1>]
        [1 onion color_map {[0 rgb kolor1 * 2 transmit pow(.05, int1)] [.01 rgb kolor2 transmit 1]}
           scale <1, 100, 1>]}}}
 
/*  

// orig

     #declare nebula1 = disc {0, z, .999 pigment {onion pigment_map {
        [0 granite color_map {[.05 rgb color3 transmit 1] [.3 rgb color1 transmit pow(.1, ine1)]}
           scale .7 * 1 translate -0]
        [.8 wrinkles color_map {[0 rgb color2 transmit 1] [1 rgb color3 transmit pow(.6, ine1)]}
           scale .1 * 1 translate -0]
        [.9 rgbt color2 transmit 1]}
        scallop_wave scale 2.2
        translate -0.0 warp {turbulence .25 octaves 4 lambda 3 omega .4} translate 0.0}}
  • /


     #declare nebulax1 = disc {0, z, .999 pigment {onion pigment_map {
        [0 granite color_map {[.0 rgb color3 transmit 1] [.3 rgb color1 transmit pow(.1, ine1)]}
           scale .7 * 1 translate -0.1]
        [.8 wrinkles color_map {[0 rgb color2 transmit 1] [1 rgb color3 transmit pow(.6, ine1)]}
           scale .1 * 1 translate -0.001]
        [.9 rgbt color2 transmit 1]}
        scallop_wave scale 2.2
        translate -0.0 warp {turbulence .3 octaves 60 lambda 3 omega .42} translate 0.01}
 rotate z*60

}


//#declare int1=1;
//    #declare kolor1 = <1, 1, 1>*10; 
 //   #declare kolor2 = <1, 1, 1>*10; 

// #declare kolor3 = <1, 1, 1>*10;


     #declare gax1 = disc {0, z, .999 pigment {onion pigment_map {
        [0 rgb kolor1 transmit pow(.1, int1)]
        [.2 wrinkles color_map {[0 rgb kolor1 transmit pow(.1, int1)] [1 rgb kolor3 transmit pow(.4, int1)]}
           scale .06 * 1 translate -0.0]
        [.4 spiral1 2 pigment_map {
              [.3 wrinkles color_map {[0 rgb kolor1 transmit pow(.1, int1)] [1 rgb kolor3 transmit pow(.6, int1)]}
                 scale .2 * 1 translate -0.0]
              [1 rgb kolor3 transmit pow(.6, int1)]}
           scale .15 translate -0.0 warp {turbulence .06 octaves 4 lambda 3} translate 0.0]
        [.8 spiral1 6 pigment_map {
              [.1 wrinkles color_map {[0 rgb kolor3 transmit pow(.2, int1)] [1 rgb kolor2 transmit pow(.8, int1)]}
                 scale .2 * 1 translate -0.0]
              [.8 rgb kolor2 transmit pow(.8, int1)]}
           scale .13 translate -0.0 warp {turbulence .06 octaves 4 lambda 3} translate 0.0]
        [.9 spiral1 12 pigment_map {
              [0 wrinkles color_map {[0 rgb kolor3 transmit pow(.3, int1)] [.8 rgb kolor2 transmit pow(.9, int1)]}
                 scale .2 * 1 translate -0.0]
              [.6 rgb kolor2 transmit pow(.9, int1)]}
           scale .09 translate -0.0 warp {turbulence .06 octaves 4 lambda 3} translate 0.0]
        [1 rgb kolor2 transmit 1]}
        scallop_wave scale 2}}


     #declare gax2 = disc {0, z, .999 pigment {onion pigment_map {
        [0 rgb kolor1 transmit pow(.05, int1)]
        [.4 wrinkles color_map {[0 rgb kolor1 transmit pow(.1, int1)] [1 rgb kolor3 transmit pow(.7, int1)]}
           scale .08 * 1 translate -0.0 warp {turbulence .08 octaves 4 lambda 4} translate 00.00]
        [.65 spiral1 2 pigment_map {
           [0 wrinkles color_map {[0 rgb kolor1 transmit pow(.2, int1)] [1 rgb kolor3 transmit pow(.7, int1)]}
              scale .25 * 1 translate -0.0]
           [1 wrinkles color_map {[0 rgb kolor3 transmit pow(.5, int1)] [.6 rgb kolor3 transmit pow(.9, int1)]}
              scale .15 * 1 translate -0.0]}
           sine_wave scale .2 translate -0.0 warp {turbulence -.08 octaves 4 lambda 4} translate 0.0]
        [.85 spiral1 2 pigment_map {
           [0 wrinkles color_map {[0 rgb kolor3 transmit pow(.4, int1)] [.8 rgb kolor2 transmit pow(.8, int1)]}
              scale .2 * 1 translate -0.0]
           [.8 rgb kolor2 transmit pow(.9, int1)]}
           sine_wave scale .15 translate -0.0 warp {turbulence .05 octaves 4 lambda 4} translate 0.0]
        [1 rgb kolor2 transmit 1]}
        scallop_wave scale 2}}
     #declare gax3 = disc {0, z, .999 pigment {onion pigment_map {
        [.03 rgb kolor1 transmit pow(.1, int1)]
        [.25 spiral1 -2 pigment_map {
           [0 wrinkles color_map {[0 rgb kolor3 transmit pow(.9, int1)] [.6 rgb kolor1 transmit pow(.4, int1)]} scale .1 * 1 translate -0.0]
           [.1 wrinkles color_map {[0 rgb kolor1 transmit pow(.3, int1)] [1 rgb kolor3 transmit pow(.5, int1)]} scale .3 * 1 translate -0.0]
           [.9 wrinkles color_map {[0 rgb kolor3 transmit pow(.5, int1)] [1 rgb kolor1 transmit pow(.8, int1)]} scale .2 * 1 translate -0.0]}
           scale .4 translate -0.0 warp {turbulence .04 octaves 4 lambda 3 omega .5} translate 0.0]
        [.5 spiral1 -2 pigment_map {
           [0 wrinkles color_map {[0 rgb kolor3 transmit pow(.1, int1)] [.5 rgb kolor2 transmit pow(.5, int1)]} scale .1 * 1 translate -0.0]
           [.3 wrinkles color_map {[0 rgb kolor2 transmit pow(.3, int1)] [1 rgb kolor2 transmit pow(.4, int1)]} scale .3 * 1 translate -0.0]
           [1 wrinkles color_map {[0 rgb kolor2 transmit pow(.7, int1)] [1 rgb kolor2 transmit 1]} scale .2 * 1 translate -0.0]}
           scale .8 translate -0.0 warp {turbulence .1 octaves 4 lambda 3 omega .4} translate 0.0]
        [1 rgb kolor2 transmit 1]}}}
     #declare gax4 = disc {0, z, .999 pigment {onion pigment_map {
        [0 rgb kolor1 transmit pow(.1, int1)]
        [.4 spiral1 -2 pigment_map {
           [0 wrinkles color_map {[.2 rgb kolor3 transmit pow(.7, int1)] [1 rgb kolor1 transmit pow(.2, int1)]} scale .2 * 1 translate -0.0]
           [.4 wrinkles color_map {[.4 rgb kolor3 transmit pow(.8, int1)] [1 rgb kolor3 transmit pow(.4, int1)]} scale .1 * 1 translate -0.0]
           [.9 wrinkles color_map {[0 rgb kolor2 transmit pow(.9, int1)] [1 rgb kolor3 transmit pow(.8, int1)]} scale .3 * 1 translate -0.0]}
           scale 1.2 translate -0.0 warp {turbulence .04 octaves 4 lambda 3} translate 0.0]
        [.6 spiral1 -2 pigment_map {
           [0 wrinkles color_map {[.3 rgb kolor3 transmit pow(.8, int1)] [1 rgb kolor1 transmit pow(.3, int1)]} scale .2 * 1 translate -0.0]
           [.3 wrinkles color_map {[.5 rgb kolor2 transmit pow(.9, int1)] [1 rgb kolor3 transmit pow(.5, int1)]} scale .1 * 1 translate -0.0]
           [.8 wrinkles color_map {[0 rgb kolor2 transmit 1] [1 rgb kolor2 transmit pow(.8, int1)]} scale .3 * 1 translate -0.0]}
           scale .8 translate -0.0 warp {turbulence .03 octaves 4 lambda 3} translate 0.0]
        [1 rgb kolor2 transmit 1]}}}
     #declare gax5 = disc {0, z, .999 pigment {onion pigment_map {
        [0 rgb kolor1 transmit pow(.1, int1)]
        [.35 granite color_map {
           [0 rgb kolor3 transmit pow(.4, int1)] [.8 rgb kolor1 transmit pow(.1, int1)]}
           scale .06 * 1 translate 00.00]
        [.6 granite color_map {
           [.3 rgb kolor2 transmit pow(.7, int1)] [1 rgb kolor3 transmit pow(.2, int1)]}
           scale .05 * 1 translate 00.00]
        [.75 granite color_map {
           [.5 rgb kolor2 transmit pow(.9, int1)] [1 rgb kolor2 transmit pow(.3, int1)]}
           scale .04 * 1 translate 00.00]
        [1 rgb kolor2 transmit 1]}
        scallop_wave scale 2}}



// object { gax1 scale 1/2}




object {nebulax1 scale 6  

translate z*10 rotate y*10 }

  1. declare jets1= union {

cone { <0, 0, 0>, 0.01 ,<0, 10, 0>, 0.5 } cone { <0, 0, 0>, 0.01 ,<0, -10, 0>, 0.5 }

   hollow no_shadow
 texture { pigment { rgbt 1 }  finish {reflection 0 refraction 1}}
 
 interior { 
  
   
   media { 
 //  absorption 1 
 //  emission 2
   method 3 samples 30,30 intervals 1 
   scattering {1,<1,1,2>*150}
    
    density {
    granite
    turbulence 0.5
    scale 0.1
   scale y*4  
      color_map {
   [0 rgbt <1,1,1,1>] 
  [0 rgbt <0,0,0,1>]        
   }
    }
    
 }
 }  
   
   

}


  1. declare media1= media {
 //  absorption 1 
 //  emission 2
 //  method 3 samples 40,80 intervals 1 
   scattering {
   
   3,<1,1,1>*1/1000000000
   
   extinction 0.00000000000001
   }   
   
   
   }

sky_sphere {sky1}

media {media1}

union { light_source { sun1 scale 5 }

// object {jets1} object {outer_disk1 scale 2 }

object { inner_disk1 scale 2 }

rotate <20,30,40> rotate <20,30,40>

}

//  object {staara4 rotate z*30 scale 1/4 translate x*-1/3 scale 10}
// object {staara4 rotate z*30 scale 1/6 translate x*1/5 translate y*1/4 scale 10}
#declare star1=object {
 disc {0, <0,0,-1>, 1}
  hollow
  pigment {
  
 

// spherical // ramp_wave

 function {
    (1-sqrt(x*x+y*y+z*z))

// exp((1-sqrt(x*x+y*y+z*z)))

// pow(-(x*x+y*y+z*z))    

}

poly_wave 3
  color_map {
   [0 rgbt <1,1,1,1>]
   [1 rgbt <1,1,1,0>*3]
   }
   }
 finish {
 refraction 1

reflection 0

ambient 1
}

}



  1. declare Stream1=1;
#declare Stream2=2;
  1. for (n,1,400)


object { star1 scale 1/20

  1. declare a1=RRand(0,1,Stream2);
  1. declare x1=RRand(-1, 1, Stream1);
  2. declare y1=RRand(-1, 1, Stream1);
#declare z1=RRand(0, 1, Stream1);

scale a1 *2

translate x*x1*50 translate y*y1*50 translate z*z1*50

}

  1. end

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current10:40, 8 January 2023Thumbnail for version as of 10:40, 8 January 20231,600 × 1,200 (1.52 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata