File:Violet tlp 2.png
Original file (2,400 × 1,800 pixels, file size: 4.25 MB, MIME type: image/png)
Captions
Summary
[edit]DescriptionViolet tlp 2.png |
English: Violet TLP glow - view of artist |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray 3.7 source code
height
// cratered heightmap generating
// pov-ray script
- include "functions.inc"
- include "colors.inc"
// command line
// povray kratera3.pov -W800 -H600 +fn16
// REMEMBER : +fp16, 16 bit gray scale
global_settings {
assumed_gamma 2.2
hf_gray_16
}
camera {
location <0, 0, -20>
look_at <0,0,0>
} //camera
light_source {<0, 20, -100> color White * 1.2}
- declare Randomizer = seed (2);
- declare CraterZOffset = 0;
- declare f_craters_1 =
function{
pigment{
crackle form <1.2, 0, 0>
turbulence 0.1 omega 0.6
scale 0.15
color_map{
[0.00 color rgb 1.00]
[0.25 color rgb 0.75]
[0.33 color rgb 0.25]
[0.40 color rgb 0]
[1.00 color rgb 0]
}
}
}
- declare f_moon_1 = function {
(abs(1-sin(f_spherical(x,0,z))*0.5)*1.0-f_wrinkles(x*2,y*0,z*2)*0.2)
// -f_craters_1(1+x/10,y/1,z/10).gray*0.1
// -f_craters_1(2+x/3,y/3,z/3).gray*0.05
}
- macro NewCrater (Diameter)
#declare CraterZOffset = CraterZOffset - .001;
#declare Crater = disc {
0, z, 1
texture {
pigment {
onion
turbulence .08 + rand (Randomizer) * .04
color_map {
[0 rgbt <0, 0, 0, .2>] //Center
[.1 rgbt <0, 0, 0, .3>]
[.42 rgbt <1, 1, 1, .4>]
[.7 rgbt <1, 1, 1, .9>]
[.8 rgbt <.5, .5, .5, 1>]
[1 rgbt 1]
} //color_map
} //pigment
scale 1.1
rotate (rand (Randomizer) * 360) * z
} //texture
scale Diameter
translate CraterZOffset * z
no_shadow
} //disc
- end //#macro NewCrater
- local Terrain = object {
plane {
z, 0
texture {
pigment {
bumps //Start out with gentle hills
color_map {
[0 Black]
[1 White * 1.2]
} //color_map
} //pigment
scale 5
} //texture
texture {
pigment {
granite //Roughen up the terrain
color_map {
[0 rgbt <0, 0, 0, .9>]
[1 rgbt <1, 1, 1, .7>]
} //color_map
} //pigment
scale 6
} //texture
} //plane
} //object
- local Terrain2 = object {
plane {
z, 0
texture {
pigment {
bumps scale 1
// function {f_granite(x,y,z)}
// function {
// f_craters_1(x/20,y*0,z/20).gray*0.5
// (f_granite(x,y,z))*1
// }
color_map {
[0 White/3]
[1 Black]
} //color_map
} //pigment
// scale 5
} //texture
texture {
pigment {
function {
(f_craters_1(x/3,y/3,z/3).gray)*0.3
+0.6* f_noise3d(x*5,y*5,z*5)
* 0.2* f_granite(x*5,y*5,z*5)
+0.001 * f_noise3d(x*30000,y*30000,z*30000)
}
// bumps
color_map {
[0 rgbt <1,1,1,0>]
[1 rgbt <0,0,0,1>]
} //color_map
} //pigment
// scale 5
} //texture
} //plane
} //object
//object {Terrain}
object {Terrain2 scale 5}
NewCrater (4)
object {Crater scale 0.25 translate <3,1,4>}
NewCrater (4)
object {Crater scale 1 translate <0, 0, 0>}
NewCrater (3)
object {Crater scale 1/3 translate <0, 3, -6>}
/*
NewCrater (2.2)
object {Crater scale 1 translate <-7, -5, -8>}
NewCrater (4.5)
object {Crater scale 0.7 translate <7, -5, 0>}
NewCrater (3.5)
object {Crater scale 1.2 translate <-6, -1, 0>}
- /
code
// tlp - ctarer glow
// pov ray 3.7 source code
- include "colors.inc"
- include "functions.inc"
- include "rand.inc"
- include "colors.inc"
- include "stones.inc"
global_settings {
max_trace_level 5
}
- declare Color=rgb <0.25,0,1.0>*1;
camera{
location <0, 5, -10>
look_at 0
angle 30
}
light_source{ <1000,300,-1000>*1000*1000 White*2 }
- declare surfobj1= height_field {
png "kratera4.png"
smooth
pigment { color rgb <1,1,1> }
finish {ambient 0 phong 0.05 specular 0.05 diffuse 1.0 }
normal { wrinkles scale 1/100 bump_size -0.1 }
translate <-.5, -.5, -.5>
scale <20, 1., 20>
}
- declare bright1=
/*
light_source {
<0,0,0>
color rgb 1/100
looks_like {
- /
object {
sphere {0,1}
pigment { color rgbt 1 }
// finish { ambient 0 diffuse 0 }
hollow
no_shadow
interior {
media {
intervals 9
samples 30, 60
emission color Color*20
// scattering {1, rgb 1-Color}
density{
// function { f_spherical(x,y,z) }
function { f_spherical(x,y,z)*0.5+f_granite(x*40,y*40,z*40)*0.5 }
// granite
turbulence 1
// spherical
// poly_wave 1.5
color_map {
[0.0 color rgb <0.0,0.0,0.0>]
[0.5 color Color*1]
[1.0 color Color*2]
} // 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.1
f_torus (x,y,z, 1, 0.5)+f_granite(x,y,z)*1
}
accuracy 0.01
max_gradient 50
// threshold 0.5
// max_trace 7
contained_by {sphere {0,100}}
}
hollow no_shadow
pigment { color rgbt 1}
interior {
media {
absorption 2
scattering { 1,1/10*1 }
// emission 0.5*<1,1,0>
density {
function { f_torus (x,y,z, 1, 0.4)-f_granite(x,y,z)*0.2 }
density_map {
[0 color rgb 0]
[1 color rgb 1]
}
}
}
}
}
- declare explo1=
object {
sphere{ 0,1}
pigment{rgbt 1}
hollow
interior{
media{
absorption 0.01
emission 0.5
scattering{1,60}
//density { function {f_spherical(x,y,z) }}
density {function{
// f_granite(x*4,y*4,z*4)*0.5*pow( f_spherical(x,y,z), 4)
// pow( f_spherical(x,y,z), 4)
//f_granite( ((sin(atan2(x,y)/3)+1)/2),((sin(atan2(z,y)/3)+1)/2),((sin(atan2(x,z)/3)+1)/2))
pow(f_granite( ((sin(atan2(x,y)/3)+1)/2),((sin(atan2(z,y)/3)+1)/2),((sin(atan2(x,z)/3)+1)/2))
,3)
- pow(f_spherical(x,y,z),4)*1
}
turbulence 0.1
poly_wave 1.5
color_map {
[0 color rgb 0]
[1 color rgb <1,0.5,0>]
}
scale 0.5
}
scale 1.5
}
// media 2
media {
//absorption 0.1
scattering { 1 1 }
density {
// spherical
function {
// pow(f_spherical(x,y,z),6)*pow(f_granite(x*10,y*10,z*10),1)
pow(f_spherical(x,y,z),5)
- f_wrinkles(x*3,y*3,z*3)
- f_granite(x*3,y*3,z*3)
// *pow(f_wrinkles( ((sin(atan2(x,y)/3)+1)/2),((sin(atan2(z,y)/3)+1)/2),((sin(atan2(x,z)
///////3)+1)/2))
//,1)*0.3
}
}
}
} // interior
// scale C*0
}
object {surfobj1 scale y/2}
object {bright1 scale 1.3 scale y/3}
//object {explo1 scale 4}
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 | 10:02, 11 June 2024 | 2,400 × 1,800 (4.25 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:59, 11 June 2024 |
Software used |