Open mmp opened 5 years ago
你好,我用vc2017运行pbrt-3,没有输入指令,结果一直是这样,没有渲染除图片,我想问一下是哪里出来问题 pbrt version 3 (built Mar 30 2022 at 15:57:41) [Detected 8 cores] Copyright (c)1998-2018 Matt Pharr, Greg Humphreys, and Wenzel Jakob. The source code to pbrt (but not the book contents) is covered by the BSD License. See the file LICENSE.txt for the conditions of the license.
cmd出现上面的文字,可是就是不渲染,很苦恼,希望得到解答!谢谢!
你好,我在这里附上代码,希望有助于问题的解决 if (!options.quiet && !options.cat && !options.toPly) { if (sizeof(void *) == 4) printf(" WARNING: This is a 32-bit build of pbrt. It will crash " "if used to render highly complex scenes. \n"); printf("pbrt version 3 (built %s at %s) [Detected %d cores]\n", DATE, TIME, NumSystemCores());
LOG(INFO) << "Running debug build";
printf("*** DEBUG BUILD ***\n");
printf(
"Copyright (c)1998-2018 Matt Pharr, Greg Humphreys, and Wenzel "
"Jakob.\n");
printf(
"The source code to pbrt (but *not* the book contents) is covered "
"by the BSD License.\n");
printf("See the file LICENSE.txt for the conditions of the license.\n");
fflush(stdout);
}
pbrtInit(options);
// Process scene description
if (filenames.empty()) {
// Parse scene from standard input
pbrtParseFile("-");
} else {
// Parse scene from input files
for (const std::string &f : filenames)
pbrtParseFile(f);
}
pbrtCleanup();
return 0;
MSVC2017 has built-in cmake support. However, trying to build with it gives the following error: