File:Desert planet 3.png
Original file (3,600 × 2,700 pixels, file size: 6.36 MB, MIME type: image/png)
Captions
Summary
[edit]DescriptionDesert planet 3.png |
English: Fictional desert planet |
Date | |
Source | Own work |
Author | Merikanto |
Pov-Ray 3.7 code to render desert planet:
Used resolution 3600x2700
Ini settings:
[3600x2700, AA 0.3]
Width=3600
Height=2700
Antialias=On
Antialias_Threshold=0.3
povray code
// POV-Ray 3.7 souce code of terrestrial planet, quite simple approach.
// desert planet by ridged multifractals
// 0.8.2022 0000.0002
- include "colors.inc"
- include "textures.inc"
- include "functions.inc"
global_settings {
assumed_gamma 1.0
}
default { finish { ambient 0.000002 diffuse 0.7 } }
camera {
location <0,0,-35000>
angle 35
// 4k reso
// up 9*y
// right 16*x
}
light_source { 150000000*<-1, 1, -1> rgb 1 }
- declare Darkening1 =
sphere
{
0, 1.1
hollow
material
{
// texture {pigment {color <1,0,0> } }// koe
texture
{
pigment
{
color rgbt 1
}
}
interior
{
media
{
// scattering { 1, <0.3, 0.3, 1>/500 }
// scattering { 1, <0.1, 0.1, 0.5>/1000}
scattering { 1, <0.4, 0.1, 0.1>/1000}
method 3
density
{
spherical
density_map
{
/*
[0 rgb <0.25, 0.5, 1>]
[0.0001 rgb <0.25, 0.5, 1>]
[0.0001 rgb <0.9, 1, 1>]
[1 rgb <0.9, 1, 1>]
*/
[0 rgb <1, 0.5, 0.25>]
[0.0001 rgb <1, 0.5, 0.25>]
[0.0001 rgb <1, 1, 0.9>]
[1 rgb <1, 1, 0.9>]
}
}
}
}
}
}
- declare Polar1=pigment {
color rgb <1,1,1>*2
}
- declare Desert1=pigment {
// agate
// wrinkles
// granite
// turbulence 1
// bozo
// scale 0.5
// scale 5
// octaves 15
granite
// function { f_ridged_mf(x, y, z, 0.5, 4, 8, 3, 5, 1) }
scale 100
sine_wave
// kasvit 100,100,120
// sine_wave
colour_map
{
[0.0 colour rgb <152, 141, 136>/(256*2) ]
[0.2 colour rgb <216, 137, 105>/(256*1.2) ]
// [0.3 colour rgb <254, 222, 183>/256 ]
[0.4 colour rgb <241, 208, 167>*1.05/256 ]
// [0.90 colour rgb <241, 208, 167>*1.05/256 ]
// [0.95 colour rgb <30, 45, 160>/(255*3) ]
}
turbulence 0.1
}
- declare Desert2 = pigment {
function {
f_ridged_mf(x, y, z, 0.5, 4, 8, 3, 5, 1)
}
sine_wave
colour_map
{
[0.0 colour rgb <241, 208, 167>*1.05/256 ]
[0.5 colour rgb <216, 137, 105>/(256*1.2) ]
[1.0 colour rgb <152, 141, 136>/(256*2) ]
// [0.3 colour rgb <254, 222, 183>/256 ]
// [0.90 colour rgb <241, 208, 167>*1.05/256 ]
// [0.95 colour rgb <30, 45, 160>/(255*3) ]
}
scale 60
}
- declare DesertPlanet1=object {
sphere{0, 1 }
pigment {
// scale 2
gradient y
turbulence 0.04
pigment_map {
[0.0 Polar1]
[0.01 Polar1]
[0.05 Desert2]
[0.95 Desert2]
[0.99 Polar1 ]
[1.0 Polar1 ]
}
scale 2
translate y*1
// rotate x*30
// rotate <30, 0, -45>
// translate y*-0.5
// scale 7000
} /// ... pigment
normal {
// granite
// scale 5
function {
f_sphere(x,y,z, 1)+f_ridged_mf(x/200, y/200, z/200, 0.5, 4, 8, 3, 5, 1)*-1
// f_hetero_mf(x,y,z, 0.9, 1.7, 12, 0.5,0.9, 3 )
// f_ridged_mf(x-10, y-10, z-10, 0.5, 3, 1, 3, 5, 1)
}
sine_wave
scale 0.1
} /// ... normal
} /// .. object
#declare Clouds0 = pigment {
bozo
turbulence 1
color_map {
[0.0 color White filter 1]
[0.5 color White filter 1]
[1.0 color White filter 1]
}
}
#declare Clouds1 = pigment {
bozo
scale 0.05
turbulence 0.3
color_map {
[0.0 color White filter 0]
[0.5 color White filter 1 ]
[1.0 color White filter 0]
}
}
// ok
#declare Clouds2 = pigment {
//bumps
wrinkles
// crackle
// scale 0.1
turbulence 6
omega 1
lambda 0
octaves 20
// color_map {
// scale 1000
color_map {
[0.0 color White filter 1]
[0.2 color White filter 1]
[1.0 color White filter 0]
}
}
// meybe nok
#declare Clouds3 = pigment {
//marble
dents
turbulence 6
octaves 32
lambda 4
// omega 0.75
scale 10
color_map {
[0.0 color White*1.5 filter 0]
[0.05 color White filter 1 ]
[0.95 color White filter 1 ]
[1.0 color White*1.4 filter 0]
}
}
// ok
#declare Clouds4 = pigment {
granite
turbulence 0.1
omega 1.5
lambda 0.5
octaves 60
color_map {
// [0.0 color White filter 1]
// [0.5 color White]
// [1.0 color White filter 1]
[0.0 color White filter 1]
[0.25 color White filter 1 ]
[1.0 color White*1.5]
}
}
// ok
#declare Clouds5 = pigment {
granite
turbulence 0.1
omega 1.5
lambda 0.5
octaves 60
color_map {
// [0.0 color White filter 1]
// [0.5 color White]
// [1.0 color White filter 1]
[0.0 color White filter 1]
[0.1 color White filter 1 ]
[1.0 color White*1.5 filter 0]
}
}
#declare CloudArea = texture {
pigment {
gradient y
// onion
// sine_wave
turbulence 0.2
//scale 0.2
// scale <10,10,10>
pigment_map {
// [0.000 color rgbt Clear]
// [0.00 Clouds0 scale 1]
[0.00 Clouds2 scale 1]
[0.15 Clear scale 1]
[0.50 Clear ]
[0.85 Clear ]
[1.00 Clouds2 scale 1]
// [0.000 color rgbt Clear]
// [0.00 Clouds0 scale 1]
// [0.00 Clouds3 scale 1]
// [0.2 Clouds3]
// [0.50 Clouds5 scale 1 ]
// [0.8 Clouds2]
// [1.00 Clouds3 scale 1]
/*
// clouds4 ok
[0.00 Clouds4 scale 1]
[0.2 Clouds0]
[0.50 Clouds2 ]
[0.8 Clouds0]
[1.00 Clouds4 scale 1]
*/
/*
[0.0 Clouds2 scale 1]
[1/8 Clouds4 ]
[2/8 Clouds2]
[3/8 Clouds4 scale 1]
[4/8 Clouds2]
[5/8 Clouds4 ]
[6/8 Clouds2]
[7/8 Clouds4 ]
[8/8 Clouds2]
*/
}
}
finish {
//ambient 0.000002
diffuse 0.9
// phong 0.1
// specular 0.4
reflection 0.9
}
}
- declare CloudsLayer1 = sphere
{
0, 1
texture {
CloudArea
}
}
/*
// atmosphere emission
- declare Atmos1=difference {
sphere { <0, 0, 0>, 1.005 }
sphere { <0, 0, 0>, 1.0 }
material {
texture{
pigment { rgbt 1 }
}
interior {
media {
emission 0.00005
//scattering { 5 color rgb 0.01 eccentricity 0.56 }
density {
spherical density_map {
[ 0.0 rgb 0.0 ]
[ 0.5294*0.25e-6 rgb <0.02, 0.05, 0.2>*0.07 ]
[ 0.5294*0.4e-6 rgb <0.02, 0.07, 0.3>*0.32 ]
[ 0.5294*0.5e-6 rgb <0.08, 0.18, 0.4>*0.5 ]
[ 0.5412*0.6e-6 rgb <0.08, 0.18, 0.4>*0.9 ]
[ 0.5471*0.65e-6 rgb <0.08, 0.18, 0.4>*1.5 ]
[ 0.5471*0.675e-6 rgb <0.08, 0.18, 0.4>*4.5 ]
[ 0.5471*0.71e-6 rgb <0.08, 0.18, 0.4>*12 ]
}
scale 100
}
}
}
}
hollow on
}
- /
#declare Reunatummennus =
sphere
{
0, 1.005
hollow
material
{
// texture {pigment {color <1,0,0> } }// koe
texture
{
pigment
{
color rgbt 1
}
}
interior
{
media
{
// scattering { 1, <0.3, 0.3, 1>/500 }
scattering { 1, <0.1, 0.1, 0.5>/5000}
method 3
density
{
spherical
density_map
{
[0 rgb <0.25, 0.5, 1>]
[0.0001 rgb <0.25, 0.5, 1>]
[0.0001 rgb <0.9, 1, 1>]
[1 rgb <0.9, 1, 1>]
}
/*
density_map
{
[0 rgb <1, 0.5, 0.25>]
[0.0001 rgb <1, 0.5, 0.25>]
[0.0001 rgb <1, 1, 0.9>]
[1 rgb <1, 1, 0.9>]
}
*/
}
}
}
}
}
- declare Earth_Radius=1;
- declare Height_Exaggerate=1;
- declare Terrain_Ambient=0.03;
- declare Terrain_Brightness=1.25;
- declare Max_Mountain=9;
- declare Media_Intensity=0.15;
- declare Media_Emission=0.065;
- declare Media_Eccentricity=0.56;
- declare Atmosphere_Top=0.009;
- declare Cloud_Brightness=0.42;
- declare Light_Intensity=4.1;
#declare Density1=
density {
spherical
poly_wave 3
color_map {
[ 0.0 rgb 0.0 ]
[ 0.5294*0.25e-6 rgb <0.02, 0.05, 0.2>*0.07 ]
[ 0.5294*0.4e-6 rgb <0.02, 0.07, 0.3>*0.32 ]
[ 0.5294*0.5e-6 rgb <0.08, 0.18, 0.4>*0.5 ]
[ 0.5412*0.6e-6 rgb <0.08, 0.18, 0.4>*0.9 ]
[ 0.5471*0.65e-6 rgb <0.08, 0.18, 0.4>*1.5 ]
[ 0.5471*0.675e-6 rgb <0.08, 0.18, 0.4>*4.5 ]
[ 0.5471*0.71e-6 rgb <0.08, 0.18, 0.4>*12 ]
[ (Earth_Radius+0.001)/(Earth_Radius+Atmosphere_Top) rgb <0.0, 0.0, 0.0> ]
}
}
- declare Mat_Atm =
material {
texture {
pigment {
color rgbt <1.0, 1.0, 1.0, 1.0>
}
}
interior {
media {
method 3
scattering { 5 color rgb 0.01*Media_Intensity eccentricity Media_Eccentricity }
emission rgb Media_Emission*0.01*Media_Intensity
density {
Density1
}
}
}
}
- declare Reuna2=difference {
sphere {
<0,0,0>, 1
}
sphere {
<0,0,0>, 1
scale (Earth_Radius+0.001)/(Earth_Radius+Atmosphere_Top)
}
material { Mat_Atm }
scale Earth_Radius+Atmosphere_Top
hollow on
}
- declare Desert_Planeta1=union
{
object {
DesertPlanet1
}
object {
CloudsLayer1
scale 1.0001
}
/*
object {
Darkening1
scale 0.912
// scale 0.95
//scale 0.912
}
*/
/*
object {
// Atmos1
// Reunatummennus
Reuna2
}
*/
object {
// Darkening1
Reunatummennus
// Reuna2
}
}
object {
Desert_Planeta1
rotate <30, 0, -45>
scale 7000
}
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 | 10:08, 8 August 2022 | 3,600 × 2,700 (6.36 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 | 09:53, 8 August 2022 |
Software used |