File:Evaporating planet 4 1 1 1 1.png

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

Original file(3,200 × 2,400 pixels, file size: 1.98 MB, MIME type: image/png)

Captions

Captions

Evaporating planet

Summary

[edit]
Description
English: Planet that evaporates its atmosphere and other volatiles, maybe becoming rocky planets
Date
Source Own work
Author Merikanto

POV-Ray 3.8 source code

//////////////////////////////////
//
// puffy planet
// POV-Ray 3.8 source code
//
// 11.3.2024 0000.0000
//
//////////////////////////////////



#include "functions.inc"
#include "rand.inc"

#declare seed1= seed(2531);
  1. declare seed2= seed(3736);
  2. declare seed3= seed(123412);


// global_settings { assumed_gamma 1 }

// background { rgb <1,1,0>/2 }

camera { location <0,0,-30> look_at 0 angle 12
  rotate z*45
 }

// camera { location <0,10,-7> look_at <0,0,-7> angle 32 }


light_source { <0,0,0>, 1 }
sky_sphere {

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


 
pigment {
 wrinkles
 scale 1/3
 
 color_map {
 
 [0 color rgbt <0,0,0,1>] 
// [0.4 color rgbt <0,0,0,1>]

// [0.4 color rgbt <1,0,0,1>]

 [1 color rgbt <1,0,0,0>]
 
 }
}


}
  1. declare kroma1= object {
difference {
 sphere 
{
 0,1.01
}
sphere 
{
 0,1.0001 
}
}

pigment { rgbt <1,1,1,1> } hollow
  interior
  { media
    { 
    method 2
    intervals 1
    samples 10,20
   emission <1,1/2,0>*10
    absorption <0.5,1,1>*30
 // scattering {2, <0,1,1>*1}
      density
      
      { 
      
      //spherical 
      function { -sqrt(x*x+y*y+z*z) }
      poly_wave 3/1
      density_map
        { [0 rgb 1]
          [1 rgb 1]
        }
      }
    }
 }

scale 1.0

}

  1. declare covid1= sphere
{ 0,1 

pigment { rgbt <1,1,1,1> } hollow
  interior
  { media
    { 
    method 3
    intervals 2
    samples 10,20
    emission 2
      density
      
      { 
      
      //spherical 
      //function { -sqrt(x*x+y*y+z*z)}
       
       function { 
     //  pow(-sqrt(x*x+y*y+z*z),3)
       
       (
       pow( 1*sqrt(1*(x*x+y*y+z*z)),-6 )   * pow( f_granite( atan2(x+f_wrinkles(x,y,z),y+f_granite(x,y,z)*0.2), 1,1),2)  *0.5+   pow( 1*sqrt(1*(x*x+y*y+z*z)),-6 )*0.2
        )*100  
                       
       }
      scale 1/4
  //    poly_wave 3/1
      density_map
        { [0 rgbt <0,0,0,1>]
          [1 rgbt <1,1/2,0,0>]
        }
      }
    }
 }
}



#declare sun0= sphere {
0,1

pigment {
   bozo scale 0.5
   pigment_map { [ 0

crackle scale 1/10 turbulence 0.5 color_map { [0 color rgbt <1,0.5,0>] [0.5 color rgbt <1,0.75,0>] [1 color rgbt <1,1,0>] } ]

[ 0.8

crackle scale 1/10 turbulence 0.5 color_map { [0 color rgbt <1,0.5,0>] [0.5 color rgbt <1,0.75,0>] [1 color rgbt <1,1,0>] } ]

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

}

}

finish {ambient 1}

}
  1. declare matar2=media {
emission 1

// absorption 1


      density
      { 
      
    //  spherical 
      function {

1*f_spherical(x*4+2,y*2,z*2)

 *f_wrinkles(x*10,y*10,z*10)
 
      }
      
      
      density_map
        { [0 rgb 0]
          [1 rgb 2*<0.3,0.3,1>]
        }
   //  scale 0.7
   scale x
    }

}

  1. declare metia1=media {
emission 1
      density
      { 
      
    //  spherical 
      function {


//f_cylindrical(y,x*20,z) (

 ( f_spherical(x/2+0.8,y*2,z)*f_spherical(x-0.2,y,z))
 *f_wrinkles(x*20,y*20,z*20)
 *f_granite(x/2,y,z)
   *8
)
*f_spherical(x*1.5,y*1.5,z*1.5)

//*f_wrinkles(x*20,y*20,z*20) 
 
      }
      
      
      density_map
        { [0 rgb 0]
          [1 rgb 2*<0.3,0.3,1>]
        }
   //  scale 0.7
    }

}

  1. declare vok1= object {

sphere { 0,1 }

pigment { rgbt 1 } hollow
  interior
  { 
  
  media {metia1}
   media {matar2}
 }

}
  1. declare rings1= object {

//torus{ 1.0,0.3 scale <1,1,1> disc { 0,<0,1,0>, 2.5, 1.5

      texture{ pigment{ 
      //color rgb<1,0.65,0>

//onion function { f_granite(sqrt(x*x+y*y+z*z),1,1)

} //sine_wave scale 1/3 color_map { [0 color rgbt <0,0,0,0> ] [1 color rgbt <1,1,1,0> ] }

      }
               finish { phong 0 diffuse 0.5 }
             }   
      scale <1.5,0.1,1.5>
      rotate<0,0,0> 
      translate<0,0,0>
    }      }
  1. declare planet1=object{

sphere {0,1} //pigment {color rgb <0.8,0.5,1>} pigment {

//gradient y
function { f_wrinkles(y*3,1,1)}

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

}

union {

object {sun0 scale 0.5}
object {covid1 } 
object {kroma1 scale 0.5}

scale 2

translate x*1

}

union {

object {planet1 scale 0.3}

//object {rings1 scale 3}

object {vok1 rotate z*180 scale x*1 scale y/2 scale z/2 scale 3

translate x*-3/2 }

translate z*-7 }

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
current09:54, 11 March 2024Thumbnail for version as of 09:54, 11 March 20243,200 × 2,400 (1.98 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata