|
|
Stephen <mca### [at] aolcom> wrote:
> Example please.
>
> --
> Regards
> Stephen
window without glass:
http://yadi.sk/d/8s3O4tua8GhD4
window with glass:
http://yadi.sk/d/XDIU0qA-8GhCg
Povfile(The sphere is removed: very large text):
//----------------------------------------------
//--Exported with POV-Ray exporter for Blender--
//----------------------------------------------
#version 3.7;
#include "functions.inc"
#include "shapes3.inc"
//--CUSTOM CODE--
//--Global settings and background--
global_settings {
assumed_gamma 1
max_trace_level 5
photons {
count 2000000
}
}
background {rgbt<0.0871, 0.333, 0.855, 0>}
//--Material Definitions--
#declare Floor_mat = finish { brilliance 2
specular 0
roughness 0.01
diffuse 0.8 0
ambient <0, 0, 0>
emission 0
conserve_energy
reflection {
<1,1,1> * 1.69
metallic 1
}
}
#declare Floor_tex =
texture {
pigment {
checker
color rgbf<0,0,0,0>
color rgbf<1,0.9708,0.9578,0>
translate <0,0,0> scale <1,1,1>
rotate <0,0,0>
turbulence <0,0,0>
octaves 1
lambda 1
omega 1
frequency 2
phase 0
}
finish{Floor_mat}}
#declare Winglass = finish { brilliance 2
specular 0
roughness 0.0001
diffuse 0.8 0
ambient <0, 0, 0>
emission 0
conserve_energy
irid { 0.5365 thickness 3.014 turbulence 0 }}
#declare Winglass_tex = texture {pigment {color
rgbft<0.8,0.8,0.8,0.93,0>}finish{Winglass}}
#declare Room_mat = finish { brilliance 2
specular 0
roughness 0.0001
diffuse 0.8 0
ambient <0, 0, 0>
emission 0
conserve_energy
}
#declare Room_mat_tex = texture {pigment {color
rgbft<0.8,0.8,0.8,0,0>}finish{Room_mat}}
#declare Window_mat = finish { brilliance 2
specular 0
roughness 0.0001
diffuse 0.8 0
ambient <0, 0, 0>
emission 0
conserve_energy
}
#declare Window_mat_tex = texture {pigment {color
rgbft<0.8,0.8,0.8,0,0>}finish{Window_mat}}
#declare Floor_tex = texture {Floor_tex}
#declare Glass_tex = texture {Winglass_tex}
#declare Room_tex = texture {Room_mat_tex}
#declare Window_tex = texture {Window_mat_tex}
//--Mesh objects--
#declare Floor =
mesh {
triangle {<-17.36,-10.29,17.36>,<-17.36,-10.29,-17.36>,<17.36,-10.29,17.36>}
triangle {<-17.36,-10.29,-17.36>,<17.36,-10.29,-17.36>,<17.36,-10.29,17.36>}
texture{Floor_tex}
photons {reflection on target }
}
object {Floor}
#declare Glass =
mesh {
triangle
{<-4.989,6.703,-18.38>,<-4.989,-4.497,-18.38>,<-12.44,6.703,-18.38>}
triangle
{<-4.989,6.703,-18.48>,<-12.44,6.703,-18.48>,<-4.989,-4.497,-18.48>}
triangle {<-4.989,6.703,-18.38>,<-12.44,6.703,-18.38>,<-4.989,6.703,-18.48>}
triangle
{<-12.44,-4.497,-18.38>,<-4.989,-4.497,-18.38>,<-12.44,-4.497,-18.48>}
triangle
{<-12.44,6.703,-18.38>,<-12.44,-4.497,-18.38>,<-12.44,6.703,-18.48>}
triangle
{<-4.989,-4.497,-18.38>,<-4.989,6.703,-18.38>,<-4.989,-4.497,-18.48>}
triangle
{<-4.989,-4.497,-18.38>,<-12.44,-4.497,-18.38>,<-12.44,6.703,-18.38>}
triangle
{<-12.44,6.703,-18.48>,<-12.44,-4.497,-18.48>,<-4.989,-4.497,-18.48>}
triangle {<-12.44,6.703,-18.38>,<-12.44,6.703,-18.48>,<-4.989,6.703,-18.48>}
triangle
{<-4.989,-4.497,-18.38>,<-4.989,-4.497,-18.48>,<-12.44,-4.497,-18.48>}
triangle
{<-12.44,-4.497,-18.38>,<-12.44,-4.497,-18.48>,<-12.44,6.703,-18.48>}
triangle
{<-4.989,6.703,-18.38>,<-4.989,6.703,-18.48>,<-4.989,-4.497,-18.48>}
texture{Glass_tex}
photons {reflection on target }
}
object {Glass}
#declare Room =
mesh {
triangle {<-17.36,10.29,17.36>,<-17.36,10.29,-17.36>,<-17.36,-10.29,17.36>}
triangle {<-17.36,10.29,-17.36>,<17.36,10.29,-17.36>,<-12.54,6.876,-17.36>}
triangle {<17.36,10.29,-17.36>,<17.36,10.29,17.36>,<17.36,-10.29,-17.36>}
triangle {<17.36,10.29,17.36>,<-17.36,10.29,17.36>,<17.36,-10.29,17.36>}
triangle {<17.36,10.29,17.36>,<17.36,10.29,-17.36>,<-17.36,10.29,17.36>}
triangle
{<-17.36,-10.29,-17.36>,<-17.36,10.29,-17.36>,<-12.54,6.876,-17.36>}
triangle {<17.36,10.29,-17.36>,<17.36,-10.29,-17.36>,<-4.857,6.876,-17.36>}
triangle
{<17.36,-10.29,-17.36>,<-17.36,-10.29,-17.36>,<-12.54,-4.671,-17.36>}
triangle
{<-4.857,-4.671,-17.36>,<-12.54,-4.671,-17.36>,<-4.857,-4.671,-18.74>}
triangle
{<-12.54,-4.671,-17.36>,<-12.54,6.876,-17.36>,<-12.54,-4.671,-18.74>}
triangle {<-12.54,6.876,-17.36>,<-4.857,6.876,-17.36>,<-12.54,6.876,-18.74>}
triangle
{<-4.857,6.876,-17.36>,<-4.857,-4.671,-17.36>,<-4.857,6.876,-18.74>}
triangle
{<-17.36,10.29,-17.36>,<-17.36,-10.29,-17.36>,<-17.36,-10.29,17.36>}
triangle {<17.36,10.29,-17.36>,<-4.857,6.876,-17.36>,<-12.54,6.876,-17.36>}
triangle {<17.36,10.29,17.36>,<17.36,-10.29,17.36>,<17.36,-10.29,-17.36>}
triangle {<-17.36,10.29,17.36>,<-17.36,-10.29,17.36>,<17.36,-10.29,17.36>}
triangle {<17.36,10.29,-17.36>,<-17.36,10.29,-17.36>,<-17.36,10.29,17.36>}
triangle
{<-12.54,-4.671,-17.36>,<-17.36,-10.29,-17.36>,<-12.54,6.876,-17.36>}
triangle
{<17.36,-10.29,-17.36>,<-4.857,-4.671,-17.36>,<-4.857,6.876,-17.36>}
triangle
{<-4.857,-4.671,-17.36>,<17.36,-10.29,-17.36>,<-12.54,-4.671,-17.36>}
triangle
{<-12.54,-4.671,-17.36>,<-12.54,-4.671,-18.74>,<-4.857,-4.671,-18.74>}
triangle
{<-12.54,6.876,-17.36>,<-12.54,6.876,-18.74>,<-12.54,-4.671,-18.74>}
triangle {<-4.857,6.876,-17.36>,<-4.857,6.876,-18.74>,<-12.54,6.876,-18.74>}
triangle
{<-4.857,-4.671,-17.36>,<-4.857,-4.671,-18.74>,<-4.857,6.876,-18.74>}
texture{Room_tex}
photons { refraction on }
}
object {Room}
#declare Window =
mesh {
triangle {<-10.32,6.876,-18.62>,<-10.06,6.876,-18.62>,<-10.32,6.514,-18.62>}
triangle {<-12.54,6.876,-18.62>,<-10.32,6.876,-18.62>,<-10.32,6.514,-18.62>}
triangle
{<-10.06,-4.671,-18.62>,<-10.32,-4.671,-18.62>,<-10.32,-4.308,-18.62>}
triangle
{<-4.857,-4.671,-18.62>,<-10.06,-4.671,-18.62>,<-10.06,-4.308,-18.62>}
triangle
{<-12.54,-4.671,-18.62>,<-12.54,6.876,-18.62>,<-12.2,-4.308,-18.62>}
triangle {<-10.06,6.876,-18.62>,<-4.857,6.876,-18.62>,<-10.06,6.514,-18.62>}
triangle
{<-4.857,6.876,-18.62>,<-4.857,-4.671,-18.62>,<-5.196,6.514,-18.62>}
triangle
{<-10.32,-4.671,-18.62>,<-12.54,-4.671,-18.62>,<-10.32,-4.308,-18.62>}
triangle
{<-10.32,-4.671,-18.25>,<-10.32,-4.308,-18.25>,<-12.54,-4.671,-18.25>}
triangle
{<-10.06,-4.671,-18.25>,<-10.32,-4.671,-18.25>,<-10.06,-4.671,-18.62>}
triangle
{<-4.857,6.876,-18.25>,<-5.196,6.514,-18.25>,<-4.857,-4.671,-18.25>}
triangle
{<-4.857,-4.671,-18.25>,<-10.06,-4.671,-18.25>,<-4.857,-4.671,-18.62>}
triangle {<-10.06,6.876,-18.25>,<-10.06,6.514,-18.25>,<-4.857,6.876,-18.25>}
triangle
{<-10.32,-4.671,-18.25>,<-12.54,-4.671,-18.25>,<-10.32,-4.671,-18.62>}
triangle
{<-12.2,-4.308,-18.25>,<-10.32,-4.308,-18.25>,<-12.2,-4.308,-18.62>}
triangle
{<-12.54,-4.671,-18.25>,<-12.2,-4.308,-18.25>,<-12.54,6.876,-18.25>}
triangle
{<-4.857,-4.671,-18.25>,<-5.196,-4.308,-18.25>,<-10.06,-4.308,-18.25>}
triangle
{<-10.06,-4.671,-18.25>,<-10.06,-4.308,-18.25>,<-10.32,-4.308,-18.25>}
triangle {<-12.54,6.876,-18.25>,<-12.2,6.514,-18.25>,<-10.32,6.514,-18.25>}
triangle {<-10.32,6.876,-18.25>,<-10.32,6.514,-18.25>,<-10.06,6.876,-18.25>}
triangle {<-10.32,6.514,-18.25>,<-12.2,6.514,-18.25>,<-10.32,6.514,-18.62>}
triangle {<-12.2,6.514,-18.25>,<-12.2,-4.308,-18.25>,<-12.2,6.514,-18.62>}
triangle
{<-10.06,6.514,-18.25>,<-10.32,6.514,-18.25>,<-10.06,-4.308,-18.25>}
triangle
{<-12.54,-4.671,-18.25>,<-12.54,6.876,-18.25>,<-12.54,-4.671,-18.62>}
triangle {<-5.196,6.514,-18.25>,<-10.06,6.514,-18.25>,<-5.196,6.514,-18.62>}
triangle
{<-10.06,-4.308,-18.25>,<-5.196,-4.308,-18.25>,<-10.06,-4.308,-18.62>}
triangle {<-10.06,6.876,-18.25>,<-4.857,6.876,-18.25>,<-10.06,6.876,-18.62>}
triangle {<-12.54,6.876,-18.25>,<-10.32,6.876,-18.25>,<-12.54,6.876,-18.62>}
triangle
{<-5.196,-4.308,-18.25>,<-5.196,6.514,-18.25>,<-5.196,-4.308,-18.62>}
triangle
{<-10.06,6.514,-18.62>,<-10.06,6.514,-18.25>,<-10.06,-4.308,-18.62>}
triangle
{<-4.857,6.876,-18.25>,<-4.857,-4.671,-18.25>,<-4.857,6.876,-18.62>}
triangle {<-10.32,6.876,-18.25>,<-10.06,6.876,-18.25>,<-10.32,6.876,-18.62>}
triangle
{<-10.32,6.514,-18.25>,<-10.32,6.514,-18.62>,<-10.32,-4.308,-18.25>}
triangle
{<-10.32,6.514,-18.62>,<-10.06,6.514,-18.62>,<-10.32,-4.308,-18.62>}
triangle {<-10.06,6.876,-18.62>,<-10.06,6.514,-18.62>,<-10.32,6.514,-18.62>}
triangle {<-12.2,6.514,-18.62>,<-12.54,6.876,-18.62>,<-10.32,6.514,-18.62>}
triangle
{<-10.06,-4.308,-18.62>,<-10.06,-4.671,-18.62>,<-10.32,-4.308,-18.62>}
triangle
{<-5.196,-4.308,-18.62>,<-4.857,-4.671,-18.62>,<-10.06,-4.308,-18.62>}
triangle {<-12.54,6.876,-18.62>,<-12.2,6.514,-18.62>,<-12.2,-4.308,-18.62>}
triangle {<-4.857,6.876,-18.62>,<-5.196,6.514,-18.62>,<-10.06,6.514,-18.62>}
triangle
{<-4.857,-4.671,-18.62>,<-5.196,-4.308,-18.62>,<-5.196,6.514,-18.62>}
triangle
{<-12.54,-4.671,-18.62>,<-12.2,-4.308,-18.62>,<-10.32,-4.308,-18.62>}
triangle
{<-10.32,-4.308,-18.25>,<-12.2,-4.308,-18.25>,<-12.54,-4.671,-18.25>}
triangle
{<-10.32,-4.671,-18.25>,<-10.32,-4.671,-18.62>,<-10.06,-4.671,-18.62>}
triangle
{<-5.196,6.514,-18.25>,<-5.196,-4.308,-18.25>,<-4.857,-4.671,-18.25>}
triangle
{<-10.06,-4.671,-18.25>,<-10.06,-4.671,-18.62>,<-4.857,-4.671,-18.62>}
triangle {<-10.06,6.514,-18.25>,<-5.196,6.514,-18.25>,<-4.857,6.876,-18.25>}
triangle
{<-12.54,-4.671,-18.25>,<-12.54,-4.671,-18.62>,<-10.32,-4.671,-18.62>}
triangle
{<-10.32,-4.308,-18.25>,<-10.32,-4.308,-18.62>,<-12.2,-4.308,-18.62>}
triangle {<-12.2,-4.308,-18.25>,<-12.2,6.514,-18.25>,<-12.54,6.876,-18.25>}
triangle
{<-10.06,-4.671,-18.25>,<-4.857,-4.671,-18.25>,<-10.06,-4.308,-18.25>}
triangle
{<-10.32,-4.671,-18.25>,<-10.06,-4.671,-18.25>,<-10.32,-4.308,-18.25>}
triangle {<-10.32,6.876,-18.25>,<-12.54,6.876,-18.25>,<-10.32,6.514,-18.25>}
triangle {<-10.32,6.514,-18.25>,<-10.06,6.514,-18.25>,<-10.06,6.876,-18.25>}
triangle {<-12.2,6.514,-18.25>,<-12.2,6.514,-18.62>,<-10.32,6.514,-18.62>}
triangle {<-12.2,-4.308,-18.25>,<-12.2,-4.308,-18.62>,<-12.2,6.514,-18.62>}
triangle
{<-10.32,6.514,-18.25>,<-10.32,-4.308,-18.25>,<-10.06,-4.308,-18.25>}
triangle
{<-12.54,6.876,-18.25>,<-12.54,6.876,-18.62>,<-12.54,-4.671,-18.62>}
triangle {<-10.06,6.514,-18.25>,<-10.06,6.514,-18.62>,<-5.196,6.514,-18.62>}
triangle
{<-5.196,-4.308,-18.25>,<-5.196,-4.308,-18.62>,<-10.06,-4.308,-18.62>}
triangle {<-4.857,6.876,-18.25>,<-4.857,6.876,-18.62>,<-10.06,6.876,-18.62>}
triangle {<-10.32,6.876,-18.25>,<-10.32,6.876,-18.62>,<-12.54,6.876,-18.62>}
triangle
{<-5.196,6.514,-18.25>,<-5.196,6.514,-18.62>,<-5.196,-4.308,-18.62>}
triangle
{<-10.06,6.514,-18.25>,<-10.06,-4.308,-18.25>,<-10.06,-4.308,-18.62>}
triangle
{<-4.857,-4.671,-18.25>,<-4.857,-4.671,-18.62>,<-4.857,6.876,-18.62>}
triangle {<-10.06,6.876,-18.25>,<-10.06,6.876,-18.62>,<-10.32,6.876,-18.62>}
triangle
{<-10.32,6.514,-18.62>,<-10.32,-4.308,-18.62>,<-10.32,-4.308,-18.25>}
triangle
{<-10.06,6.514,-18.62>,<-10.06,-4.308,-18.62>,<-10.32,-4.308,-18.62>}
texture{Window_tex}
photons { refraction on }
}
object {Window}
//--Shapes declare--
//--Shapes objects--
//--Lamps--
light_source {
<-5.08,220,-251>
color rgb<2.36, 2.36, 2.36>
parallel
point_at <0, 0, -1>
}
light_source {
<0,0,0>
color rgb<0.1, 0.1, 0.1>
media_interaction off
}
//--Cameras--
camera {
perspective
location <0, 0, 0>
look_at <0, 0, -1>
right <-1.7777777777777777, 0, 0>
up <0, 1, 0>
angle 96.805211
rotate <-0.361713, 87.896646, -0.000068>
translate <14.365375, -4.016157, 0.601173>
}
//--Scattering media box--
Post a reply to this message
|
|