File:Triangle shaped ufo 4 rend 1.png
Summary
Description |
English: Triangle shaped ufo |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ray source code
//
// Triange shaped ufo
// POV-ray 3.7 source code
// 28.12.2022 0000.0000
//
// global_settings { assumed_gamma 1 }
#include "shapes3.inc"
#include "colors.inc"
- include "textures.inc"
camera {
location
//<1, -100, -1>*0.1
<10, -100, -10>*0.1
look_at <0,0,0>
angle 40
}
- declare clouds1=
plane {
y,500
pigment {
granite
//turbulence 1.2
//omega 0.7
//lambda 0.6
scale 1000
octaves 100
color_map {
[0 color rgb <0.02,0.02,0.05>*1]
// [1 color rgb <0.05,0.05,0.1>*1]
[1 color rgbt 1]
}
}
/*
finish {
ambient 0.0001
}
- /
}
#local ampar1 =
object{
sphere{<0,0,0>,1}
hollow
pigment{ color rgbf<1,1,1,1>}
finish { ambient 0 diffuse 0 }
interior {
media {
// emission color rgb<1.0,0.75,0.1>*50
emission color rgb<1,1,1>*200
intervals 9
samples 5, 20
confidence 0.9999
variance 1/100
density{ spherical
ramp_wave
turbulence 0.15
/*
color_map {
[0.0 color rgb <0.0,0.0,0.0>]
[0.6 color rgb <0.8,0.3,0.0>]
[0.9 color rgb <1.0,0.8,0.3>]
[1.0 color rgb <1.0,1.0,0.1>]
}
*/
color_map {
[0.0 color rgb <0.0,0.0,0.0>]
[0.6 color rgb <0.3,0.3,0.3>]
[0.9 color rgb <0.5,0.5,0.5>]
[1.0 color rgb <1,1,1.0>]
}
scale 1
}
}
}
scale 0.05
}
#declare lantern1= sphere { <0, 0, 0>, 1
hollow
texture {
pigment {
//agate
granite
//bozo
//turbulence 0.5
//octaves 1
//scale 0.002
scale 0.1
color_map {
[0 color rgbt <1,1,1,1>]
[0.1 color rgbt <1,1,1,0.9>]
[1 color rgbt <1,1,1,0>]
}
}
finish {ambient 0}
}
scale 0.1
// scale 0.005
}
#macro lightm1(light_lokation1,light_point_at1,light_color_1 )
union {
object {
lantern1
translate light_lokation1
}
light_source {
light_lokation1
color light_color_1
spotlight // specifies spotlight
radius 5 // cone opening from its axis in degrees. Light start to dim outside of this.
falloff 10 // outside of this, there is no light.
tightness 0.5 // over-all coherence of the light beam
point_at light_point_at1
fade_distance 2
fade_power 3
looks_like
{
object {
/*
sphere {0,0.025
translate y*-0.05
}
texture {
pigment {
color rgb light_color_1
}
finish {
emission 5*light_color_1
}
} /// tex
*/
ampar1
} // object
} // looks
} // light
}
#end
background { rgb <0.3, 0.6, 0.9>/10000 }
light_source { <-100,-500,-150>*1, 1/2 media_interaction off}
- declare triangle_ufo1=union {
object{ Round_Pyramid_N_out(
3 , //
<0,-0.1,0>, 1, // p1, r1,
<0,0.1,0>,1,// p2, r2,
0.099, // round radius
1,
0
)
texture{ pigment{ rgb<1,1,1>/3 }
finish { phong 1 }
}
}
#declare light_lokation1= <0,-0.1,0>;
#declare light_point_at1= <0, -100, 0>;
#declare light_color_1= <1.8,0.8,1>;
lightm1 (light_lokation1,light_point_at1,light_color_1 )
#declare light_lokation1= <0.8,-0.1,0>;
#declare light_point_at1= <0.8*10, -100, 0*10>;
#declare light_color_1= <0.8,0.8,1>;
lightm1 (light_lokation1,light_point_at1,light_color_1 )
#declare light_lokation1= <-0.4,-0.1,0.7>;
#declare light_point_at1= <0.8*10, -100, 0*10>;
#declare light_color_1= <0.8,0.8,1>;
lightm1 (light_lokation1,light_point_at1,light_color_1 )
#declare light_lokation1= <-0.4,-0.1,-0.7>;
#declare light_point_at1= <0.8*10, -100, 0*10>;
#declare light_color_1= <0.8,0.8,1>;
lightm1 (light_lokation1,light_point_at1,light_color_1 )
}
- declare fog1= media{
intervals 3
// samples 100,200
scattering {
// 3, rgb <1,1,1>*1/1000
3, rgb <1,1,1>*1/100
extinction 10
}
}
//object {clouds1}
object {triangle_ufo1}
media {fog1}
Licensing
- 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.