diff options
author | Yann Herklotz Grave <git@yannherklotzgrave.com> | 2019-03-28 18:12:27 +0000 |
---|---|---|
committer | Yann Herklotz Grave <git@yannherklotzgrave.com> | 2019-03-28 18:12:27 +0000 |
commit | f89d942695b0c4d114fae1f59260707a5e9f8567 (patch) | |
tree | c391b29f2f78fe116f4017339127682053fc522c | |
parent | fc9dbd4573ee2581c53bad5e7b29f2780e04d85a (diff) | |
download | mirror-ball-master.tar.gz mirror-ball-master.zip |
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |