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.89k stars 457 forks source link

Use the middle button instead left for camera navigation #449

Open pbrt4bounty opened 1 month ago

pbrt4bounty commented 1 month ago

I have create a proof of concept in my fork to add menu options using Imgui so, I need to change the use of the middle mouse button in GUI mode to release the left button to other tasks, like, manage menus. With the current state, every time that you pick into a option menu, the render is reset. I have create a pull request here https://github.com/mmp/pbrt-v4/pull/448 imagen