NVlabs / nvdiffrast

Nvdiffrast - Modular Primitives for High-Performance Differentiable Rendering
Other
1.37k stars 146 forks source link

uv value range for the texture function #187

Closed ruiqixu37 closed 3 months ago

ruiqixu37 commented 3 months ago

Hi,

Thank you very much for the amazing library! I just want to check for the nvdiffrast.torch.texture function, are the values of uv expected to be [0, 1]? I know [0, 1] is the conventional value range, but I just want to confirm that as the doc does not specify.

s-laine commented 3 months ago

Yes, that's correct. I'll add this in the documentation in the next release.

ruiqixu37 commented 3 months ago

Got it, appreciate your quick response!