We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In src/pbrt/texture.cpp:598, the constructor of PtexTextureBase:
src/pbrt/texture.cpp:598
PtexTextureBase
std::mutex mutex; mutex.lock(); if (!cache) { int maxFiles = 100; size_t maxMem = 1ull << 32; // 4GB bool premultiply = true; cache = Ptex::PtexCache::create(maxFiles, maxMem, premultiply, nullptr, &errorHandler); // TODO? cache->setSearchPath(...); } mutex.unlock();
a non-static mutex is constructed to ensure thread safe ptex cache creation, I didn't get it, perhaps it's a mistake?
The text was updated successfully, but these errors were encountered:
51e68cc
Wow, yeah, that was a definite mistake! Thanks for reporting that. Fixed now.
Sorry, something went wrong.
No branches or pull requests
In
src/pbrt/texture.cpp:598
, the constructor ofPtexTextureBase
:a non-static mutex is constructed to ensure thread safe ptex cache creation, I didn't get it, perhaps it's a mistake?
The text was updated successfully, but these errors were encountered: