guiqi134 / Area-ReSTIR

Source Code (Direct Lighting Part) for SIGGRAPH 2024 Paper "Area ReSTIR: Resampling for Real-Time Defocus and Antialiasing"
Other
151 stars 12 forks source link

Point light does not work #1

Open swfly opened 2 months ago

swfly commented 2 months ago

Hello nice technique and congratulations on SIGGRAPH publication.

I am trying to run your code with some simple scenes, but I encounter this issue that when the scene only contains a point light, the result is totally black when I enable Area ReSTIR (when disabled, the scene is normally illuminated). Is this by design or am I missing any point? Thanks!

guiqi134 commented 1 month ago

Sorry for the late response.

I have imported the built-in cornell box (\media\test_scenes\cornell_box_bunny.pyscene), and replace the emissive light with a point light. It seems Area ReSTIR still works under this case (see the attached image).

If you're still having this issue, do you mind provide more infomation/images?

image