-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to Analog polarization camera? #832
Comments
This was referenced Aug 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
The result of the rendered stokes vector is not as expected (there is a rectangle with "linearly polarized" material in front of the camera)
System configuration
System information:
OS: windows 11
Python version: 3.9
Mitsuba version: 3.0
Variants compiled: "llvm_spectral_polarized"
Description
I try to put a polarizer in front of the camera (polarizer is defined by the rectangle of the polarizer through the material) to simulate the polarizer camera. I convert the positions of the polarizer and camera according to my understanding. Because this is the first time I have contact with and learn to apply mitsuba3 rendering, there may be errors in the position transformation. If I understand correctly the polaroid should be 0.5 in front of the camera.
The angle of the polarizer is 0 degree, according to my knowledge, S0 should equal to S1 and S2=0, but the result display S1=0, S2!=0
the code and result are display as following(really need help, thank you very much!)
meshes that i used in the code
meshes.zip
Steps to reproduce
'to_world':T.rotate([0,1,0],90).translate([0,0,75]).rotate([0,0,1],90).rotate([0,1,0],180),
'to_world':T.rotate([0, 1, 0], 90).translate([0,0,74.5]).rotate([0,0,1],0),
The text was updated successfully, but these errors were encountered: