File:Ash covered planet 1 r 1.png

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

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

Captions

Captions

Ash covered planet.

Summary

[edit]
Description
English: Ash covered planet . It is caused by volcanit mega-eruption or asteroid impact.
Date
Source Own work
Author Merikanto

POV-Ray 3.7 source code

// // planet, that has covered volcanic or asteroid impact ash // pov-ray 3.7 source code // 30.03.2023 v 0000.0014 //

  1. include "colors.inc"
  2. include "textures.inc"
  3. include "shapes.inc"
  4. include "functions.inc"
 global_settings {
  assumed_gamma 1.5
  noise_generator 2

}

camera {

 location <0,0, -3>
 look_at <0,0,0>

}

light_source {

   <100,100,-100>*1000*1000*100 
   color rgb <1,1,1>

}




  1. declare normal_function= function {

//f_granite (f_wrinkles(x*10,y*10,z*10),y,z)/10*exp(f_agate (x*3,y*3,z*3)/3) )/1 + f_granite (x*3,y*3,z*3)/2

//exp (f_wrinkles(f_granite(x,y,z)*3,y*3,z*3)/2) *f_wrinkles(f_noise3d(x*2,y*2,z*2)*5,y*5,z*5)/4


//+exp( f_granite(x*10,y*10,z*10)/3 )/4 //+exp( f_agate(x*30,y*30,z*30)/3 )/4


//exp(f_granite( f_wrinkles(x,y,z),f_wrinkles(x,y,z),f_wrinkles(x,y,z) )/3)/2+exp(f_granite(x,y,z)/3) /16 +f_granite(x*10,y*10,z*10) /32


//f_crackle(x*f_agate(x*3,y*3,z*3),y*f_granite(x*3,y*3,z*3),z*f_wrinkles(x*3,y*3,z*3))/4

//+ exp( f_wrinkles(x*10,y*10,z*10)/8)/4

//+ f_crackle(f_granite(x*10,y*10,z*10),y*10,z*10)/16 + f_agate(x*30,y*30,z*30)/32 //+ f_crackle(x*f_granite(x*4,y*4,z*4),y*f_granite(x*5,y*5,z*5),z*f_granite(x*6,y*6,z*6))/64 //+ exp(f_granite(x*30,y*30,z*30)/64) + exp( f_wrinkles(x*200,y*200,z*200)/128 )

f_wrinkles(x,y,z)

}


  1. declare lava1= color_map{

[0.000 color rgb <0,0,0>]

       [0.3 color rgb <.3,.3,.3>]
       [0.7 color rgb <1,0,0*1.5>]

[1.000 color rgb <1,1/2,0>*5] }


#declare lava2=  color_map{ 

[0.000 color rgb <1,1/2,0>*5]

      [0.3 color rgb <1,0,0*1.5>]
       [0.7 color rgb <.3,.3,.3>]
       [1.000 color rgb <0,0,0>]  

}


#declare planet1=  color_map{ 

[0.00 color rgb <1,0.7,0.4>*0.8]

       [0.40 color rgb <0,0,0.1>]  

}

sphere { <0, 0, 0>, 1 // rotate <0,0,180> pigment{

// color rgb <1,0.7,0.4>*0.8 function {normal_function(x,y,z) }

 color_map {planet1}

// turbulence 0.1 scale 1

   }

normal { //granite

 function {normal_function(x,y,z)}

-1 //turbulence 0.2 scale 2 }

finish {

ambient 0.1 }

}

  1. declare haze1= sphere {
0,1

pigment { wrinkles turbulence 1

 scale 1/2

color_map {

  [0 color rgbt 1]
[1 color rgbt 0]

}

}

scale 1.02 }


  1. declare clouds1= sphere {
0,1

pigment { //granite

 wrinkles

turbulence 1

 scale 1/4

color_map {

  [0 color rgbt 1] 
[0.3 color rgbt 1]
[1 color rgb 1]

}

}

scale 1.01 }

  1. declare atm1=sphere {0,1
  pigment { rgbt 1 } hollow
  interior
  { media
    { scattering { 1, 10*<1,1,1> extinction 0.0 }
      samples 10,20  
     
     density {  
// crackle   

wrinkles // granite turbulence 1 scale 0.01 //agate

// granite   

//spherical

  color_map {
       [0, color rgb <1,1,1>]
       [0.7, color rgbt 1] 
       [1, color rgbt 1]
       }
       }
    }
  }

scale 1.04 }


  1. declare atm2=sphere {0,1
  pigment { rgbt 1 } hollow
  interior
  { media
    { scattering { 4, 40*<1/2,1/2,3/4> extinction 0.1 }
      samples 10,20  
     
     density {
  

spherical

  color_map {
       [0, color rgb 0]
       [0.1, color rgb 0.3] 
       [1, color rgb 1]
       }
       }
    }
  }

scale 1.04 }

object { haze1 } object { clouds1} //object {atm1} object {atm2}

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
current12:36, 12 April 2023Thumbnail for version as of 12:36, 12 April 20231,600 × 1,200 (417 KB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata