shaunlebron / blinky

Exploring peripheral vision in games (using Quake)
MIT License
687 stars 26 forks source link

[bug] tetrahedron globe plate FOVs too large #60

Closed shaunlebron closed 13 years ago

shaunlebron commented 13 years ago

After viewing the tetra globe using the debug lens with rubix on, the FOVs seem too large because the triangle grid has a comfortable margin the squares. Need to re-evaluate the math, but it is atleast a testament to the usefulness and accuracy of the dynamic ray calculation of the plate pixels.

shaunlebron commented 13 years ago

Turns out that the face-to-vertex distance is larger than half the side length. I was basing the FOV calculation on the smaller. Fixed.