File:Some kind of ufo 5 r 1.png
Some_kind_of_ufo_5_r_1.png (800 × 600 pixels, file size: 583 KB, MIME type: image/png)
Captions
Summary
editDescriptionSome kind of ufo 5 r 1.png |
English: Ufo has landed to rock. View from artist. |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray 3.7 source code
//
// ufo landed to rock
// POV-Ray 3.7 source code
// 18.7.2023 0000.0004
//
- include "colors.inc"
- include "textures.inc"
- include "glass.inc"
- include "golds.inc"
- include "metals.inc"
- include "stones.inc"
- include "woods.inc"
- include "skies.inc"
- include "shapes.inc"
- include "functions.inc"
- include "rand.inc"
//#include "colors.inc"
//#include "textures.inc"
//#include "stones.inc"
// #include "rand.inc"
// #include "functions.inc"
camera {
location <1,2,-10>
// location <0,10,0>
look_at 0
angle 55
}
background {color rgb <0.9,0.9,1>}
light_source {
<100,50,100>*1000*1000*1000
color rgb 1
}
// lights in ufo
light_source {
<-0.15,2+0.3,0-4>
color (1*Blue)/4
}
light_source {
<0.15,2-0.3,0-4>
color (1*Red)/4
}
light_source {
<0.05,2+0.2,0.2-4>
color (1*Green)/4
}
#declare sky1=sky_sphere {
S_Cloud3
rotate x*30
//pigment {P_Cloud1}
}
plane {
y,0
texture {
pigment {
wrinkles scale 0.1
color_map {
[0 color rgb <0.9,0.9,1>]
[1 color rgb <0.9,0.9,1>]
}
}
normal {granite bump_size -0.3 scale 0.1}
}
}
#declare grid01= difference {
box {-1,1 scale z*0.05 scale y*1.25}
union {
#for (xx,-2,2)
#for (yy,-3,3)
box {-1,1 scale z*0.06 scale x*0.08 scale y*0.08 translate <xx*0.35,yy*0.35,0> }
#end
#end
}
}
- declare grid1=object {grid01
scale 0.2
texture {Chrome_Metal}
finish { Metal}
}
object {grid1 scale 2 rotate x*-45 translate z*-4.8 translate y*1.5}
- declare ufop1=union{
/*
cone { <0, 0, 0>, 2, <0, -1.5, 0>, 0.6 }
cone { <0, 0, 0>, 2, <0, 1/4, 0>, 1 }
cone { <0, 1/4, 0>, 1, <0, 1, 0>, 0.6 }
- /
object { Round_Cone(<0, 0.03, 0>, 2, <0, -1.5, 0>, 0.6, 0.01, 1) }
object {Round_Cone(<0, -0.03, 0>, 2, <0, 1/4, 0>, 1, 0.01, 1) }
object { Round_Cone( <0, 1/4-0.03, 0>, 1, <0, 1, 0>, 0.6 , 0.02, 1) }
}
- declare ufo1= object {
union {
difference {
object { ufop1 }
object {ufop1 scale 0.95 }
object {
//sphere { 0,0.5 }
box {-1,1}
rotate x*45
scale y*2
scale 0.3
translate z*-1
translate y*-0.75
}
}
object {
//cylinder {<0,-0.05,0>,<0,0.05,0,>,0.95 }
cone { <0, -0.05, 0>, 1.02, <0, 0.05, 0>, 0.98 }
scale 0.965
texture {
pigment { checker P_Silver3 0 scale 1/40 warp {spherical} }
}
translate y*0.3
}
}
texture {
pigment {
P_Silver3
// P_Chrome1
// Orange+NeonPink+Silver
//color rgb <1,0,0>
}
//pigment {color rgb Maroon}
finish {
//F_MetalD
//F_Glass01
reflection { .01, .95 fresnel } conserve_energy
phong 30 phong_size 20 metallic 1
specular 50 roughness .0004 //layer a sharp highlight on top.
//ambient (Orange+NeonPink+Silver)*100
}
normal { ripples
sine_wave
bump_size 0.05 scale 1/1000 }
}
interior {
ior 1.5
fade_colour <1,.25,.0>
fade_distance 0.1
fade_power 2
}
scale y/2
}
- declare stonetex1= texture {
// agate
wrinkles
scale 3
texture_map {
[0 pigment { granite scale 0.1 } normal {agate scale 0.1} ]
[1 pigment { granite scale 0.1 color_map { [0 color Green/2][0.3 color (Green+Yellow)/2] [0.6 color (Green+Tan)/2] [0.6 color Tan/2] } } normal {granite scale 0.1} ]
}
}
- declare stonetex0= texture {
pigment { agate }
/*
texture {
T_Stone40
scale 0.01
finish { phong 0 reflection 0 specular 0.1 }
normal {wrinkles bump_size 3 scale 0.05 }
}
texture {
pigment {
wrinkles
pigment_map {
[0 color rgbt <0,0,0,1>]
[0.2 color rgbt <0,0,0,1>]
[1 color rgbt <0,1/3,0,0.1>]
}
}
}
*/
}
- declare stoun1=object {
isosurface {
function {
f_sphere(x,y,z,0.8)-f_agate(x,y,z)*0.2-f_granite(x*3,y*3,z*3)*0.07 -f_granite(x*30,y*30,z*30)*0.01
}
accuracy 0.01
bounded_by {sphere {0,1.5}}
}
scale x/2
rotate z*30
scale y/5
rotate y*47
scale 2
translate z*-2
// texture {stonetex1}
}
#declare fir1=union {
object {union {
// cone {<0,0,0>,1,<0,1,0>,0.01 translate y*1}
// cone {<0,0,0>,1,<0,1,0>,0.01 translate y*1.5}
// cone {<0,0,0>,1,<0,1,0>,0.01 translate y*2}
// cone {<0,0,0>,1,<0,1,0>,0.01 translate y*2.5}
//sphere {0,1 scale 1 scale y*2 translate y*2}
- for (nn,1,40)
- declare ox1=(rand(1)-0.5)/2 ;
- declare oy1=(rand(1)-0.5) ;
#declare oz1=(rand(1)-0.5)/2 ;
#declare sz1=(rand(1)+0.5)*0.08 ;
sphere {<ox1,oy1*4+1,oz1>, sz1}
- end
}
texture {
pigment {
wrinkles
scale 0.05
//granite
// agate
scale 0.7
//scale y*3
//scale x/3
//scale y/3
pigment_map {
[0 agate color_map {[0 rgbt <0,0,0,1>] [0.5 rgbt <0,1,0,0>] [1 rgbt <0,1,0,0>] } ]
[0.4 color rgbt <0,1/3,0,0>]
[0.4 color rgbt <0,0,0,1>]
[1 color rgbt <0,0,0,1>]
}
}
}
}
cone
{
<0,0,0>,0.05,<0,2.7,0>,0.01
texture {
pigment {color Brown/3}
}
}
}
#declare tree2=union {
union {
- for (nn,1,30)
#declare ox1=(rand(1)-0.5) ;
#declare oy1=(rand(1)-0.5)*4+2 ;
#declare oz1=(rand(1)-0.5) ;
#declare sz1=(rand(1)+0.5)*0.5 ;
#declare sz2=sz1 ;
#declare oy2=oy1+1;
object {
sphere {<ox1,oy2,oz1>, sz2}
texture {
pigment {
wrinkles
scale 0.05
scale 0.7
pigment_map {
[0 agate color_map {[0 rgbt <0,0,0,1>] [0.5 rgbt <0,1/3,0,0>] [1 rgbt <0,1/3,0,0>] } ]
[0.4 color rgbt <0,1/3,0,0>]
[0.4 color rgbt <0,0,0,1>]
[1 color rgbt <0,0,0,1>]
} // map
} // pig
} //tex
} // union
object {
cone {<0,oy2,0>,0.02,<ox1*2,oy2,oz1*1>,0.001}
texture {
pigment {color Brown/3}
}
}
- end
//}
cone {
<0,0,0>,0.05,<0,5,0>,0.01
texture {
pigment {color Brown/3}
}
}
}
}
- declare forest1= union {
- for (n,1,300)
- declare x1=rand(1)*100-50 ;
- declare z1=rand(1)*40+35 ;
- declare skal1=rand(1)+0.5;
- declare type1=int(rand(1)+0.5);
- if(type1=0)
object {
fir1
// sphere {0,2 pigment {color Blue}}
scale skal1
rotate y*36*n
translate <x1,0,z1>
}
- else
object {
tree2
// sphere {0,2 pigment {color Red}}
scale skal1
rotate y*36*n
translate <x1,0,z1>
}
- end
- end
}
- declare S = function { sqrt(pow(x,2) + pow(y,2) + pow(z,2)) - 2 }
- declare Stone1 = isosurface {
function {
S(x,y*(1.5-y/12),z)-f_wrinkles(x*0.3,y*0.5,z*0.03)*0.5-f_ripples(x,y,z)*0.5-f_wrinkles(x*3,y*4,z*4)*0.5
}
accuracy 0.01
max_gradient 2.75
contained_by{sphere{0,2.2}}
}
- declare ball1= function {
pigment {
spherical
}
}
- declare glowdensity1=density{
// spherical
function {
//max(1-f_sphere(x,y,z,1),0)
(ball1(x,y,z).gray*2/3
+ f_wrinkles(x*40,y*40,z*40) /3
)*
ball1(x,y,z).gray
}
poly_wave 6
scale 10
warp {
turbulence .3
}
scale 0.1
lambda 3
/*
density_map {
[.00 rgbt <0,0,0,1>]
[1/2 rgbt <1,0,0,0.95>]
[4/4 rgbt <1,0.0,0.0,0.8>]
}
- /
}
- declare glow1=object {sphere { 0,2 hollow no_shadow
texture { pigment { rgbt 1 } }
interior {
media {
samples 50,100
//emission 1*(Red+Orange)/2 absorption 1
density { glowdensity1 }
scattering {3,20*<1,0.25,0.1> }
}
}
}
scale 12
translate z*-4
translate y*2
translate z*0
}
sky_sphere {sky1}
- declare groundtex1=texture {
// agate
wrinkles
scale 3
texture_map {
[0 pigment { granite scale 0.1 } normal {agate scale 0.1} ]
[1 pigment { granite scale 0.1 color_map { [0 color Green/2][0.3 color (Green+Yellow)/2] [0.6 color (Green+Tan)/2] [0.6 color Tan/2] } } normal {granite scale 0.1} ]
}
}
- declare stonee3=object { stoun1 scale 0.3 scale y/2
texture {T_Stone30}
}
- declare rock1=object { stoun1 scale 3
texture {
T_Stone36
}
texture {
pigment {
spherical
//wood
// onion
rotate y*90
// spherical
//scale 0.1
scale 2.5
translate z*-4
pigment_map {
[0 color rgbt 1]
[0.01 color rgbt 1]
[0.05 granite scale 0.1 pigment_map {[0 color rgbt 1][1 color rgbt <0,0,0,0.5>]}]
[1 granite scale 0.1 pigment_map {[0 color rgbt 1][1 color rgbt <0,0,0,0.02>]}]
}
}
}
}
- declare bigston1= object { stoun1 scale 60 scale y/10
scale z*2.2
rotate y*-5
translate z*495
texture {
pigment {
granite
pigment_map {
[ 0 color rgb Green/4 ]
[ 1 color rgb Yellow/4 ]
}
}
normal {wrinkles bump_size 10 scale 0.1}
}
}
object {bigston1}
object {rock1} // foreground rock
object {stonee3 scale 1 scale y*4 translate z*-7 translate y*0.8}
object {ufo1 rotate y*0 rotate x*10 rotate z*0 translate y*1.8 translate z*-4 }
object {forest1}
object {glow1 translate y*-0.5}
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 | 11:01, 18 July 2023 | 800 × 600 (583 KB) | Merikanto (talk | contribs) | Update | |
09:50, 18 July 2023 | 800 × 600 (631 KB) | Merikanto (talk | contribs) | Update | ||
08:37, 18 July 2023 | 1,024 × 768 (1.15 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:00, 18 July 2023 |
Software used |