File:Giant planet of sudarsky class 2 img 2 1 1 1.png
![File:Giant planet of sudarsky class 2 img 2 1 1 1.png](https://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Giant_planet_of_sudarsky_class_2_img_2_1_1_1.png/800px-Giant_planet_of_sudarsky_class_2_img_2_1_1_1.png?20230921100226)
Original file (1,600 × 1,200 pixels, file size: 465 KB, MIME type: image/png)
Captions
Captions
Summary
editDescriptionGiant planet of sudarsky class 2 img 2 1 1 1.png |
English: Giant planet of sudarsky class . Impression of artist. |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray 3.7 source code
///////////////////////////////
//
// gaseous giant planet
// POV-Ray 3.7 source code
//
// 21.9.2023 0000.0000
//
//////////////////////////////
- include "functions.inc"
- include "colors.inc"
default { finish { ambient 0.000000 diffuse 0.7 } }
camera {
location <0,0,-10>
look_at 0
angle 18
}
light_source {
<0,0,-100>*1e6*150
color rgb <1.00, 0.93, 0.89>*1.5
//color rgb <1.00, 1, 1>*1.4
// color rgb <2.00, 1.5, 1>*0.7
}
- macro pattern1()
//gradient y
// marble
// function {f_marble(x,y,z)*f_wrinkles(x*10,y/40,z*10)}
// function {f_marble(x,y,z)*0.8+f_wrinkles(x*100,y/40,z*100)*0.2}
// function { x}
// function { sin(x)}
// function { (exp(x)) } // og
// function { (exp(sin(x))) } // og
// function { (exp(-x)) }
// function { pow(x,1/2)} // only upper hemisphere
// function { (exp(-x*x)) }
// function { x*x -2 }
// function { sqrt(x*x*x) }
// function{ min(log(x),log(-x) )} // only opper hemisphere
// function{ min(log(x),1 )*min(log(-x),1 ) }
// function{ min(log((x)/3),1 )*min(log(-(x)/3),1 ) } // partly og
// function{ min(log((x*x)/3),1 )*min(log(-(x*x)/3),1 ) } // partly nog
// function{ min(log((x+0.1)/3),1 )*min(log(-(x-0.1)/3),1 ) } // quite og
// function{ tan(x) }
// function{ atan(x*1.2) }
// function{ asin(pow(x,3)) }
// function{ asin( f_agate(x,0,0) ) } // ok
// function{ asin( f_wrinkles(x*3,0,0) ) } // OK OK
// function{ asin( f_granite(x/3,0,0) ) } // OK
// function{ f_granite(x,0,0) } // ok
// function{ f_granite(x,0,0)* f_wrinkles(x,0,0) } // ok
// function{ f_granite(x,0,0)/2+ f_wrinkles(x,0,0)/2 } // ok
// function{ asin( f_wrinkles(sin(x*3),0,0) ) } // OK
// function{ sin(f_wrinkles(f_wrinkles(x*1,0,0)*3,0,0)) } // OK
// function{ f_wrinkles(sin(x),0,0) } // OK
// function{ asin( f_wrinkles(x,0,0) )*1+f_granite(x,0,0)*0.5 } // OK OK
// function{ sin( f_wrinkles(x*3,0,0) ) } // OK OK
function{ x+ f_wrinkles(x*3,0,0) } // OK OK
- end
#macro warps1()
warp { black_hole <0.0, 0.1, -1>, 0.3 turbulence <0.25, 0.25, 0> falloff 2.5 strength 1.5 inverse }
warp {black_hole <0.5,-0.5,-.9>,0.6 strength 5 falloff 4 turbulence <0.25, 0.25, 0> inverse }
- end
- macro modifier1()
frequency 1
octaves 60
//lambda 0.5
//omega 0.5
sine_wave
// scallop_wave
// rotate z*90
scale 8
warp {turbulence 0.35}
scale 1/8
scale 50
warp {turbulence 0.5}
scale 1/50
turbulence 0.15
- end
- declare plantex1=texture {
pigment {
pattern1()
modifier1()
warps1()
scale x/2
pigment_map
{
[0 color rgb 0.85 ]
[1 color rgb 1 ]
}
}
// finish { ambient 0 diffuse 0.8 phong 0.1 specular 0.01}
normal {
pattern1()
bump_size 0.0
modifier1()
warps1()
}
rotate z*90
}
- declare spotex1=texture {
pigment {
// onion
// gradient z
//gradient z
leopard
scale 0.1
scale y/1
rotate y*-30
rotate x*10
pigment_map
{
[0 color rgbt <1,0,0,0> ]
[0.01 color rgbt <1,0,0,0> ]
[0.1 color rgbt <1,1,1,1> ]
[1 color rgbt <1,1,1,1> ]
[10 color rgbt <1,1,1,1> ]
}
}
}
// simulate atmosphere with z gradient
#declare secondtex1=texture {
pigment {
// onion
// gradient z
//gradient z
function { y/2+1/2}
// sine_wave
// leopard
//wrinkles
//scale y/10
pigment_map
{
[0 color rgbt <1,1,1,0.95> ]
[0.8 color rgbt <1,1,1,0.95> ]
[0.9 color rgbt <0,0,0,0.5> ]
[1 color rgbt <0,0,0,0.35> ]
}
}
}
// simulate atmosphere with z gradient
#declare atmtex1=texture {
pigment {
// onion
// gradient z
//gradient z
function { z}
// leopard
//wrinkles
scale y/10
pigment_map
{
[0 color rgbt <1,1,1,0.95> ]
[1 color rgbt <4,4,3.8,0> ]
}
}
}
#declare atm_thickness1 = 0.075;
- declare atm_color1 = rgb <pow(460/650, 4), pow(460/555, 4), 1>;
- declare atm_amount1=2;
- declare atm_samples1=5;
- declare atm1= object
{
difference {
sphere {0, 1.0001+atm_thickness1 }
sphere {0, 1.0001 }
}
hollow no_shadow
pigment {
rgbt 1
}
// finish {
// reflection 0
// }
interior
{ media {
method 3
intervals 3
samples atm_samples1
// emission 0.1
absorption 0
// scattering { 4 color atm_amount1*atm_color1/atm_thickness1 }
// scattering { 4 color atm_amount1*<0.4,0.6,0.8>/atm_thickness1 }
scattering { 5 color atm_amount1*<0.5,0.7,1>/atm_thickness1 eccentricity 0.56 }
density
{
function { 1*exp(-8*(sqrt(x*x+(y)*(y)+z*z)- 1 - 0.00001)/atm_thickness1) }
//spherical density_map
// { [0.00 rgb 0.0]
// [0.1 rgb White*0.1]
// [1 rgb White]
// }
}
}
}
scale 1
}
- declare planeta1= union {
object {
sphere {0,1}
texture {pigment {color rgb <0,0,1>}}
texture {plantex1}
texture {secondtex1}
// texture {spotex1}
// texture {atmtex1} // simulate atmosphere with z gradient
// this is on in certain point of view
// rotate z*90
}
object {atm1}
}
object {planeta1
rotate x*-30
}
Licensing
edit![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![share alike](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
- 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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 10:02, 21 September 2023 | ![]() | 1,600 × 1,200 (465 KB) | Merikanto (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
PNG file comment |
|
---|---|
File change date and time | 09:55, 21 September 2023 |
Software used |