File:Ringed gas giant planet 3.png

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

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

Captions

Captions

Ringed gas giant planet

Summary

[edit]
Description
English: Artist impression of ringed gas giant planet.
Date
Source Own work
Author Merikanto

POV-Ray 3.7 source code

/////////////////////////////////////// // // gaseous giant ringed planet // pov-ray 3.7 source code // // // 23.9.2023 0000.0000 // /////////////////////////

  1. include "functions.inc"

camera { location <0,0,-40> look_at 0 angle 8 }

light_source { <1/2,0,-1>*1000*1000*1000*1000 color rgb <1,1,1>*1.2

}


  1. default {
   texture {
    pigment { rgb <0,0,0> }
    normal { bumps 0.0 }
    finish { ambient 0.0 }
  }

}

  1. declare planetball1= object {

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

pigment {

// wood //onion // gradient y //

function {

//(sin(exp(abs(y))*pi)+1)/2

// (sin(y*pi*3)+1)/2 //1*f_granite(0,y,0) //*f_agate(0,y,0) 1 *f_wrinkles(0,abs(y),0) }

//rotate x*90  

// sine_wave scallop_wave

  frequency 3

//scale 1/2 scale 5

warp {
turbulence 0.3
}       

scale 1/5

scale 30
warp {
turbulence 0.5
}       

scale 1/30

color_map { // [0 color rgb <1/2,1/2,1>*0.9] // [1 color rgb <0.9,0.9,1>]

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

//   [1 color rgb <0.9,0.9,1>]
   // saturn set
//   [0 color rgb <0.92, 0.79, 0.51>*1.1 ]       
 
 //     [1 color rgb <0.77, 0.64, 0.45>*1.1]
 
 // some jupiter colors

//[0 rgb <0.91, 0.65, 0.45>] //[1 rgb <1.00, 0.99, 0.94>]


// jupiter+saturn combine



//[1/4 rgb <1.00, 0.99, 0.94>*1.1]

        [1/4 color rgb <0.92, 0.79, 0.51>*1 ] 
             [2/4 rgb <0.91, 0.65, 0.45>*1.1]
       [4/4 color rgb <0.77, 0.64, 0.45>*1.1]
}

//warp {turbulence y*0.01}


} }

finish {ambient 0 diffuse 0.75  phong 0.05 specular 0.1 }

}


  1. declare ring0= object {

disc {0,<0,1,0>,2.6, 1.3 }

texture {

   pigment {

// function {f_waves(sqrt(x*x+z*z)*10,f_granite(sqrt(x*x+z*z),0,0),0) }

 //   function {f_waves(sqrt(x*x+z*z),0,0)*10 }
 //    function {f_waves(sqrt(x*x+z*z)*10,0,0)*f_waves(sqrt(x*x+z*z),0,0)*10  }
  //     function {f_waves(sqrt(x*x+z*z)*10,0,0)*f_waves(sqrt(x*x+z*z),f_granite(sqrt(x*x+z*z) ,sqrt(x*x+z*z),sqrt(x*x+z*z)),0)*5  }
 

// function {f_granite(f_spherical(x,y,z),f_spherical(x,y,z)*10,f_spherical(x,y,z)*10) }

    //   function {f_granite(sqrt(x*x+z*z),1,2) } 
       
        //    function {f_wrinkles(sqrt(x*x+z*z),1,2)*1 } 
       
  //   function {f_agate(sqrt(x*x+z*z)/3,1,2)*10 *f_wrinkles(sqrt(x*x+z*z)*10,1,2)} 
 //  function {f_agate(sqrt(x*x+z*z)/3,1,2)*f_granite(sqrt(x*x+z*z),1,2) } 
 function {f_agate(sqrt(x*x+z*z)*4,1,2)*f_wrinkles(sqrt(x*x+z*z)*5,1,2)*f_granite(sqrt(x*x+z*z)*4,1,2) }      
   color_map {
       [0 color rgb <1,1,1,0.4>] 
  //  [0.3 color rgb <1,1,1,1>]
       [1 color rgb <1,1,1,1>]
       }
   }

}

finish {refraction 0.8 ambient 0 brilliance 1/1000  diffuse 0.7  phong 0.6 specular 0.6 }

}

union { object {planetball1 }

object {ring0}

 rotate x*-30

rotate z*40 rotate y*-6 }


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
current10:44, 23 September 2023Thumbnail for version as of 10:44, 23 September 20231,600 × 1,200 (511 KB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata