PCV/AO calculated under orthographic or perspective mode?
Posted: Mon Apr 02, 2018 3:02 pm
Hello Daniel,
Recently I am learning the source code of CC, yet I have a question about the calculation of PCV/AO. Is the depth or tz calculated under orthographic mode? I saw these comments in the CHANGELOG.md, but I also see the gluLookAt used in the code.
"Note that only the normals are taken into account as the lighting direction is simulated in orthographic mode (no perspective, i.e. the relative position of the light source has no effect on the result"
I am a newbie of OpenGL, and not sure if I misunderstand the code.
By the way, I am also interested in the function of "Gradient", and the doxygen recommonds to read your ph.D paper. However the paper was written in French. May I ask you for an English version or some related papers ?
My gratitude at last.
Thanks a lot! To the excellent CC and Daniel and other contributors. Hope you all well.
Recently I am learning the source code of CC, yet I have a question about the calculation of PCV/AO. Is the depth or tz calculated under orthographic mode? I saw these comments in the CHANGELOG.md, but I also see the gluLookAt used in the code.
"Note that only the normals are taken into account as the lighting direction is simulated in orthographic mode (no perspective, i.e. the relative position of the light source has no effect on the result"
I am a newbie of OpenGL, and not sure if I misunderstand the code.
By the way, I am also interested in the function of "Gradient", and the doxygen recommonds to read your ph.D paper. However the paper was written in French. May I ask you for an English version or some related papers ?
My gratitude at last.
Thanks a lot! To the excellent CC and Daniel and other contributors. Hope you all well.