File:Carbon rich planet povray 6 r 1.png
Original file (1,600 × 1,200 pixels, file size: 1.42 MB, MIME type: image/png)
Captions
Summary[edit]
DescriptionCarbon rich planet povray 6 r 1.png |
English: Carbon rich planet |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray 3.7
<povray>
// // carbon rich planet // pov-ray 3.7 source code // 20.03.2023 v 0000.0003 //
- include "colors.inc"
- include "textures.inc"
- include "shapes.inc"
- include "functions.inc"
- declare planetsize=1000;
camera {
location <0,0,-1000*8> look_at <0,0,0> angle 24
}
light_source {
<4,0, -10>*1000*1000*150 color rgb <1,1,1>*1
}
sky_sphere {
pigment { bozo scale 0.001 color_map { [0 color rgb 0] [0.8 color rgb 0] [1 color rgb 1] } rotate z*45 }
pigment { bozo scale 0.0001 color_map { [0 color rgb 0 transmit 1] [0.8 color rgb 0 transmit 1] [1 color rgb 1 transmit 0] } } rotate z*80
}
#declare blacker1 = pigment {
wrinkles turbulence 0.2
pigment_map {
[0 color Black] [ 0.5 color <1,1,1>/20 ] [1 color <1,1,1>/60]
}
}
#declare browner1 = pigment {
wrinkles turbulence 0.2
pigment_map {
[0 color LightWood] [ 0.5 Copper ] [1 Brown]
}
}
- declare funk1= function {
//f_wrinkles(x,y,z) /2+ f_wrinkles(x*3,y*3,z*3)/4 + f_wrinkles(x*10,y*10,z*10)/8 + f_wrinkles(x*30,y*30,z*30)/16 + f_wrinkles(x*100,y*100,z*100)/32 + f_wrinkles(x*300,y*300,z*300)/64
// f_hetero_mf(x,y,z, 0.9, 1.7,16, 0.5, 0.9, 3 ) * f_hetero_mf(x*10,y*10,z*10, 0.9, 1.7,16, 0.5, 0.9, 3 ) *f_wrinkles(x*300,y*300,z*300)
//f_ridge(x*100,y*100,z*100,0, 16, 0.0, 3, 1, 1)*0.5
//* f_ridged_mf(x/10000, y/10000, z/10000, 0.5, 4, 13, 3, 5, 2)
//pow( f_hetero_mf(x,y,z, 0.9, 1.7,16, 0.5, 0.9, 3 ),-3) /
//max(pow( f_hetero_mf(x,y,z, 0.9, 1.7,16, 0.5, 0.9, 3 )/1000,3),1)
// pow( ( f_hetero_mf(x,y,z, 0.9, 1.7,60, 0.5, 0.9, 3 )),3) /10
//* f_ridged_mf(x/10000, y/10000, z/10000, 0.5, 4, 13, 3, 5, 2)/10
exp( f_agate(x,y,z)*exp(f_granite(x,y,z)))
- exp( f_agate(x*3,y*3,z*3)*exp(f_granite(x*3,y*3,z*3)))
* exp( f_agate(x*30,y*30,z*30)*exp(f_granite(x*30,y*30,z*30))) * exp( f_agate(x*300,y*300,z*300)*exp(f_granite(x*300,y*300,z*300))) * exp( f_agate(x*3000,y*3000,z*3000)*exp(f_granite(x*3000,y*3000,z*3000)))
/300
}
- declare carbon_tex_1 = texture {
pigment {
//wrinkles // granite // bozo //scale 1 // agate function {
funk1(x,y,z)
}
// granite // wrinkles // scale 2 // turbulence 0.1
pigment_map {
[0 blacker1] [ 0.5 blacker1 ] [1 browner1]
}
}
normal { function
{
funk1(x,y,z)*0.1
} // wrinkles 1 // bozo
// agate 1
// granite .1 scale 1
// wrinkles 1 // scale 2 // turbulence 0.1 }
finish { ambient 0
}
}
#declare icecaps_1 = pigment { gradient y scale 2 turbulence 0.00 translate y*1 pigment_map {
[0 wrinkles scale 0.1 color_map { [0 color rgbt <1,1,1,0>*2 ] [0.5 color rgbt <1,1,1,0>*1 ] [1 color rgbt <1,0,0,1> ]
}
]
[1.5/10 color rgbt <0,0,0,1> ] [5/10 color rgbt <0,0,0,1> ] [9/10 color rgbt <0,0,0,1> ] [1 granite scale 0.1 color_map { [0 color rgbt <0,0,0,1> ] [1 color rgbt <1,1,1,1> ] } ]
}
}
#declare carbon_tex_2= texture { pigment {icecaps_1} finish {ambient 0}
}
#declare cloudcolor1=rgb <0.56, 0.55, 0.60>;
#declare cloudtex_2= pigment {
// agate //granite //scale 100
wrinkles // bozo // turbulence 1.1 turbulence 1.5 octaves 60 omega 0.65 lambda 2
color_map { [0.0 0.05 color rgbt cloudcolor1 color rgbt <.75, .75, .75, .7>] [0.05 0.4 color rgbt <.75, .75, .75, .7> color rgbt <1, 1, 1, 1>] [0.4 1.0 color rgbt <1, 1, 1, 1> color rgbt <1, 1, 1, 1>] }
}
#declare clouds_1= sphere { <0, 0, 0>, 1 hollow on pigment { wrinkles turbulence 2 octaves 60 omega 0.7 lambda 2 color_map { [0.0 0.05 color rgbt cloudcolor1 color rgbt <.75, .75, .75, .7>] [0.05 0.4 color rgbt <.75, .75, .75, .7> color rgbt <1, 1, 1, 1>] [0.4 1.0 color rgbt <1, 1, 1, 1> color rgbt <1, 1, 1, 1>] }
scale 1 } finish { ambient 0 diffuse 1.0 reflection 0 } }
#declare clouds_2= sphere { <0, 0, 0>, 1.002 hollow on pigment { gradient y turbulence 1.3 scale 2 translate y*1
pigment_map {
[0 cloudtex_2 scale 1/4 ] // [0.25 color Clear ] // [0.5 cloudtex_1 scale 600 ] // [0.75 color Clear ] // [1 cloudtex_1 scale 1200 ]
} }
finish { ambient 0 diffuse 1.0 reflection 0 } }
#declare halo_2=sphere { 0,1 pigment { rgbt 1 } hollow interior { media {
// emission 1/10000*<182,192,201>/256
// absorption 1/10000 scattering {4,1/50*<0.5,0.75,1> } density {
function { // exp(1/(sqrt(x*x+y*y+z*z)) ) 2* (1/(pow(sqrt(x*x+y*y+z*z),.75)))
// * f_granite(x,y,z)
}
density_map { [0 rgbt <0,0,0,1>] [0.05 rgbt <0.5,0.6,0.7,0.5>] [1 rgbt <0.5,0.6,0.7,0>] } }
}
}
scale 1.005 }
- declare carbon_planet=union {
object { //sphere {0,1} isosurface {
function { f_sphere(x,y,z,1)
// if you wanna isosurface objecr, very sloooow ...
//+funk1(x,y,z)*0.01 }
contained_by { sphere {0,2} } threshold 0.0 accuracy 0.001 max_gradient 1.1
}
texture { carbon_tex_1}
texture { carbon_tex_2}
finish {ambient 0}
}
// object {clouds_1 scale 1.001}
object {clouds_2 scale 1.002}
object {halo_2}
scale planetsize
}
object { carbon_planet
rotate <1,2,3>
}
</povray>
Licensing[edit]
- 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 | 07:06, 29 March 2023 | 1,600 × 1,200 (1.42 MB) | 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 | 07:02, 29 March 2023 |
Software used |