mmp / pbrt-v2

Source code for the version of pbrt described in the second edition of "Physically Based Rendering"
http://pbrt.org
990 stars 343 forks source link

Fixed validity of output pbrt file #39

Open TobiasPott opened 9 years ago

TobiasPott commented 9 years ago

Added WorldBegin, WorldEnd elements to the output pbrt (line 946 and 1073) Added default camera setup and light to the scene to prevent rendering a black image (line 943 to 955) Added #include of to fix C2039 compiler error in Visual Studio 2013 (added in line 114)