diff options
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,17 @@ # mirror-ball +To use a latitude longitude map when lighting a sphere in the environment, the +reflection vector at every point on the sphere is used to get it's colour. As a +simplification, the sphere is assumed to be a perfect mirror, so that one +reflection vector is enough to get the right colour. + +The latitude longitude map was created by taking a photo of a mirror ball and +mapping the spherical coordinates to a rectangle. + +![latlong map](/data/urbanEM_latlong.png) + +## Building and run + To compile and run, one has to first download [stack](https://docs.haskellstack.org/en/stable/README/) |