File:Carbon rich planet povray 5 r 1.png
Original file (1,600 × 1,200 pixels, file size: 905 KB, MIME type: image/png)
Captions
Summary[edit]
DescriptionCarbon rich planet povray 5 r 1.png |
English: Carbon rich planet. |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray 3.7
//
// carbon rich planet
// pov-ray 3.7 source code
// 29.03.2023 v 0000.0001
//
- 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 {
<1,1,-1>*1000*1000*150
color rgb <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 blacker1a = pigment {
wrinkles
turbulence 0.2
pigment_map {
[0 color Black]
[ 0.5 color <1,1,1>/20 ]
[1 color <1,1,1>/30]
}
}
- declare blacker1b = pigment {
wrinkles
turbulence 0.2
pigment_map {
[0 color Black]
[ 0.5 color <1,1,1>/30 ]
[1 color <1,1,1>/40]
}
}
- declare blacker1c = pigment {
wrinkles
turbulence 0.2
pigment_map {
[0 color <1,1,1>/100]
[ 0.5 color <1,1,1>/70 ]
[1 color <1,1,1>/40]
}
}
- declare blacker1 = pigment {
wrinkles
turbulence 0.2
pigment_map {
[0 blacker1c ]
[ 0.5 blacker1b ]
[1 blacker1a ]
}
}
#declare browner1a = pigment {
wrinkles
turbulence 0.2
pigment_map {
[0 color Brown]
[ 0.5 color Brown/2 ]
[1 color Brown/4]
}
}
#declare browner1b = pigment {
wrinkles
turbulence 0.2
pigment_map {
[0 color Brown/4]
[ 0.5 color Brown/6 ]
[1 color Brown/8]
}
}
#declare browner1 = pigment {
wrinkles
turbulence 0.2
pigment_map {
[0 color Brown]
[ 0.5 browner1a ]
[1 browner1b]
}
}
- declare funk1=function {
exp( 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_wrinkles(x*1000,y*1000,z*1000)/128
+ f_wrinkles(x*3000,y*3000,z*3000)/256 + f_wrinkles(x*10000,y*10000,z*10000)/512
) *0.9
}
- declare carbon_tex_2 = texture {
pigment {
// wrinkles
function {
funk1(x,y,z)
}
pigment_map {
[0.2 //color rgb Black
agate
scale 0.1
pigment_map {
[0 color rgb <0.01,0.01,0.01>]
[1 color rgb <0.01,0.01,0.01>]
}
]
[0.6
// granite
wrinkles
scale 0.03
turbulence 1
pigment_map {
[0 color rgb <0.015,0.01,0.01>]
[1 color rgb <0.015,0.01,0.01>*2]
}
]
[1
//color rgb White
wrinkles
turbulence 0.5
scale 1/40
pigment_map {
[0 color rgb Black]
[1 color rgb Brown]
}
]
}
}
normal {
function {funk1(x,y,z)}
// wrinkles 0.1
//scale 0.05
}
finish {
ambient 0
diffuse 0.2
}
}
- declare carbon_tex_1 = texture {
pigment {
wrinkles
turbulence 0.5
pigment_map {
[0 blacker1]
[ 0.5 blacker1 ]
[1 browner1]
}
}
normal
{
granite
normal_map {
// [ 0.0 agate -.2 scale 0.2 ]
[ 0.0 agate
normal_map {
[ 0.0 agate -.2 scale 0.02 ]
[ 0.5 agate -.2 scale 0.02 ]
[1 agate .2 scale 0.02 ]
}
]
[1 granite //scale 0.2
normal_map {
[ 0.0 agate -.2 scale 0.05 ]
[ 0.5 agate -.2 scale 0.05 ]
[1 agate .2 scale 0.05 ]
}
]
}
}
}
- declare Clouds_Colormap_Type1 = colour_map
{
[.3 colour rgbf 1 ]
[.7 colour rgb 1 ]
[1.0001 colour rgbf 1 ]
}
- declare Clouds_Colormap_Type2 = colour_map
{
[0 colour rgbt 1 ]
[0.6 colour rgbt <1,1,1,0.98> ]
[1 colour rgbt <1,1,1,0.99> ]
}
- declare Clouds_Pigment_Type1 = pigment
{
// agate
// granite
wrinkles
// bumps
// function { f_ridged_mf(x, y, z, 0.5, 4, 8, 3, 5, 1) }
scale 10
// octaves 16
// scale 0.01
scale 1
// scale 50
turbulence 3
// omega 0.5
// lambda 0.5
pigment_map {
[ 0.0 color rgbt <1,1,1,.9> ]
[ 0.2 granite turbulence 1 scale 0.1 colour_map {Clouds_Colormap_Type2} ]
[ 0.5 color rgbt <1,1,1,1> ]
[ 1 color rgbt <1,1,1,1> ]
}
warp { turbulence 0 }
// turbulence 1.0
}
- declare Clouds_Texture_Type1 = texture {
pigment {
Clouds_Pigment_Type1
scale 0.2
scale <1, 2/3, 1>
// turbulence 1
}
// turbulence 1
scale 1
}
#declare Clouds1= sphere {
0, 1.002
texture {Clouds_Texture_Type1}
finish { ambient 0.000002 diffuse 0.999 }
}
#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/planetsize*<1,2,3> }
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.02 rgbt <1,1,1,0>]
[1 rgbt <1,1,1,0>]
}
}
}
}
scale 1
}
- declare carbon_planet=union {
object {
sphere {0,1}
texture { carbon_tex_1}
// texture { carbon_tex_2}
}
object {
Clouds1
}
scale planetsize
}
object {
carbon_planet
}
object {halo_2 scale 1.01
scale planetsize
}
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 | 06:46, 29 March 2023 | 1,600 × 1,200 (905 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.
File usage on other wikis
The following other wikis use this file:
- Usage on fi.wikibooks.org
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 | 06:42, 29 March 2023 |
Software used |