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

Fixed order in constructor of m_pathSampler #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joeylitalien
Copy link

@joeylitalien joeylitalien commented May 5, 2019

In the implementation of PSSMLT, m_sensorSampler and m_emitterSampler are swapped. The object initialization for m_pathSampler does not follow the PathSampler's default constructor signature. You can check that this is the case if you run PSSMLT with unidirectional path tracing: only the emitter sampler is used. Unless this is done on purpose, it should be fixed.

@tszirr
Copy link

tszirr commented Mar 31, 2020

Actually, the path sampler header and uses in instantiations are consistent. What needs to be fixed, is the inconsistent parameter name order in PathSampler.cpp (Otherwise, this pull request just introduces a different inconsistency)

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

Successfully merging this pull request may close these issues.

2 participants