File:Ringed gas giant planet 2.png

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

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

Captions

Captions

Gas giant planet that has quite faint rings

Summary

[edit]
Description
English: Gas giant planet that has quite faint rings. Not Saturn.
Date
Source Own work
Author Merikanto

//       
// pov-ray 3.8 source code
//
// ringed gas giant planet, yellowish , quite faint rings
// not Saturn
//
// 23.9.2023 v 0000.0004x
//
  1. include "functions.inc"


default { finish { ambient 0.000002 diffuse 0.7 } }    
 

camera {

 location  <0,0,-1>*25*1
 angle 16
look_at 0

}


light_source {

<-3,1,-5>*1000*1000*1000*1000

//color rgb <1.00, 0.71, 0.42>*1.5 //color rgb <1.00, 0.80, 0.44>*1.6 //color rgb <1.00, 0.93, 0.89>*1.6

//  color rgb 2
 color rgb 1.2

}



  1. declare aplanet1= object {

sphere {0,1}

texture {

   pigment {

// marble

 function {f_marble(y,x,z)*0.5+f_wrinkles(x*0,y*10,z*0)*0.5} 
//    function {f_marble(y,x,z)*-f_wrinkles(x*0,y*3,z*0)*1.0} 
 
   // function {cos(abs(y*(pi*2)))*max(exp(-abs(y)),1)   }     
    //   function {cos(abs(y*(pi/4)))*-f_wrinkles(x*2,abs(y*2)*3,z*0)*1.0 *max(exp(-abs(y)),1)  }   

//scale y/2

      // Saturn style bmap 1
                  
   scale 10
       warp { turbulence 0.2}

scale 0.1

   color_map {
        [0 color rgb <0.63, 0.60, 0.48>*1]
       [0.0001 color rgb <0.77, 0.64, 0.45>*1.5] 
            [1 color rgb <0.92, 0.79, 0.51>*1.5]
   } 

/*

   color_map {
       [0 color rgb <0.56, 0.50, 0.35>*1.5] 
            [1 color rgb <0.69, 0.60, 0.40>*1.5]
   } 
 */

/*

     color_map {
       [0 color rgb <0.69, 0.60, 0.40>*0]
       [1 color rgb <1, 1, 1>*1.5] 
   
   } 
  • /

//color <0,0,1> } }

// white clouds

texture {
    pigment {

// function {max(f_wrinkles(x*2,y*10,z*2),f_wrinkles(x/40,y/40,z/40)) }

  function { min(f_wrinkles(x*4,y*10,z*4), f_wrinkles(x,y*5,z))   } 
   scale 5     
     warp { turbulence 0.2}  
 scale 1/5  
    scale 30     
     warp { turbulence 0.5}  
 scale 1/30  
     scale 100     
     warp { turbulence 0.5}  
 scale 1/100 
 scale 2

        color_map {
       [0 color rgbt <1,1,1,0.3>*2] 
           [1/3 color rgbt <1,1,1,1>] 
       [1 color rgbt <1, 1, 1,1>] 
   
         }
   }

}


// polar haze

  texture {
    pigment {
 
      function {  cos(abs(y*(pi*2)))  }  
 scale 4
        color_map {
       [0 color rgbt <1,1,1,0.2>*1] 

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

}

}


#declare ring01=

disc {

<0,0,0>
<0,0,0.1>
2.6
2.25
texture {
pigment {

// waves waves scale 0.6 //scallop_wave

 sine_wave
color_map{
[0 color rgbt <0.8,0.8,0.8,0>*2]
[1 color rgbt <0,0,0,1>]
}
}
finish {
ambient 0  
diffuse 0.3  
specular 0.3
phong 0.3 
brilliance 0.6
}
scale 0.03

} }

  1. declare ring02=
 disc {
<0,0,0>
<0,0,0.1>
2.2
1.4099
texture {
pigment {
waves
color_map{
[0 color rgbt <1,1,1,0>*1]
[1 color rgbt <0,0,0,1>]
}
}
finish {
ambient 0  
  diffuse 1  
specular 1
phong 1
brilliance 0.3
}
scale 0.03

} }

  1. declare ring03=

disc {

<0,0,0>
<0,0,0.1>

// 2.7 // 2.61

 2.62
2.8  
texture { pigment { rgbt <1,1,1, 0.5> }
finish {
ambient 0  
  diffuse 1 
specular 1
phong 1
brilliance 0.1
}

}


}


  1. declare ring04=
disc {
<0,0,0>
<0,0,0.1>
1.41
1.3
texture { pigment { rgbt <1,1,1, 0>*3 }
finish {
ambient 0  
  diffuse 1  
specular 1
phong 1 
brilliance 0.3
}

}

  }
  1. declare rings1= union

{


object {ring01}
              
object {ring02}

// object {ring03}

object {ring02}
finish {

ambient 0 diffuse 0.8

}

}









  1. declare splanet1= union{
object {aplanet1 rotate x*90}
object {rings1}  

rotate x*90 }



object { splanet1

rotate x*-15 rotate z*60 rotate y*70 }



Old POV-Ray 3.7 source code

//       
// pov-ray 3.8 source code
//
// ringed gas giant planet, yellowish , quite faint rings
// not Saturn
//
// 18.9.2023 v 0000.0003
//
  1. include "functions.inc"


default { finish { ambient 0.000002 diffuse 0.7 } }    
 

camera {

 location  <0,0,-1>*20
 angle 16
look_at 0

}


light_source {

<5,5,-5>*1000000

//color rgb <1.00, 0.71, 0.42>*1.5 //color rgb <1.00, 0.80, 0.44>*1.6 //color rgb <1.00, 0.93, 0.89>*1.6

//  color rgb 2
 color rgb 1.5

}



  1. declare aplanet1= object {

sphere {0,1}

texture {

   pigment {

// marble

 // function {f_marble(y,x,z)*0.5+f_granite(x*0,y*30,z*0)*0.5} 
    function {f_marble(y,x,z)*-f_wrinkles(x*0,y*3,z*0)*1.0} 
        

scale y/2

   color_map {
       [0 color rgb <0.69, 0.60, 0.40>*1.5]
       [1 color rgb <0.56, 0.50, 0.35>*1.5] 
   
   }

//color <0,0,1> } }




}


#declare ring01=

disc {

<0,0,0>
<0,0,0.1>
2.6
2.25
texture {
pigment {
waves
color_map{
[0 color rgb <0.4,0.4,0.4>]
[1 color rgb <0,0,0>]
}
}
finish {
ambient 0
}
scale 0.03

} }

  1. declare ring02=
 disc {
<0,0,0>
<0,0,0.1>
2.2
1.4099
texture {
pigment {
waves
color_map{
[0 color rgbt <0.7,0.7,0.6,0.5>]
[1 color rgbt <0,0,0,1>]
}
}
finish {
ambient 0
}
scale 0.03

} }

  1. declare ring03=

disc {

<0,0,0>
<0,0,0.1>

// 2.7 // 2.61

 2.5
2.8  
texture { pigment { rgbf <0.1,0.1,0.1, 0.95> }}

}


  1. declare ring04=
disc {
<0,0,0>
<0,0,0.1>
1.41
1.3
texture { pigment { rgbf <0.9,0.9,0.8, 0.8> }}
  }
  1. declare rings1= union

{


object {ring01}
              
object {ring02}
object {ring03}
object {ring02}
finish {

ambient 0 diffuse 0.8

}

}


  1. declare splanet1= union{
object {aplanet1 rotate x*90}

object { rings1 } rotate x*90

}


object { splanet1

rotate y*40 rotate x*-20 rotate z*26

}

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
current07:41, 23 September 2023Thumbnail for version as of 07:41, 23 September 20231,600 × 1,200 (502 KB)Merikanto (talk | contribs)Update of layout and code
14:13, 22 September 2023Thumbnail for version as of 14:13, 22 September 20231,600 × 1,200 (308 KB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata