File:Some kind of ufo 2 r 1.png
Summary
Description |
English: Some kind of ufo, glowing |
Date | |
Source | Own work |
Author | Merikanto |
POV-Ry 3.7 source code
//
// ufo has purple glow
// POV-Ray 3.7 source code
//
// 16.7.2023 v 0000.0000
//
include "colors.inc"
- include "glass.inc"
- include "golds.inc"
- include "metals.inc"
- include "stones.inc"
- include "woods.inc"
- include "skies.inc"
- include "shapes.inc"
camera {
location <0,-5,-10>*0.8
look_at <0,0,0>
angle 40
}
global_settings { ambient_light <1,1,1>*0 }
light_source {
<100,100,-100>*1000*1000*1000
color White*1
}
light_source {
<0,-50,-1>
color (White+Red)/2
}
//Set a background color
background { color <1,1,1.2>*0.9 }
sky_sphere {
S_Cloud1
rotate x*30
//pigment {P_Cloud1}
}
- declare ufo1=
object {
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, 0>, 2, <0, -1.5, 0>, 0.6, 0.01, 1) }
object {Round_Cone(<0, 0, 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) }
}
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 glowdensity1=density{
spherical
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 100,200
emission 1*(Red+Orange)/2 absorption 1
density { glowdensity1 }
scattering {4,1*(1-Red) }
}
/*
media {
emission 1*Red absorption 1
density {
wrinkles
}
}
*/
}
scale 7
scale y/2
}
}
/*
plane {y,-100
material {
texture {
pigment {
color rgbt <0.8, 0.8, 1, 1>
}
finish {
ambient 0.0
diffuse 0.0
reflection {
0.0, 1.0
fresnel on
}
specular 0.4
roughness 0.003
}
normal {
function {
f_ridged_mf(x, y, z, 0.1, 3.0, 7, 0.7, 0.7, 2)
} 0.8
scale 0.13
}
}
interior {
ior 1.3
}
}
}
- /
object {ufo1
rotate x*-15
rotate z*5
}
object {glow1
//translate y*-0.5
}
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.