README.md aktualisiert
This commit is contained in:
parent
eda62c335b
commit
971bfc6394
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ In the later part I implemented Schlick's Approximation which approximates the r
|
||||||
Here I got some strange result (actually I already noticed that the previous render had a strange cyan sheen on the upper part of the ball, but dismissed it as a result of inaccuracies).
|
Here I got some strange result (actually I already noticed that the previous render had a strange cyan sheen on the upper part of the ball, but dismissed it as a result of inaccuracies).
|
||||||
|
|
||||||
I oddly enough got this wrong result, when trying to render the hollow ball:
|
I oddly enough got this wrong result, when trying to render the hollow ball:
|
||||||
<img src="https://imgur.com/a/ylcvwWi" width="480"/>
|
<img src="https://preview.redd.it/some-projects-ive-been-working-on-3-v0-7biqlfxt1emc1.png?width=570&format=png&auto=webp&s=7931c97310e94b91b0ca363d7ce83d5bfeb7524f" width="480"/>
|
||||||
|
|
||||||
It took me some time to find the error and believe it or not, it was the 3% inaccuracy caused by the fast inverse square algorithm! I had to remove it and replace it with a more simple and accurate but slower calculation. The slow down is small but visible! Now I get:
|
It took me some time to find the error and believe it or not, it was the 3% inaccuracy caused by the fast inverse square algorithm! I had to remove it and replace it with a more simple and accurate but slower calculation. The slow down is small but visible! Now I get:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue