File:Terraplan9.png

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

Captions

Captions

Terrestric planet, habitable.

Summary edit

Description
English: Terrestric planet, habitable.
Date
Source Own work
Author Merikanto

Addditional information edit

This image is based on HPlanet souce code, by Michael Horvath.


Source of basic code is Michale Horvatsh HPlanet

Github https://github.com/mjhorvath/POVRay-Object-Collection/tree/main/HabitablePlanet

https://isometricland.net/blog/pov-ray-projects/

https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html

This work is licensed under the Creative Commons GNU Lesser General Public License License. To view a copy of this license, visit https://creativecommons.org/licenses/LGPL/2.1/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

// Title: Habitable planet texture include v0.50 // Author: Michael Horvath // Homepage: http://www.geocities.com/Area51/Quadrant/3864/povray.htm // Created: 2008-02-07 // Last Updated: 2008-11-07 // This file is licensed under the terms of the CC-LGPL. // +KFI0 +KFF15 +KC // +k0.5


POV-Ray src

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


default { finish { ambient 0.000002 diffuse 0.4 } }

camera {

   location <1*100,2*100,0>
   look_at <0,0,0>
   angle 35

}


light_source { <1,1,0>*100000000 color rgb <1,1,1>*2 }


// ## based partially on code in //Source of basic code is Michale Horvatsh HPlanet

//Github //https://github.com/mjhorvath/POVRay-Object-Collection/tree/main/HabitablePlanet

//https://isometricland.net/blog/pov-ray-projects/

//https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html

//?This work is licensed under the Creative Commons GNU Lesser General Public //License License. To view a copy of this license, visit //#http://creativecommons.org/licenses/LGPL/2.1/ or send a letter to Creative //Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

// Title: Habitable planet texture include v0.50 // Author: Michael Horvath // Homepage: http://www.geocities.com/Area51/Quadrant/3864/povray.htm // Created: 2008-02-07 // Last Updated: 2008-11-07 // This file is licensed under the terms of the CC-LGPL. // +KFI0 +KFF15 +KC // +k0.5


  1. declare HPlanet_Seed_Value = seed(1234512345);
  1. local HPlanet_Crackle_pigment = pigment

{ crackle form <1,0,0> color_map { [0 rgbt 0] [1 rgbt 1] } scale 2 sine_wave }

  1. local HPlanet_Black_pigment = pigment {color rgbt 0}
  1. local HPlanet_Granite_pigment = pigment

{ granite // poly_wave 2 color_map { [0 rgbt 0] [1 rgbt 1] } scale 10 scale .5 warp { turbulence .75 lambda 3 } scale .5 }

  1. local HPlanet_Altitude_function = function

{ pigment { HPlanet_Crackle_pigment #local HPlanet_WarpCount = 0; #local HPlanet_WarpTotal = 512; #while (HPlanet_WarpCount < HPlanet_WarpTotal) warp { black_hole VRand_On_Sphere(HPlanet_Seed_Value), Rand_Beta(1,6,HPlanet_Seed_Value)

falloff 3/6 strength 3/6 inverse } #local HPlanet_WarpCount = HPlanet_WarpCount + 1; #end warp { turbulence 1/8 //.125 lambda 3 //3 // octaves 20 // omega SetOmega } pigment_map { [0 HPlanet_Black_pigment] [1 HPlanet_Granite_pigment] } } }

  1. local HPlanet_Altitude_function_b = function

{ pigment { function {HPlanet_Altitude_function(x,y,z).transmit} color_map { [0 rgbt 0] [1 rgbt 1] } #local HPlanet_WarpCount = 0; #local HPlanet_WarpTotal = 1024; #while (HPlanet_WarpCount < HPlanet_WarpTotal) warp { black_hole VRand_On_Sphere(HPlanet_Seed_Value), Rand_Beta(1,12,HPlanet_Seed_Value) falloff 6/6 strength 6/6 inverse } #local HPlanet_WarpCount = HPlanet_WarpCount + 1; #end } }




#declare wrinkles1=function {
 
 pigment {
wrinkles    
octaves 16  
turbulence 0.1

}

}


 #declare granite1=function {
 
 pigment {
//  wrinkles
          
          
granite    
 turbulence 0.1
 octaves 16
// agate
  sine_wave
}

}

  #declare agate1=function {
 
 pigment {

//granite 
  agate    
   octaves 16 
    turbulence 0.1
  sine_wave
}

}

 
  1. declare altitude1=function {
   // max(
 //  exp( 
    max( HPlanet_Altitude_function(x,y,z).gray,
    +agate1(x*1,y*1,z*1).gray*0.05   
   //  +wrinkles1(x*100,y*100,z*100).gray*0.1
   //  +wrinkles1(x*1000,y*1000,z*1000).gray*0.05
      +agate1(x*3000,y*3000,z*3000).gray*0.025   
    
     
     ,.18) 
   
   
  
   
     
     
     

}


  1. declare planet1= object {
 sphere {0,1}
  
 texture {
 
 pigment {  

// granite

  function 
  {
      altitude1(x,y,z)
  }
 
   
  color_map {
     //  [0 color rgbft <0.07, 0.45, 0.8, 0.1, 0.75>] 
      //   [0.19 color rgbft <0.07, 0.45, 0.8, 0.1, 0.75>] 
          [0.0 color rgb<0,0.1,0.5>]  
           
            [0.18 color rgb<0,0.1,0.5>] 
           [0.19 color rgb<0,0.5,0.5>] 
        
            [0.19 color rgb  <0.17, 0.28, 0.10> ]  
          [0.2 color rgb <0.17, 0.28, 0.10>]
           [0.3 color rgb <0.28, 0.36, 0.11>] 
       [1 color rgb <0.52, 0.44, 0.33>*2]  
   //      [10 color rgb <0.52, 0.44, 0.33>*2]  
  }
   
   
   
     /*
      color_map {
           [0 color rgb <0.52, 0.44, 0.33>]
        [1 color rgb <0.96, 0.77, 0.52>]
      }
   
       */
 }
   
   normal { 
   
         function 
           {
           altitude1(x,y,z)
           }
           
           bump_size 1
   
   }
   
  finish {
  //  ambient 1
  }
 
 } 
 
 scale 45

}


  1. declare Media_Intensity=0.15*10;
  2. declare Media_Emission=0.065*10;
  3. declare Media_Eccentricity=0.56;
  4. declare Earth_Radius=45;
  5. declare Atmosphere_Top=1;
  1. declare Density1=
 density {
   spherical
   poly_wave 3
   color_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 ]
     [ (Earth_Radius+0.001)/(Earth_Radius+Atmosphere_Top) rgb <0.0, 0.0, 0.0> ]
   }
 }


  1. declare Mat_Atm =
 material {
   texture {
     pigment {
       color rgbt <1.0, 1.0, 1.0, 1.0>
     }
   }
   interior {
     media {
       method 3
       scattering { 5 color rgb 0.01*Media_Intensity eccentricity Media_Eccentricity }
       emission rgb Media_Emission*0.01*Media_Intensity
       density {
         Density1
       }
     }
   }
 }


  1. declare atmos1=difference {
 sphere {
   <0,0,0>, 1
 }
 sphere { 
   <0,0,0>, 1
   scale (Earth_Radius+0.001)/(Earth_Radius+Atmosphere_Top)
 }
 material { Mat_Atm }
 scale Earth_Radius+Atmosphere_Top
 hollow on

}




  1. declare cloud_area_1=
    pigment {
      
      
          
    granite 
    turbulence  1
    scale 1
      
      pigment_map {
  
      [0.0 color rgbt Clear ] 
       
      [0.3 color rgbt Clear ] 
            
      [0.4  granite scale 0.05
                  turbulence 2
               color_map {
                   [0 rgbf <1,1,1,1>]    
                   [0.7 rgbf <1,1,1,1>]
                   [1 rgbf <1,1,1,0>]
               } 
      
      ] 
  
      
      [0.5  granite scale 0.1
                  turbulence 5
               color_map {
                   [0 rgbf <1,1,1,1>]    
                   [0.4 rgbf <1,1,1,1>]
                   [1 rgbf <1,1,1,0>]
               } 
      
      ]   
         
      
      [1.0 color rgb White ] 
         
      
      
      }   
          
          
 
 } // pig


#declare cloud_area_2=
    pigment {
      
      
          
    //granite 
      bozo
    turbulence  1
    scale 200
      
      pigment_map {
  
      [0.0 color rgbt Clear ] 
       
      [0.3 color rgbt Clear ] 
            
      [0.4  granite scale 0.05
                  turbulence 2
               color_map {
                   [0 rgbf <1,1,1,1>]    
                   [0.7 rgbf <1,1,1,1>]
                   [1 rgbf <1,1,1,0>]
               } 
      
      ] 
  
      
      [0.5  granite scale 0.1
                  turbulence 5
               color_map {
                   [0 rgbf <1,1,1,1>]    
                   [0.4 rgbf <1,1,1,1>]
                   [1 rgbf <1,1,1,0>]
               } 
      
      ]   
         
      
      [1.0 color rgb White ] 
         
      
      
      }   
          
          
 
 } // pig


 
  1. declare cloud_area_1=
    pigment {
      
      
          
    granite 
    turbulence  1
    scale 1
      
      pigment_map {
  
      [0.0 color rgbt Clear ] 
       
      [0.3 color rgbt Clear ] 
            
      [0.4  granite scale 0.05
                  turbulence 2
               color_map {
                   [0 rgbf <1,1,1,1>]    
                   [0.7 rgbf <1,1,1,1>]
                   [1 rgbf <1,1,1,0>]
               } 
      
      ] 
  
      
      [0.5  granite scale 0.1
                  turbulence 5
               color_map {
                   [0 rgbf <1,1,1,1>]    
                   [0.4 rgbf <1,1,1,1>]
                   [1 rgbf <1,1,1,0>]
               } 
      
      ]   
         
      
      [1.0 color rgb White ] 
         
      
      
      }   
          
          
 
 } // pig


#declare cloud_area_2=
    pigment {
      
      
          
    //granite 
      bozo
    turbulence  1
    scale 200
      
      pigment_map {
  
      [0.0 color rgbt Clear ] 
       
      [0.3 color rgbt Clear ] 
            
      [0.4  granite scale 0.05
                  turbulence 2
               color_map {
                   [0 rgbf <1,1,1,1>]    
                   [0.7 rgbf <1,1,1,1>]
                   [1 rgbf <1,1,1,0>]
               } 
      
      ] 
  
      
      [0.5  granite scale 0.1
                  turbulence 5
               color_map {
                   [0 rgbf <1,1,1,1>]    
                   [0.4 rgbf <1,1,1,1>]
                   [1 rgbf <1,1,1,0>]
               } 
      
      ]   
         
      
      [1.0 color rgb White ] 
         
      
      
      }   
          
          
 
 } // pig    
 
  
 
#declare clouds1= object {
   sphere {
           0,(1+0.01) 
           }
        
 texture { 
         
         gradient y  
         turbulence 0.5
         octaves 60
        
        texture_map { 
           [0.0 pigment {cloud_area_2} finish {brilliance 0.4 diffuse 0.6} scale 0.5 ]
           [0.5 pigment {cloud_area_1}  finish {brilliance 0.4 diffuse 0.6} scale 0.5 ]         
           [1.0 pigment {cloud_area_2} finish {brilliance 0.4 diffuse 0.6} scale 0.5 ]
        
        }
                     
        scale 2             
        translate x*1
      //  scale 2   
     

   }
    
    
  scale  45

}




object {atmos1}

object {clouds1 rotate y*180 }

object {planet1 rotate y*90 }





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
current13:27, 19 September 2022Thumbnail for version as of 13:27, 19 September 20222,400 × 1,800 (3.04 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata