mmp / pbrt-v3

Source code for pbrt, the renderer described in the third edition of "Physically Based Rendering: From Theory To Implementation", by Matt Pharr, Wenzel Jakob, and Greg Humphreys.
http://pbrt.org
BSD 2-Clause "Simplified" License
4.86k stars 1.18k forks source link

How to include PBRT, which is the physically based rendering system by Pharr, in VS 2015 as a library? #292

Open lyxyuren opened 4 years ago

lyxyuren commented 4 years ago

Recently, I am studying the pbrt system. I have already cmaked the source codes and build the corresponding codes in VS2015 environment. Now, I am able to render figures in the windows command line as well. However, I am wondering that whether is it possible to include pbrt system in VS2015 just as how we use opencv or opengl? If it is possible, please provide detailed information about how to do this. A sample code provided to test the pbrt library in VS environment is also welcomed. Thank you very much for answering this question!