File:Terraplan4.png

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

Original file(8,000 × 6,000 pixels, file size: 26.68 MB, MIME type: image/png)

Captions

Captions

Fictional habitable planet.

Summary[edit]

Description
English: Fictional habitable planet. It has polar cap and lagre continent.
Date
Source Own work
Author Merikanto

Pov-Ray code to render this planet.

// // planet.pov

// // POV-Ray 3.7 souce code of planet

//

// 20.0.2022 0000.0000


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


global_settings {

   assumed_gamma 1

}

//#default { finish { ambient 0.000002 diffuse 0.35 reflection 0.0 } }

// default { finish { ambient 0.000002 diffuse 0.000001 reflection 0.0 } }


camera { location <0,0,-35000*1> // location <0,0,-10000*1> angle 35 up -y // 4k reso

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

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

// light_source { 150000000*<-1, 1, -1> rgb <1,1,1>*1 }   
        
       light_source { 100000*<-1, 1, -35000> rgb <1,1,1> }
 
 
  1. declare Desert0=pigment {
         granite
  
        scale 5
       octaves 15
  
      
               // vege 100,100,120
          // sine_wave


    colour_map
       { 
   //     [0.0 colour rgb  <50, 50, 255>/(256*2) ] 
   //    [0.1 colour rgb  <80, 200, 120>/(256*2) ] 
       [0.25 colour rgb  <152, 141, 136>/(256*2) ]  
       
         
       [0.3 colour rgb <216, 137, 105>/(256*1.2) ]
     //  [0.3 colour rgb   <254, 222, 183>/256 ]
    
             [0.7 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 Desert1=pigment {
         granite
  
        scale 5
       octaves 15
  
      
               // vege 100,100,120
          // sine_wave


    colour_map
       { 
        [0.01 colour rgb  <50, 50, 255>/(256*2) ] 
   //    [0.1 colour rgb  <80, 200, 120>/(256*2) ] 
    //   [0.25 colour rgb  <152, 141, 136>/(256) ]  
   //   [0.0 colour rgb <216, 137, 105>/(256) ]   
         
       [0.0 colour rgb <216, 137, 105>/(256*1.2) ]
     //  [0.5 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)   ]      
               [1.0   colour rgb <30, 45, 160>/(255*3)   ]    
       }
     
     
    turbulence 0.1
 

}


  1. declare Planet1=object {
    sphere{ 0, 1 }
          
          
         texture { 
          
          pigment {
           
      //     color rgb <0.9294, 0.7882,0.6863>*0.1
        //   color rgb   <0.9686, 0.8784,0.6627>
       
          
          function {
          
          //f_ridged_mf(x, y, z, 1, 0.5, 13, 0.1, 0.1, 1)  
          
          //    f_ridge(x/300, y/300, z/300, 0.5, 4, 13, 3, 5, 2)
      //     f_ridged_mf(x/1000, y/1000, z/1000, 0.5, 4, 8, 3, 5, 1)*-1
        // f_ridged_mf(x/1000, y/1000, z/1000, 0.5, 4, 13, 3, 5, 1)*-1
            // f_hetero_mf(x,y,z, 0.9, 1.7, 12, 0.5,0.9, 3 )
       //   f_noise3d(x/200,y/200,z/200)
        //      f_ridge(x/500, y/500, z/500, 1, 8, 1, 3,1,1)  
        
           f_ridged_mf(x/1000, y/1000, z/1000, 0.5, 4, 13, 3, 5, 1)*-1
          }
          
           scale 1
      //  agate
        //  granite
        //  scale 3
          octaves 14
        pigment_map 
        {  
                [0.0 color rgb <0.0,0.6,0.2>/5   ]
           // [0.5 color rgb <0.9,0.8,0.7>   ] 
                 [0.5 colour rgb <216, 137, 105>/128 ]
          
            [0.51 color rgb <0.0,0.0,0.3>   ]      
        [1.0 color rgb <0.0,0.0,0.20>   ]  
  
      
     
          
      
        }
          
     //    Desert0
          scale 4
     
          }
        
          
          
          
          


         finish {
               reflection 0.1
               diffuse 0.2
            //   specular 0.05  
             //  phong 0.05
         }    
         
         
         }
         
         
         
         texture {
                    
             pigment {       
         gradient y  
         turbulence 0.04
         
                  pigment_map 
        {
    
        [0.0 color rgbt <0,0,0,1>   ]  
            [0.87 color rgbt <0,0,0,1>   ]   
             [0.9 color rgbt <1,1,1,0>   ]
               [1.0 color rgbt <1,1,1,0>   ]  

        }
        scale 2
        translate y*1
           
           }
           
         }
         
         
              

}




        #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]
     }
   }     
    
 
   // 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.75]
   }
 }  
 
  
  
 #declare CloudArea = texture {
   pigment {
     gradient y  
    //   onion
//     sine_wave
  
    turbulence 3  
    octaves 15   
    scale 1    
    
    //lambda 2
   // omega 2
    
    scale 10
     //scale 0.2
      
   //  scale <10,10,10>
     
     pigment_map {  
        
        [0.00 Clouds3 scale 0.1]
       
    //         [0.00 Clouds3 scale 1]
      [0.2 Clouds3]
       [0.50 Clouds3 scale 0.01]
       [0.8 Clouds3 scale 1]
       [1.00 Clouds3 scale 0.5]
     
       


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


        /*
  1. declare Rings1=disc

{ // <0,0,0>, <0,1,0>, 5.0, 2.0

       <0,0,0>, <0,1,0>, 2.5, 1.25 
       pigment
       {   
         //  color rgb Tan
           
         
       
           image_map { png "Solarsystemscope_texture_2k_saturn_ring_alpha.png" 
               map_type 0
               interpolate 4}
               scale 5  
          
            warp { cylindrical orientation x dist_exp 0 } 
       
       }
             
       finish {
    //   diffuse 1
   //     ambient 0.1
     //  reflection 1
       }      
             
  //     rotate y*-75    
  //     rotate x*-13   

}

          */
 


#declare CloudsLayer2=object {                                              
    sphere{ 0, 1.00001 }
           
     texture {
       pigment {
           granite 
           scale 30 
           turbulence 0.4
           pigment_map {
               [0 rgbt <0,0,0,1>] 
                [0.97 rgbt <1,1,1,0>*1]
               [1 rgbt <1,1,1,0>*1]
               }   
            
           }   
  //   }  
           
               

/*

      texture {        
       pigment {


          image_map {      
          jpeg "n_amer_clouds_8k.jpg"
         //    png "out_000190.png"
            /// png "Gas Giant-EQUIRECTANGULAR-1-1024x512.png"
           // jpeg "./endor.jpg"
            
            map_type 1  
            interpolate 4  
               transmit all 0.7
            }
       }   
 */      
      
      
       finish {
        //  ambient 1  
     //   reflection 1
          
       }
      
      
       }
      


}       



  1. declare Darkening1 =

sphere {

  0, 1.0
  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.0, 0.0, 0.4>/2000}  
            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 <0, 0.5, 0.25>]
            [0.0001 rgb <0, 0.5, 0.25>]
            [0.0001 rgb <0,   1, 0.9>]
            [1      rgb <0,   1, 0.9>]  
            
          }
        }
                
         
      }
    }
  
  }   

}



  1. declare XPlanet1=union

{

   object {
       Planet1
   }   
    
     
  /*
     
         object {
    
      CloudsLayer2
       scale 1.001
   }
       
    */  
    
       object {
    
   
       CloudsLayer1
       scale 1.002
   }
        
    
   /*     
     object {
       Rings1
   }
     */      
    
      
  /*       
     object {
     Darkening1
     scale 1.003
     }
    */       

}


object {
   XPlanet1 
// rotate <30, 0, -45>  
  rotate y*45
//    rotate x*10
   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
current16:51, 8 September 2022Thumbnail for version as of 16:51, 8 September 20228,000 × 6,000 (26.68 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata