NVlabs / nvdiffrast

Nvdiffrast - Modular Primitives for High-Performance Differentiable Rendering
Other
1.29k stars 139 forks source link

how to render with multiple uv mappings #119

Closed linzhenyuyuchen closed 1 year ago

linzhenyuyuchen commented 1 year ago

Thank you for your great work! I have implemented the nvdiffrast for my work, however i am puzzled about how to render an image with nvdiffrast.torch.texture(tex, uv) if there are multile uv mappings. Hope your help, Thanks again !

s-laine commented 1 year ago

There is no builtin support for that. You'll have to either composite the final image from multiple renderings, or consolidate the textures into a single texture atlas and modify the uv mappings accordingly.

linzhenyuyuchen commented 1 year ago

Thank you for your help!