|
|
It looks to me like the direction is incorrect when a parallel light source is
translated. In the minimal file below, I would expect the sphere to be
illuminated by yellow light from the left, since both red and green parallel
light sources are located to the left. Instead, it appears to be incorrectly
illuminated uniformly by the first red light, and only the second green light
appears to be coming from the left.
#version 3.7;
light_source {
<0,0,0>
color rgb <1,0,0>
parallel // It doesn't matter if here or below.
translate -10*x
//parallel
}
light_source {
-10*x
color rgb <0,1,0>
parallel
}
sphere {<0,0,0>,1
pigment{color rgb 1}
}
camera {
location -3*z
look_at 0
}
/*
Ubuntu 10.04 (lucid), Kernel Linux 2.6.32.5-generic
povray --version
povray: This is a RELEASE CANDIDATE version of POV-Ray. General distribution is
discouraged.
POV-Ray 3.7.0.RC3
This is a release candidate of POV-Ray version 3.7.0.
General distribution is strongly discouraged.
Copyright 1991-2003 Persistence of Vision Team
Copyright 2003-2011 Persistence of Vision Raytracer Pty. Ltd.
Built-in features:
I/O restrictions: enabled
X Window display: enabled (using SDL)
Supported image formats: gif tga iff ppm pgm hdr png jpeg tiff openexr
Unsupported image formats: -
Compilation settings:
Build architecture: x86_64-unknown-linux-gnu
Built/Optimized for: x86_64-unknown-linux-gnu (using -march=native)
Compiler vendor: gnu
Compiler version: g++ 4.4.3
Compiler flags: -pipe -Wno-multichar -Wno-write-strings
-fno-enforce-eh-specs -s -O3 -ffast-math -march=native -pthread
*/
Post a reply to this message
|
|