Skip to content
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

rendered polarized images are the same with different polarization angle #540

Closed
jiazhangW opened this issue Feb 13, 2023 · 3 comments
Closed

Comments

@jiazhangW
Copy link

Hello,

I am rendering polarized images. Basically, I put a linear polarizer in front of the camera. But when I rotate the filter, the rendered images are the same. I attached my xml below. Please correct me if you find anything wrong. Thanks!

<sampler type="ldsampler">
    <integer name="sample_count" value="64" />
</sampler>
<film type="hdrfilm">
    <integer name="width" value="256" />
    <integer name="height" value="256" />
    <rfilter type="gaussian" />
</film>
<transform name="to_world">
    <scale x="10" y="10" z="10"/>
    <translate x="0" y="0" z="-2.9" />
    <rotate x="0" y="0" z="1" angle="90"/>
    <rotate x="1" y="0" z="0" angle="-90"/>

</transform>
@tizian
Copy link
Contributor

tizian commented Feb 14, 2023

Are you sure you're rendering in a polarized mode? E.g. scalar_spectral_polarized?

@jiazhangW
Copy link
Author

Yes, I did. Sorry I didn't notice that the attached code is incomplete. But I already solve the problem by checking your previous reply. I didn't specify a material for the conductor bsdf. Thanks!

@wxw19990405
Copy link

Hi! @jiazhangW
I am trying to do the same thing as you do. I also put a polarizer in front of the camera to simulate the polarized camera but i meet different problems. Can you please help me figure out why this problem happend? i already opened a issue here #832 (comment), thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants