File:Colliding planets 3 r 1 1 1 1.png
Original file (2,400 × 1,800 pixels, file size: 1.76 MB, MIME type: image/png)
Captions
Summary
[edit]DescriptionColliding planets 3 r 1 1 1 1.png |
English: Colliding planets |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray source code
// colliding planets
// pov-ray source code
// 22.5.2024 v 0000.0000
- include "functions.inc"
- include "rand.inc"
- include "colors.inc"
- include "stones.inc"
- include "stars.inc"
camera {
location <0,0,-10>*0.7
look_at 0
angle 35
}
light_source {
<1000,1000,-1000>*1000*1000*1000
color rgb <1,1,1>*1
}
//background { rgb <0,0,0> }
sky_sphere {
pigment {
bozo
scale 0.001
color_map {
[0 color rgb <1,1,1>]
[0.2 color rgb <1,1,1>]
[0.2 color rgb <0,0,0>]
[1.0 color rgb <0,0,0>]
}
}
/*
pigment {
wrinkles
// granite
//marble
octaves 60
scale 10
warp { turbulence 0.3 }
scale 1/10
pigment_map {
[0 color rgbt <1,1,1,1>]
// [0.33 color rgbt <1,1,1,1>]
[1 color rgbt <0.2,0,0.0,0>]
}
}
- /
}
- declare lava_pigment_1= pigment {
granite
color_map {
[0.0 color rgbt <0,0,0,1>]
[0.25 color rgbt <1,0,0,.75>]
[0.5 color rgbt <1,0.5,0,.5>*2]
[0.75 color rgbt <1,1,0,0.25>*5]
[1 color rgbt <1,1,1,0>*10]
}
}
- declare bright1= object {
sphere {0,1}
pigment { color rgbf 1 }
// finish { ambient 0 diffuse 0 }
hollow
no_shadow
interior {
media {
emission color rgb<1.0,0.75,0.1>*3
intervals 9
samples 1, 20
// confidence 0.9999
// variance 1/100
density{
// function {f_spherical(x,y,z)*0.8+f_granite(x,y,z)*0.2 }
// function {f_spherical( f_granite(x,y,z), f_granite(x,y,z),f_granite(x,y,z) )*1 }
// function {f_spherical(x*1,y*1,z*1) }
//function {f_spherical(x,y,z)*0.8+f_granite(x,y,z)*0.2 }
// function {f_spherical(x,y,z)*f_granite(x*3,y*3,z*3)*5 }
// function { ( (f_spherical(x,y,z)*f_granite(x*3,y*3,z*3)*5)+exp(f_spherical(x,y,z)) ) /2 }
// function { exp ( f_spherical(x,y,z)) }
function { exp ( f_spherical(x,y,z) *f_granite(x*10,y*10,z*10) ) *2 }
poly_wave 1
color_map {
[0.0 color rgb <0.0,0.0,0.0>]
[0.25 color rgb <0.5,0.25,0.0>]
[0.5 color rgb <1,0.5,0.0>*0.75*2 ]
[0.75 color rgb <1.0,1.0,0.0>*5]
[1.0 color rgb <1.0,1.0,1>*10]
} // end color_map
} // end of density
}
}
}
- declare torus1=object {
//torus {1,0.5}
isosurface {
function {
f_torus(x,y,z,1,0.5)+f_granite(x*3,y*3,z*3)*0.5
}
// accuracy 0.01
/// gradient 25
bounded_by {sphere {0,10}}
}
//pigment { color rgb 1}
pigment { color rgbf 1 }
// finish { ambient 0 diffuse 0 }
hollow
no_shadow
interior {
media
{
absorption 5
scattering { 3, 1 }
density {
function {
f_torus(x,y,z,1,0.5)+f_granite(x*3,y*3,z*3)*0.5
}
}
}
}
}
- declare planet1= union {
object {
sphere {0,1}
// texture {T_Stone2}
pigment {
wrinkles
scale 1
color_map {
[0 color rgb <0,0,1>]
[0.5 color rgb <0,0,1>]
[0.5 color rgb <1,0.5,0.3>]
[1 color rgb <1,0.5,0.3>]
}
}
finish {ambient 0 phong 0.1 diffuse 0.3}
normal {agate scale 0.1 bump_size -2}
}
object {
sphere {0,1.001}
finish {ambient 0}
pigment {
wrinkles
scale 0.3
color_map {
[0 color rgbt <1,1,1,1>]
[1 color rgbt <1,1,1,0>]
}
}
}
object {
sphere {0,1.002}
finish {ambient 0}
pigment {
granite
scale 1
warp { turbulence 0.5}
color_map {
[0 color rgbt <1,1,1,1>]
[1 color rgbt <1,1,1,0>]
}
}
}
}
- declare planet2=object {
sphere {0,1}
texture {T_Stone1 scale 0.3}
finish {ambient 0 phong 0.1 diffuse 0.3}
normal {granite scale 0.1 bump_size -2 }
}
- declare colliding1= union {
object {planet1 translate x*-1}
object {planet2 scale 0.5 translate x*0.5}
object {bright1 scale 1 translate x*0}
object { torus1 rotate z*90 scale 0.8 translate x*0 }
}
object { colliding1
rotate y*45
//rotate z*5
rotate x*50
}
Licensing
[edit]This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 11:18, 22 May 2024 | 2,400 × 1,800 (1.76 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 | 11:12, 22 May 2024 |
Software used |