chunky-dev / chunky-dev/chunky

Ray leakage through diagonal walls (precision)

Open
#799 0 comments 0 reactions 0 assignees View on GitHub
bug renderer
Dominant language
Java
Stars
738
Forks
78
Avg merge
10h 5m
Merged PRs (30d)
3

Description

Rays can leak through diagonal walls. Below I have tested with emitters however this is noticeable with both sun and sky rays as well.

ie

| air | solid |
|-------|-------|
| solid | air |

---

**Test setup**

Emitter which is blocked off:
![image](https://user-images.githubusercontent.com/3740917/106177084-fdba6180-618f-11eb-8f2d-a8471bca1438.png)

The missing corner:
![image](https://user-images.githubusercontent.com/3740917/106177125-0ad75080-6190-11eb-9208-6b9a351d90fb.png)

Example render with ESS:None
![image](https://user-images.githubusercontent.com/3740917/106178813-22afd400-6192-11eb-9da1-1d3f448d0bc8.png)

Example render with ESS:All; Additional emitter sampling is causing more leakage per sample.
![image](https://user-images.githubusercontent.com/3740917/106179018-5f7bcb00-6192-11eb-974c-f7325e32173c.png)

---

Test scene:
[TestScene.zip](https://github.com/chunky-dev/chunky/files/5889193/TestScene.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.