aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz Grave <git@yannherklotzgrave.com>2019-03-28 18:12:27 +0000
committerYann Herklotz Grave <git@yannherklotzgrave.com>2019-03-28 18:12:27 +0000
commitf89d942695b0c4d114fae1f59260707a5e9f8567 (patch)
treec391b29f2f78fe116f4017339127682053fc522c
parentfc9dbd4573ee2581c53bad5e7b29f2780e04d85a (diff)
downloadmirror-ball-master.tar.gz
mirror-ball-master.zip
Added finalHEADmaster
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1f2ff17..6d551bd 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,12 @@ using the following formula: `r = 2 (n . v) n - v`.
![reflection map](/data/reflect.png)
+The reflection vector can be converted to spherical coordinates, which can in
+turn be used to index into the lat-long map. The colour at the indexed pixel is
+then set to the position that has that normal.
+
+![final](/data/final.png)
+
## Building and run
To compile and run, one has to first download