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.75k stars 407 forks source link

Use vcpkg to manage dependencies #413

Open innerlee opened 5 months ago

innerlee commented 5 months ago

Hi, this is a proof of concept that uses vcpkg to manage dependencies, which I think is much easier for users to use/upgrade them. The extra benefit is the removal of git submodules and the simplification of cmake files.

I verified the compilation on Ubuntu 20.04 with/without gpu. Tests also pass.

Hope you are interested in this approach.

For sanity check, here is an example output:

book