File:Protoplanetary disk 2 rend 1.png

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

Original file(1,024 × 768 pixels, file size: 225 KB, 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

  1. include "colors.inc"
  2. include "textures.inc"
  3. include"functions.inc"

camera { location <0,1000,-1000> look_at 0

angle 32

}


/*

light_source { //<1,1,-1>*1000*1000*1000 <0,0,0> color rgb 100 }

  • /

sky_sphere {

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

}


  1. declare SplineObject0_width = 632.000000;
  2. declare SplineObject0_height = 125.440197;
  3. declare SplineObject0_left = -316.000000;
  4. declare SplineObject0_right = 316.000000;
  5. declare SplineObject0_top = 42.247303;
  6. declare SplineObject0_bottom = 167.687500;
  7. declare SplineObject0_max_extent = max(SplineObject0_width, SplineObject0_height);
  1. declare SplineObject0_NORMAL_TRANSFORM = transform {
 translate <0, -SplineObject0_top - SplineObject0_height / 2, 0>
 scale (1 / SplineObject0_max_extent)
 scale <1, -1, 1>

}

  1. declare Disk_02 =

lathe { cubic_spline

 15
 , <91.000000, 106.000000>
 , <210.000000, 90.000000>
 , <226.000000, 75.000000>
 , <240.000000, 47.000000>
 , <272.000000, 45.000000>
 , <301.000000, 75.000000>
 , <316.000000, 105.000000>
 , <299.000000, 134.000000>
 , <270.000000, 164.000000>
 , <239.000000, 164.000000>
 , <225.000000, 135.000000>
 , <210.000000, 120.000000>
 , <91.000000, 107.000000>
 , <210.000000, 90.000000>
 , <213.000000, 90.000000>
  1. ifdef ( SplineObject0_USE_NORMAL_TRANSFORM )
 transform { SplineObject0_NORMAL_TRANSFORM }
  1. end

scale 1/1 }

  1. declare I_disk1_inc_width = 632.000000;
  2. declare I_disk1_inc_height = 125.440197;
  3. declare I_disk1_inc_left = -316.000000;
  4. declare I_disk1_inc_right = 316.000000;
  5. declare I_disk1_inc_top = 42.247303;
  6. declare I_disk1_inc_bottom = 167.687500;
  1. declare cloudcolor1=rgb <1,.25,0>*1;


//sphere { 0,2 hollow

  1. declare gastorus1=object {

//torus { 1,1/2

   isosurface {
   function { f_torus(x, y, z, 1, 0.25)-f_noise3d(x*10, y*10, z*10)/5 -f_noise3d(x*40, y*40, z*40)/30 }
   contained_by { box { -2, 2 } }
   threshold 0
 max_gradient 90
 accuracy 0.00001
 
 }                                 
 
 

/* 
 pigment {
 color rgb <1,0,0>
 }
  */
hollow  
 texture { pigment { rgbt 1 } }
/*
 interior {
   media {
   intervals 2
   samples 40,60
  
    absorption 1 scattering { 1 .3*cloudcolor1 }
     density { 
       
   //    granite
    //   scale 1/100
     //  agate
       
     spherical
      scale 1
       warp { turbulence .5 }
       density_map { [0 rgb 0][1 rgb 1/20] }
     }
   }
 
 
 }
 */

}



  1. declare disk02=object {

Disk_02 scale y/2 /*

texture {
 pigment {color <1,1,1>/2}  
 finish { ambient 1 }
 }
 */
 
  hollow  
 texture { pigment { rgbt 1 } }
 interior {
   media { absorption 1/2 scattering { 1 .3*cloudcolor1/50 }
     density { 
      
      waves
      
      scale 10 
    //   granite
    //   scale 1/100
     //  agate
       
   //  spherical
      scale 1
       warp { turbulence .5 }
       density_map { [0 rgb 0][1 rgb 1/20] }
     }
   }
 }


}



  1. declare gasdisk1=object {

//torus { 1,1/2

   isosurface {
   function { f_sphere(x, y, z, 1)
    // -f_noise3d(x*20, y*20, z*20)/10 
  // -f_noise3d(x*10, y*10, z*10)/5 -f_noise3d(x*40, y*40, z*40)/30 
    
    }
   contained_by { box { -2, 2 } }
   threshold 0
 max_gradient 0
 accuracy 0.0001
 
 }                                 
 
 

/* 
 pigment {
 color rgb <1,0,0>
 }
  */
hollow  
 texture { pigment { rgbt 1 } }
 interior {
   media { absorption 1 scattering { 1 1*cloudcolor1/300 }
     density { 
   //  spiral2 2
    ripples
     //  onion
     //waves
   // wrinkles   
   //    granite
     //  scale 1/10
     //  agate
       
   //  spherical
      scale 1/100
      
   //    warp { turbulence .5 }
       density_map { [0 rgb 0][1 rgb 1/20] }
     }
   }
 }
 scale y*0.1

}


  1. declare stara1=object{
  sphere{ <0,0,0>,1 }
 
 hollow
 pigment{ color rgbf<1,1,1,1>}
 finish { ambient 0 diffuse 0 }
 interior {
   media {
     emission color rgb<1.0,0.75,0.1>*20
     intervals 9
     samples 1, 20
     confidence 0.9999
     variance 1/100
     density{ spherical
              ramp_wave
              turbulence 0.15
              color_map {
              [0.0 color rgb <0.0,0.0,0.0>]
              [0.3 color rgb <0.8,0.3,0.0*1>]
              [0.6 color rgb <1.0,0.8,0.3>*2]
              [1.0 color rgb <1.0,1.0,0.1>*5]
                        } 
          // scale <1,2.5,1> 
           
         } 
   }

}

 scale 1/2

}


#declare jets1=union {
    cone {
   <0, 0, 0>, 0.001   
   <0, 2, 0>, 0.02    
 }
 
     cone {
   <0, 0, 0>, 0.001   
   <0, -2, 0>, 0.02    
 
 }                       
  hollow
 pigment{ color rgbf<1,1,1,1>}
 finish { ambient 0 diffuse 0 }
 interior {
   media {
     emission color rgb<1.0,0.75,0.1>*1
     intervals 1
     samples 1, 10
     confidence 0.5
     variance 50/100
    
     density{ 
        radial
        //  granite
        // wrinkles   
       //  scale 1/1000
     //spherical
       //       ramp_wave
           //   turbulence 0.15
              color_map {
              [0.0 color rgb <0.0,0.0,0.0>]
           //   [0.3 color rgb <0.3,0.3,0.8*1>]
          //    [0.6 color rgb <0.3,0.3,0.8>*2]
              [1.0 color rgb <0.1,0.1,1>*5]
                        } 
          // scale <1,2.5,1> 
           
         } 
   }

} 

}



  1. declare star1=light_source

{ 0 color rgb 600 looks_like {

object {stara1 scale 0.1} 

}

fade_distance 100 fade_power 6

  scale 1000/5

}




  object {gastorus1  scale 480*0.8 
  
  texture { pigment {color rgb <1,1/2,0>/200} finish {ambient 1} } 
  
   }
  
    object {disk02  translate y*-25 }
   object {gasdisk1 scale 150}   
   
    //   object {jets1 scale 500}
   object {star1}
   

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:44, 2 January 2023Thumbnail for version as of 10:44, 2 January 20231,024 × 768 (225 KB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata