mmp / pbrt-v4

Source code to pbrt, the ray tracer described in the forthcoming 4th edition of the "Physically Based Rendering: From Theory to Implementation" book.
https://pbrt.org
Apache License 2.0
2.87k stars 448 forks source link

Render aspect is broken after resize the OpenGL window #324

Open pbrt4bounty opened 1 year ago

pbrt4bounty commented 1 year ago

Hi.. As described in the title of the issue, the 'aspect' of the image is broken when the size of the render window is changed. Any idea how to fix this problem? This are the 'original' size & aspect imagen This, after resize.. imagen