3 ms·
Interesting. The CPU-based texture lookups sound murderous, though. Why not convert the PTEX textures to a format the GPU can handle?
by CamperBob2 6y ago
Interesting. The CPU-based texture lookups sound murderous, though. Why not convert the PTEX textures to a format the GPU can handle?
- TomVDB 6y agoHere's what I just noticed in a paper that's was linked at the bottom of this article. https://arxiv.org/pdf/2001.02620.pdf https://arxiv.org/pdf/2001.02620.pdf: "Although OSPRay already supported textures, it only supported image textures, however Ptex is a geometry based texture format baked on top of the underlying meshes [Burley and Lacewell 2008]. Not only does this mean there is no reasonable way these textures could be converted to 2D images for use in OSPRay, but that OSPRay’s entire view of how textures can be applied to geometry—which was inherently based on image textures—would have to change."
- dahart 6y agoNot the author, and it's a totally reasonable suggestion, but having done it, one decent reason is that baking the Ptex into textures that actually fit in the 2070's ram requires making camera specific resolution decisions, adding gutters between adjacent textures, and probably still using out of core texture loading anyway. In other words, it's doable but not easy. In the Moana dataset, the textures consume quite a bit more space than the geometry IIRC.