Source code to pbrt, the ray tracer described in the forthcoming 4th edition of the "Physically Based Rendering: From Theory to Implementation" book.
2.83k
stars
440
forks
source link
Potential incorrect mutex usage in ptex cache construction #409
Closed
Hyiker closed 8 months ago
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?