mmp / pbrt-v3

Source code for pbrt, the renderer described in the third edition of "Physically Based Rendering: From Theory To Implementation", by Matt Pharr, Wenzel Jakob, and Greg Humphreys.
http://pbrt.org
BSD 2-Clause "Simplified" License
4.89k stars 1.19k forks source link

Is there a way to add polarization of light into the PBRT? #241

Closed Xie-Jian closed 4 years ago

Xie-Jian commented 5 years ago

Hi,

Thank you very much for this excellent book and excellent code from the author.

I want to do some experiments on infrared polarization in my master thesis and try to make some modifications to the PBRT to support this idea. Is this feasible, and is there some suggestion as to which changes should be made?

Thank you in advance for your suggestions and look forward to your reply.

wangchi87 commented 5 years ago

Hi, I have actually tried to do this before, you have to modify the whole spectrum and brdf part to support Stokes Vector and Muller Matrix.

We actually have a open source renderer that support polarisation. http://cgg.mff.cuni.cz/ART/