Troy Stephen (troys++at++wormald.com.au)
Tue, 11 Oct 1994 17:17:21 +1000 (AEST)
I am currently witnessing some strange problems associated with Performer's
Earth-Sky Model when I use asymetric channels.
When using the PFES_SKY_GRND and PFES_SKY_CLEAR models and specifying an
asymetric channel with a FOV of 45 degrees, it appears that Performer
fails to calculate the coordinates for the earth-sky model correctly and as a
result it is possible to see past the sides of the sky, horizon and ground
polygons.
The easiest way to reproduce this problem is to modify the program
"earthsky.c" which is in the Performer/src/pguide/libpf/progs directory:
replace the line: pfChanFOV(chan, 45.0f, 0.0f);
with: pfMakePerspFrust( chan, -1.0, 0.0, -0.5, 0.5 );
When you execute the program now, you will see the left edges of the sky,
horizon and ground polygons within the viewing frustum.
Thanks in advance for any solutions,
Troy Stephen.
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:35 PDT