|
|
I am running PovRay v3.5, Windows 98 with an Athlon 1GHz processor and 256Mb
of memory.
When rendering a transparent object using the following:
rgbf<1.0, 0.0, 0.0, 1.0>
reflection { 0.17, 1.0 fresnel on }
conserve_energy
with NO dispersion, I get a black image.
Change the color to rgbf<0.0, 1.0, 0.0, 1.0> and I get a bright green image.
Change the color to rgbf<0.0, 0.0, 1.0, 1.0> and I get a bright blue image.
Any value of red only produces a black image.
A red value with a green and/or blue value seems to work fine.
Is this part of the problem I reported on Jan. 19, 2003 or is this something
different?
Here is my scene file:
#version 3.5;
global_settings { assumed_gamma 2.2 }
#include "colors.inc"
#declare CrnTan = tan(radians(34.0));
#declare PavTan = tan(radians(42.5));
#declare Color = rgbf<1.0, 0.0, 0.0, 1.0>;
#declare MaxY = 0.42786;
#declare MinY = -0.941979;
#declare CrnY = 0.037679;
#declare Y0 = (0.037679 - CrnY) * CrnTan + CrnY;
#declare Y1 = (0.313579 - CrnY) * CrnTan + CrnY;
#declare Y2 = (0.42786 - CrnY) * CrnTan + CrnY;
#declare PavY = 0;
#declare Y3 = (0 - PavY) * PavTan + PavY;
#declare Y4 = (-0.627986 - PavY) * PavTan + PavY;
#declare Y5 = (-0.941979 - PavY) * PavTan + PavY;
#declare Gem =
union
{
// Crown Triangles
triangle {
<0.36048, Y0, 0.870275>,
<0, Y0, 0.941979>,
<0.275899, Y1, 0.66608> }
triangle {
<0.66608, Y0, 0.66608>,
<0.36048, Y0, 0.870275>,
<0.275899, Y1, 0.66608> }
triangle {
<0.870275, Y0, 0.36048>,
<0.66608, Y0, 0.66608>,
<0.66608, Y1, 0.275899> }
triangle {
<0.941979, Y0, 0>,
<0.870275, Y0, 0.36048>,
<0.66608, Y1, 0.275899> }
triangle {
<0.870275, Y0, -0.36048>,
<0.941979, Y0, 0>,
<0.66608, Y1, -0.275899> }
triangle {
<0.66608, Y0, -0.66608>,
<0.870275, Y0, -0.36048>,
<0.66608, Y1, -0.275899> }
triangle {
<0.36048, Y0, -0.870275>,
<0.66608, Y0, -0.66608>,
<0.275899, Y1, -0.66608> }
triangle {
<0, Y0, -0.941979>,
<0.36048, Y0, -0.870275>,
<0.275899, Y1, -0.66608> }
triangle {
<-0.36048, Y0, -0.870275>,
<0, Y0, -0.941979>,
<-0.275899, Y1, -0.66608> }
triangle {
<-0.66608, Y0, -0.66608>,
<-0.36048, Y0, -0.870275>,
<-0.275899, Y1, -0.66608> }
triangle {
<-0.870275, Y0, -0.36048>,
<-0.66608, Y0, -0.66608>,
<-0.66608, Y1, -0.275899> }
triangle {
<-0.941979, Y0, 0>,
<-0.870275, Y0, -0.36048>,
<-0.66608, Y1, -0.275899> }
triangle {
<-0.870275, Y0, 0.36048>,
<-0.941979, Y0, 0>,
<-0.66608, Y1, 0.275899> }
triangle {
<-0.66608, Y0, 0.66608>,
<-0.870275, Y0, 0.36048>,
<-0.66608, Y1, 0.275899> }
triangle {
<-0.36048, Y0, 0.870275>,
<-0.66608, Y0, 0.66608>,
<-0.275899, Y1, 0.66608> }
triangle {
<0, Y0, 0.941979>,
<-0.36048, Y0, 0.870275>,
<-0.275899, Y1, 0.66608> }
triangle {
<0.275899, Y1, 0.66608>,
<0, Y0, 0.941979>,
<-0.275899, Y1, 0.66608> }
triangle {
<0.275899, Y1, 0.66608>,
<-0.275899, Y1, 0.66608>,
<0, Y2, 0.551799> }
triangle {
<0.66608, Y0, 0.66608>,
<0.275899, Y1, 0.66608>,
<0.390181, Y2, 0.390181> }
triangle {
<0.66608, Y0, 0.66608>,
<0.390181, Y2, 0.390181>,
<0.66608, Y1, 0.275899> }
triangle {
<0.941979, Y0, 0>,
<0.66608, Y1, 0.275899>,
<0.551799, Y2, 0> }
triangle {
<0.941979, Y0, 0>,
<0.551799, Y2, 0>,
<0.66608, Y1, -0.275899> }
triangle {
<0.66608, Y0, -0.66608>,
<0.66608, Y1, -0.275899>,
<0.390181, Y2, -0.390181> }
triangle {
<0.66608, Y0, -0.66608>,
<0.390181, Y2, -0.390181>,
<0.275899, Y1, -0.66608> }
triangle {
<0, Y0, -0.941979>,
<0.275899, Y1, -0.66608>,
<0, Y2, -0.551799> }
triangle {
<0, Y0, -0.941979>,
<0, Y2, -0.551799>,
<-0.275899, Y1, -0.66608> }
triangle {
<-0.66608, Y0, -0.66608>,
<-0.275899, Y1, -0.66608>,
<-0.390181, Y2, -0.390181> }
triangle {
<-0.66608, Y0, -0.66608>,
<-0.390181, Y2, -0.390181>,
<-0.66608, Y1, -0.275899> }
triangle {
<-0.941979, Y0, 0>,
<-0.66608, Y1, -0.275899>,
<-0.551799, Y2, 0> }
triangle {
<-0.941979, Y0, 0>,
<-0.551799, Y2, 0>,
<-0.66608, Y1, 0.275899> }
triangle {
<-0.66608, Y0, 0.66608>,
<-0.66608, Y1, 0.275899>,
<-0.390181, Y2, 0.390181> }
triangle {
<-0.66608, Y0, 0.66608>,
<-0.390181, Y2, 0.390181>,
<-0.275899, Y1, 0.66608> }
triangle {
<0, Y2, 0.551799>,
<-0.275899, Y1, 0.66608>,
<-0.390181, Y2, 0.390181> }
triangle {
<0.275899, Y1, 0.66608>,
<0, Y2, 0.551799>,
<0.390181, Y2, 0.390181> }
triangle {
<0.66608, Y1, 0.275899>,
<0.390181, Y2, 0.390181>,
<0.551799, Y2, 0> }
triangle {
<0.66608, Y1, -0.275899>,
<0.551799, Y2, 0>,
<0.390181, Y2, -0.390181> }
triangle {
<0.275899, Y1, -0.66608>,
<0.390181, Y2, -0.390181>,
<0, Y2, -0.551799> }
triangle {
<-0.275899, Y1, -0.66608>,
<0, Y2, -0.551799>,
<-0.390181, Y2, -0.390181> }
triangle {
<-0.66608, Y1, -0.275899>,
<-0.390181, Y2, -0.390181>,
<-0.551799, Y2, 0> }
triangle {
<-0.66608, Y1, 0.275899>,
<-0.551799, Y2, 0>,
<-0.390181, Y2, 0.390181> }
triangle {
<0, Y2, 0.551799>,
<-0.390181, Y2, 0.390181>,
<-0.551799, Y2, 0>
pigment { Color }
finish {
ambient 0
diffuse 0
reflection 0.1
}
}
triangle {
<0, Y2, 0.551799>,
<-0.551799, Y2, 0>,
<-0.390181, Y2, -0.390181>
pigment { Color }
finish {
ambient 0
diffuse 0
reflection 0.1
}
}
triangle {
<0, Y2, 0.551799>,
<-0.390181, Y2, -0.390181>,
<0, Y2, -0.551799>
pigment { Color }
finish {
ambient 0
diffuse 0
reflection 0.1
}
}
triangle {
<0, Y2, 0.551799>,
<0, Y2, -0.551799>,
<0.390181, Y2, -0.390181>
pigment { Color }
finish {
ambient 0
diffuse 0
reflection 0.1
}
}
triangle {
<0, Y2, 0.551799>,
<0.390181, Y2, -0.390181>,
<0.551799, Y2, 0>
pigment { Color }
finish {
ambient 0
diffuse 0
reflection 0.1
}
}
triangle {
<0, Y2, 0.551799>,
<0.551799, Y2, 0>,
<0.390181, Y2, 0.390181>
pigment { Color }
finish {
ambient 0
diffuse 0
reflection 0.1
}
}
// Girdle Triangles
triangle {
<-0.36048, Y3, 0.870275>,
<-0.36048, Y0, 0.870275>,
<0, Y0, 0.941979> }
triangle {
<-0.36048, Y3, 0.870275>,
<0, Y0, 0.941979>,
<0, Y3, 0.941979> }
triangle {
<-0.36048, Y0, 0.870275>,
<-0.36048, Y3, 0.870275>,
<-0.66608, Y3, 0.66608> }
triangle {
<-0.36048, Y0, 0.870275>,
<-0.66608, Y3, 0.66608>,
<-0.66608, Y0, 0.66608> }
triangle {
<-0.66608, Y0, 0.66608>,
<-0.66608, Y3, 0.66608>,
<-0.870275, Y3, 0.36048> }
triangle {
<-0.66608, Y0, 0.66608>,
<-0.870275, Y3, 0.36048>,
<-0.870275, Y0, 0.36048> }
triangle {
<-0.870275, Y0, 0.36048>,
<-0.870275, Y3, 0.36048>,
<-0.941979, Y3, 0> }
triangle {
<-0.870275, Y0, 0.36048>,
<-0.941979, Y3, 0>,
<-0.941979, Y0, 0> }
triangle {
<-0.941979, Y0, 0>,
<-0.941979, Y3, 0>,
<-0.870275, Y3, -0.36048> }
triangle {
<-0.941979, Y0, 0>,
<-0.870275, Y3, -0.36048>,
<-0.870275, Y0, -0.36048> }
triangle {
<-0.870275, Y0, -0.36048>,
<-0.870275, Y3, -0.36048>,
<-0.66608, Y3, -0.66608> }
triangle {
<-0.870275, Y0, -0.36048>,
<-0.66608, Y3, -0.66608>,
<-0.66608, Y0, -0.66608> }
triangle {
<-0.66608, Y0, -0.66608>,
<-0.66608, Y3, -0.66608>,
<-0.36048, Y3, -0.870275> }
triangle {
<-0.66608, Y0, -0.66608>,
<-0.36048, Y3, -0.870275>,
<-0.36048, Y0, -0.870275> }
triangle {
<-0.36048, Y0, -0.870275>,
<-0.36048, Y3, -0.870275>,
<0, Y3, -0.941979> }
triangle {
<-0.36048, Y0, -0.870275>,
<0, Y3, -0.941979>,
<0, Y0, -0.941979> }
triangle {
<0, Y0, -0.941979>,
<0, Y3, -0.941979>,
<0.36048, Y3, -0.870275> }
triangle {
<0, Y0, -0.941979>,
<0.36048, Y3, -0.870275>,
<0.36048, Y0, -0.870275> }
triangle {
<0.36048, Y0, -0.870275>,
<0.36048, Y3, -0.870275>,
<0.66608, Y3, -0.66608> }
triangle {
<0.36048, Y0, -0.870275>,
<0.66608, Y3, -0.66608>,
<0.66608, Y0, -0.66608> }
triangle {
<0.66608, Y0, -0.66608>,
<0.66608, Y3, -0.66608>,
<0.870275, Y3, -0.36048> }
triangle {
<0.66608, Y0, -0.66608>,
<0.870275, Y3, -0.36048>,
<0.870275, Y0, -0.36048> }
triangle {
<0.870275, Y0, -0.36048>,
<0.870275, Y3, -0.36048>,
<0.941979, Y3, 0> }
triangle {
<0.870275, Y0, -0.36048>,
<0.941979, Y3, 0>,
<0.941979, Y0, 0> }
triangle {
<0.941979, Y0, 0>,
<0.941979, Y3, 0>,
<0.870275, Y3, 0.36048> }
triangle {
<0.941979, Y0, 0>,
<0.870275, Y3, 0.36048>,
<0.870275, Y0, 0.36048> }
triangle {
<0.870275, Y0, 0.36048>,
<0.870275, Y3, 0.36048>,
<0.66608, Y3, 0.66608> }
triangle {
<0.870275, Y0, 0.36048>,
<0.66608, Y3, 0.66608>,
<0.66608, Y0, 0.66608> }
triangle {
<0.66608, Y0, 0.66608>,
<0.66608, Y3, 0.66608>,
<0.36048, Y3, 0.870275> }
triangle {
<0.66608, Y0, 0.66608>,
<0.36048, Y3, 0.870275>,
<0.36048, Y0, 0.870275> }
triangle {
<0, Y3, 0.941979>,
<0, Y0, 0.941979>,
<0.36048, Y0, 0.870275> }
triangle {
<0, Y3, 0.941979>,
<0.36048, Y0, 0.870275>,
<0.36048, Y3, 0.870275> }
// Pavilion Triangles
triangle {
<-0.36048, Y3, 0.870275>,
<0, Y3, 0.941979>,
<-0.13006, Y4, 0.313993> }
triangle {
<-0.66608, Y3, 0.66608>,
<-0.36048, Y3, 0.870275>,
<-0.13006, Y4, 0.313993> }
triangle {
<-0.870275, Y3, 0.36048>,
<-0.66608, Y3, 0.66608>,
<-0.313993, Y4, 0.13006> }
triangle {
<-0.941979, Y3, 0>,
<-0.870275, Y3, 0.36048>,
<-0.313993, Y4, 0.13006> }
triangle {
<-0.870275, Y3, -0.36048>,
<-0.941979, Y3, 0>,
<-0.313993, Y4, -0.13006> }
triangle {
<-0.66608, Y3, -0.66608>,
<-0.870275, Y3, -0.36048>,
<-0.313993, Y4, -0.13006> }
triangle {
<-0.36048, Y3, -0.870275>,
<-0.66608, Y3, -0.66608>,
<-0.13006, Y4, -0.313993> }
triangle {
<0, Y3, -0.941979>,
<-0.36048, Y3, -0.870275>,
<-0.13006, Y4, -0.313993> }
triangle {
<0.36048, Y3, -0.870275>,
<0, Y3, -0.941979>,
<0.13006, Y4, -0.313993> }
triangle {
<0.66608, Y3, -0.66608>,
<0.36048, Y3, -0.870275>,
<0.13006, Y4, -0.313993> }
triangle {
<0.870275, Y3, -0.36048>,
<0.66608, Y3, -0.66608>,
<0.313993, Y4, -0.13006> }
triangle {
<0.941979, Y3, 0>,
<0.870275, Y3, -0.36048>,
<0.313993, Y4, -0.13006> }
triangle {
<0.870275, Y3, 0.36048>,
<0.941979, Y3, 0>,
<0.313993, Y4, 0.13006> }
triangle {
<0.66608, Y3, 0.66608>,
<0.870275, Y3, 0.36048>,
<0.313993, Y4, 0.13006> }
triangle {
<0.36048, Y3, 0.870275>,
<0.66608, Y3, 0.66608>,
<0.13006, Y4, 0.313993> }
triangle {
<0, Y3, 0.941979>,
<0.36048, Y3, 0.870275>,
<0.13006, Y4, 0.313993> }
triangle {
<-0.13006, Y4, 0.313993>,
<0, Y3, 0.941979>,
<0.13006, Y4, 0.313993> }
triangle {
<-0.13006, Y4, 0.313993>,
<0.13006, Y4, 0.313993>,
<0, Y5, 0> }
triangle {
<-0.66608, Y3, 0.66608>,
<-0.13006, Y4, 0.313993>,
<0, Y5, 0> }
triangle {
<-0.66608, Y3, 0.66608>,
<0, Y5, 0>,
<-0.313993, Y4, 0.13006> }
triangle {
<-0.941979, Y3, 0>,
<-0.313993, Y4, 0.13006>,
<0, Y5, 0> }
triangle {
<-0.941979, Y3, 0>,
<0, Y5, 0>,
<-0.313993, Y4, -0.13006> }
triangle {
<-0.66608, Y3, -0.66608>,
<-0.313993, Y4, -0.13006>,
<0, Y5, 0> }
triangle {
<-0.66608, Y3, -0.66608>,
<0, Y5, 0>,
<-0.13006, Y4, -0.313993> }
triangle {
<0, Y3, -0.941979>,
<-0.13006, Y4, -0.313993>,
<0, Y5, 0> }
triangle {
<0, Y3, -0.941979>,
<0, Y5, 0>,
<0.13006, Y4, -0.313993> }
triangle {
<0.66608, Y3, -0.66608>,
<0.13006, Y4, -0.313993>,
<0, Y5, 0> }
triangle {
<0.66608, Y3, -0.66608>,
<0, Y5, 0>,
<0.313993, Y4, -0.13006> }
triangle {
<0.941979, Y3, 0>,
<0.313993, Y4, -0.13006>,
<0, Y5, 0> }
triangle {
<0.941979, Y3, 0>,
<0, Y5, 0>,
<0.313993, Y4, 0.13006> }
triangle {
<0.66608, Y3, 0.66608>,
<0.313993, Y4, 0.13006>,
<0, Y5, 0> }
triangle {
<0.66608, Y3, 0.66608>,
<0, Y5, 0>,
<0.13006, Y4, 0.313993> }
}
camera {
perspective
location <0, 8, 0>
right <4/3, 0, 0>
up <0, 1, 0>
direction <0, 0, 1>
look_at <0, 0, 0>
angle 20
}
light_source { <0, 1000, 0> color White parallel point_at <0, 0, 0> }
sky_sphere {
pigment {
gradient y
color_map {
[(1-cos(radians(110)))/2 color Gray80]
[(1-cos(radians(140)))/2 color Gray50]
}
scale 2
translate -1
}
}
object {Gem
pigment { Color }
finish {
ambient 0
diffuse 0
specular 0.8
roughness 0.005
reflection { 0.17, 1.0 fresnel on }
conserve_energy
}
interior {
ior 2.417
}
}
Dick Conley
dic### [at] localaccesscom
Post a reply to this message
|
|