File:Dry exoplanet rendering 4.png

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

Original file(2,400 × 1,800 pixels, file size: 1.3 MB, MIME type: image/png)

Captions

Captions

Dry exoplanet rendering

Summary

[edit]
Description
English: Dry exoplanet Pov-Ray rendering with atmosphere.
Date
Source Own work
Author Merikanto

// POV-Ray 3.7 souce code of terrestrial planet, quite simple approach.

// planet

// 4.8.2022 0000.0000 
                          
  1. include "colors.inc"
  2. include "textures.inc"
  3. include "functions.inc"


global_settings {

   assumed_gamma 1.0

}


default { finish { ambient 0.000002 diffuse 0.7 } }


camera { location <0,0,-35000> angle 35 // 4k reso

// up       9*y
// right     16*x
}

light_source { 150000000*<-1, 1, -1> rgb 1 }



  1. declare Darkening1 =

sphere {

  0, 1.1
  hollow
  material
  { 
 // texture {pigment {color <1,0,0> } }// koe  
  
  
    texture
    {
      pigment
      {
        color rgbt 1
      }
    }
    interior
    {
      media
      {     
 

        //   scattering { 1, <0.3, 0.3, 1>/500 }
          // scattering { 1, <0.1, 0.1, 0.5>/1000}       
                 scattering { 1, <0.4, 0.1, 0.1>/1000}  
            method 3 

              
              
        
        density
        {
          spherical
          density_map
          {   
            /*
            [0     rgb <0.25, 0.5, 1>]
            [0.0001 rgb <0.25, 0.5, 1>]
            [0.0001 rgb <0.9, 1, 1>]
            [1    rgb <0.9, 1, 1>]  
              */
              
            [0      rgb <1, 0.5, 0.25>]
            [0.0001 rgb <1, 0.5, 0.25>]
            [0.0001 rgb <1,   1, 0.9>]
            [1      rgb <1,   1, 0.9>]  
            
          }
        }
                
         
      }
    }
  
  }   

}




  1. declare Polar1=pigment {
  color rgb <1,1,1>*2

}


  1. declare Desert1=pigment {
//   agate    
 // wrinkles
     granite
    //  turbulence 1
   // bozo
  //    scale 0.5  
  
  scale 5
     octaves 15
  
  // granite      
      
               // kasvit 100,100,120
          // sine_wave


    colour_map
       {
     
       [0.0 colour rgb  <152, 141, 136>/(256*2) ]    
       [0.2 colour rgb <216, 137, 105>/(256*1.2) ]
     //  [0.3 colour rgb   <254, 222, 183>/256 ]
    
             [0.4 colour rgb  <241, 208, 167>*1.05/256 ] 
          [0.90 colour rgb  <241, 208, 167>*1.05/256 ]    
             [0.95   colour rgb <30, 45, 160>/(255*3)   ]      
             
       }
     
     
    turbulence 0.1
 

}


  1. declare DesertPlanet1=object {
    sphere{0, 1 }
       
    pigment {
          image_map {
          
          
       //    png "./output/combine3.png"


          png "./output/combine5.png"
          
    
            map_type 1  
            interpolate 4
           }      
              
              
           
//  }         
          // scale 2
       /*
    gradient y 
    turbulence 0.04
    
    pigment_map {
    
    [0.0 Polar1]
    [0.01 Polar1]
    [0.02 Desert1]
    
    [0.97 Desert1]
    [0.99 Polar1 ] 
    [1.0 Polar1 ]
  
    }       
    
    scale 2
    translate y*1
         */
   //  rotate x*30 
     // rotate <30, 0, -45>
     
      
    // translate y*-0.5
   //  scale 7000
    
    }     
            
  
            
    normal {
           bump_map 
           {
              // png "./indata/dryplanet_dem_sealevel.png"   
                png "./output/dem.png" 
               bump_size 5.0
               map_type 1     
             //  smooth
             //  interpolate
           }  
     }
 

}




        #declare Clouds0 = pigment {
     bozo
     turbulence 1
     color_map {
       [0.0 color White filter 1]
       [0.5 color White filter 1]
       [1.0 color White filter 1]
     }
   }     
    
     #declare Clouds1 = pigment {
     bozo  
     scale 0.05
     turbulence 0.3
     color_map {
       [0.0 color White filter 0]
       [0.5 color White filter 1 ]
       [1.0 color White filter 0]
     }
   }           
   
   // ok
 #declare Clouds2 = pigment {
   //bumps
   wrinkles
   // crackle
  //  scale 0.1
    
   turbulence 6   
        omega 1
   lambda 0
   octaves 20
//   color_map {
     //   scale 1000
   color_map {
     
     [0.0 color White filter 1]
     [0.2 color White filter 1]
     [1.0 color White filter 0]
     
     
     }
   }       
   // meybe nok
 #declare Clouds3 = pigment {
   //marble
   dents
   turbulence 6  
   octaves 32
   lambda 4
  // omega 0.75  
  scale 10   
   
   color_map {
          [0.0 color White*1.5 filter 0]
     [0.05 color White filter 1 ]
      [0.95 color White filter 1 ]
     [1.0 color White*1.4 filter 0]
     
   }
 }
// ok
 #declare Clouds4 = pigment {
   granite
   turbulence 0.1 
   omega 1.5
   lambda 0.5
   octaves 60
   color_map {
   
   //  [0.0 color White filter 1]
   //  [0.5 color White]
   //  [1.0 color White filter 1]
          [0.0 color White filter 1]
    [0.25 color White filter 1 ]   
  
     [1.0 color White*1.5]
   }
 }
   
 
// ok
 #declare Clouds5 = pigment {
   granite
   turbulence 0.1 
   omega 1.5
   lambda 0.5
   octaves 60
   color_map {
   
   //  [0.0 color White filter 1]
   //  [0.5 color White]
   //  [1.0 color White filter 1]
          [0.0 color White filter 1]
    [0.1 color White filter 1 ]   
  
     [1.0 color White*1.5 filter 0]
   }
 }  
 
  
  
 #declare CloudArea = texture {
   pigment {
     gradient y  
    //   onion
//     sine_wave
  
    turbulence 0.2
     //scale 0.2
      
   //  scale <10,10,10>
     
     pigment_map {  
    
    
    //    [0.000 color rgbt Clear]   
   //     [0.00 Clouds0 scale 1]
       
            [0.00 Clouds3 scale 1]
     [0.2 Clear scale 1]
     [0.50 Clouds2 ]
       [0.8 Clear ]
      [1.00 Clouds3 scale 1]  
     
 //    [0.000 color rgbt Clear]   
   //     [0.00 Clouds0 scale 1]
       
   //         [0.00 Clouds3 scale 1]
  //    [0.2 Clouds3]
  //   [0.50 Clouds5 scale 1 ]
   //    [0.8 Clouds2]
  //    [1.00 Clouds3 scale 1]
    
     
       
         /*  
     // clouds4 ok
       [0.00 Clouds4 scale 1]
      [0.2 Clouds0]
       [0.50 Clouds2 ]
       [0.8 Clouds0]
       [1.00 Clouds4 scale 1]
           */
        
             /*
       [0.0 Clouds2 scale 1]
       [1/8 Clouds4 ]
       [2/8 Clouds2]
       [3/8 Clouds4 scale 1]
       [4/8 Clouds2]
       [5/8 Clouds4 ]
       [6/8 Clouds2]
       [7/8 Clouds4 ]
       [8/8 Clouds2]
           */
     
     }
   }
 
    


  finish { 
  //ambient 0.000002
   
  diffuse 0.9
 // phong 0.1
 // specular 0.4
  reflection 0.9
  
  }
 
 
 } 
  
  
  
  
  
  1. declare CloudsLayer1 = sphere
  {
   0, 1
 
   texture {
      CloudArea
   }
 
  }    

  
/* 
// atmosphere emission
  1. declare Atmos1=difference {
 sphere { <0, 0, 0>, 1.005 }
 sphere { <0, 0, 0>, 1.0 }
 material {
  texture{
  pigment { rgbt 1 }
  }
  interior {
    media {
      emission 0.00005
      //scattering { 5 color rgb 0.01 eccentricity 0.56 }
      density {
        spherical density_map {
      [ 0.0  rgb 0.0 ]
         [ 0.5294*0.25e-6  rgb <0.02, 0.05, 0.2>*0.07 ]
         [ 0.5294*0.4e-6   rgb <0.02, 0.07, 0.3>*0.32 ]
         [ 0.5294*0.5e-6   rgb <0.08, 0.18, 0.4>*0.5 ]
         [ 0.5412*0.6e-6   rgb <0.08, 0.18, 0.4>*0.9 ]
         [ 0.5471*0.65e-6  rgb <0.08, 0.18, 0.4>*1.5 ]
         [ 0.5471*0.675e-6 rgb <0.08, 0.18, 0.4>*4.5 ]
         [ 0.5471*0.71e-6  rgb <0.08, 0.18, 0.4>*12 ]
        }
    scale 100
      }
    }
  }
 }
 hollow on

}

  • /
#declare Reunatummennus =

sphere {

  0, 1.005
  hollow
  material
  { 
 // texture {pigment {color <1,0,0> } }// koe  
  
  
    texture
    {
      pigment
      {
        color rgbt 1
      }
    }
    interior
    {
      media
      {     
 

        //   scattering { 1, <0.3, 0.3, 1>/500 }
           scattering { 1, <0.1, 0.1, 0.5>/5000}       
         
            method 3

              
              
        
        density
        {
          spherical   
          
          density_map
          {   
            [0     rgb <0.25, 0.5, 1>]
            [0.0001 rgb <0.25, 0.5, 1>]
            [0.0001 rgb <0.9, 1, 1>]
            [1    rgb <0.9, 1, 1>]
          } 
                      
          /*
                    density_map
          {   
            [0     rgb <1, 0.5, 0.25>]
            [0.0001 rgb <1, 0.5, 0.25>]
            [0.0001 rgb <1, 1, 0.9>]
            [1    rgb <1, 1, 0.9>]
          } 
          */ 
        }
                
         
      }
    }
  
  }   

}



  1. declare Desert_Planeta1=union

{

   object {
       DesertPlanet1
   }
   
   
   object {
       CloudsLayer1
       scale 1.0001
   }
     
  /*
   object {
   Darkening1   
   scale 0.912
  //  scale 0.95
       //scale 0.912 
       
   }    
    */
   object {
 //  Atmos1
   Reunatummennus
   }
    

}


object {
   Desert_Planeta1 
   rotate <30, 0, -45>
   scale 7000
}

        
        
        
        

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
current14:46, 4 August 2022Thumbnail for version as of 14:46, 4 August 20222,400 × 1,800 (1.3 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata