File:Evaporating planet 5 1 1 1 1.png

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

Original file(6,400 × 4,800 pixels, file size: 5.56 MB, MIME type: image/png)

Captions

Captions

Evaporating planet

Summary[edit]

Description
English: Evaporating planet
Date
Source Own work
Author Merikanto

POV-Ray 3.8

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

include "functions.inc"

camera { location <0.0, 0, -50> direction <0.0, 0.0, 1> angle 40 up <0.0, 1.0, 0.0> right <4/3, 0.0, 0.0> look_at <0, 0, 0> }

light_source { <500,0,-1000>*1000 color rgb 1 }

background { color rgb <0,0,0>}

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

scale 3 warp { turbulence 1/3} 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,1,1,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,0>*1
    absorption <0.25,0.75,1>*1
 // scattering {2, <0,1,1>*1}
      density
      
      { 
      
      //spherical 
      function { -sqrt(x*x+y*y+z*z) }
    //  poly_wave 3/1
      density_map
        { [0 rgb 0]
          [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 1/10
      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 <3/4,3/4,1,0>*1/2]
        }
      }
    }
 }
}



#declare sun0= sphere {
0,1

pigment {
   bozo scale 0.5
 // granite scale 10
   pigment_map { 
   [ 0

granite scale 1 turbulence 0.5 color_map { [0 color rgbt <1,1,0>] [0.5 color rgbt <1,0.75,0>] [0.8 color rgbt <1,0,0>] [1 color rgbt <0,0,0>] } ]

[ 0.5

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


}

}

finish {ambient 1}

}
#declare planet1=object {
sphere
{ 0,1.0

// pigment { rgbt <0,0,1,0> }

 pigment { 
 //gradient y
 function {f_wrinkles(y,1,1)}
 sine_wave
 scale 5
 warp {turbulence 0.1}
 scale 1/5
 frequency 2
 color_map {
 [0 rgbt <1,1,1,0> ]
   [1 rgbt <0.7,0.7,1,0> ]
 }
 
 
 } 


}

}

  1. declare ruba1= object {
  isosurface {
   // function { f_torus(x, z, y, 1.6, 0.4)
   // -f_wrinkles(x,y,z)/3 }
   
    
  //  function { sqrt(pow(z*4,2)+pow(y*4,2))+x }
    
      function { sqrt(pow(z*4,2)+pow(y*4,2))+x 
      -f_wrinkles(x,y,z)*6
      }
  
   
   contained_by { box { -3, 3 } } 
     max_gradient 8
   
  }
  
   pigment { color rgb 1}
  
  }


  1. declare tail1=object {

//sphere {0,5}

ovus {1,0.5} scale 5 rotate z*-90 scale x*3

//object { ruba1}

pigment { color rgbt 1 } hollow no_shadow

 interior
  { 
 // media 0, "atmos"
    media
    { 
          // method 2

samples 5,10

emission <0,0.0,1>*4 absorption rgb< 1, 1, 0.0>*1 scattering{ 3, 1-< 1,1,0.0> }


      density
      { 
      
      function {

pow(f_spherical(x*3,y,z),2)*2

* f_wrinkles(x*10,y*10,z*10)

     //	*	f_granite(x*3,y,z)
      }
      
         scale 3
        warp { turbulence 0.1 }
        scale 1/3
      
      
      density_map
        { [0 rgb 0]
          [1 rgb 1*1]
        }
      }
    }

 // media 0, "atmos 2"
    media
    { 
          // method 2

samples 5,10

// emission <0,0.0,1>*4 // absorption rgb< 1, 1, 0.0>*1 // scattering{ 3, 1-< 1,1,0.0> }

emission <0.3,0.3,1>*1.5 scattering{ 3, 1-< 0.9,0.9,0.1> }

       absorption rgb< 0.5, 0.5, 0.1>*1
    
      density
      { 
      
      function {

pow(f_spherical(x+0.2*3,y/1.5,z/1.5),2)*2

* f_wrinkles(x*10,y*10,z*10)

     //	*	f_granite(x*3,y,z)
      }
      
         scale 3
        warp { turbulence <0.2,0.4,0.4> }
        scale 1/3
      
      
      density_map
        { [0 rgb 0]
          [1 rgb 1*1]
        }
      }
    }
 # for (n,1,6)
 // media 1
  
  media
    { 
      // method 2

samples 5,10

emission <0.3,0.3,1>*1.5 scattering{ 3, 1-< 0.9,0.9,0.1> }

       absorption rgb< 0.5, 0.5, 0.1>*1
   
      density
      { 
      
      function {

f_spherical(x+0.4*n,y,z)

// f_wrinkles(x/10,y,z)

     	*	f_granite(x/3,y,z)
      }
      
         scale n*8/3
        warp { turbulence 0.5 }
        scale 1/3
      
      
      density_map
        { [0 rgb 0]
          [1 rgb 1/n]
        }
      }
    }
 
  #end
   
 
 
 } // interior

scale 4 scale x*3 //translate x*-10

}

  1. declare rings1= object {

//torus{ 1.0,0.3 scale <1,1,1> disc { 0,<0,1,0>, 2.0, 1.2

      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,1> ] [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>
    }      }

// rocky planet

  1. declare rocky_planet_1=object {

sphere { <0, 0, 0>, 1 }

//finish { crand 0.015 }

pigment { granite color_map { // [0.0 1.0 color Gray80 color Gray30] [0 color rgb <0.498039, 0.345098, 0.32549 >] [1 color rgb <0.568627, 0.490196, 0.462745>] }

}

normal {

//agate wrinkles scale 1/100 }


}

union {

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

rotate y*170

scale 50

translate z*200

// translate x*1

}

union {

object {planet1} object {tail1} scale 0.3

rotate z*10

translate z*-10 translate y*1 translate x*1

}

union {

object {rings1 rotate z*60}
 object {rocky_planet_1}

scale 1

translate z*-25 translate x*5 translate y*-3 }

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
current11:26, 12 March 2024Thumbnail for version as of 11:26, 12 March 20246,400 × 4,800 (5.56 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata