NVlabs / nvdiffmodeling

Differentiable rasterization applied to 3D model simplification tasks
Other
455 stars 30 forks source link

Texture maps have a lot of noise #19

Closed Lucklycat closed 1 year ago

Lucklycat commented 1 year ago

Thank you very much for your work! When I tried the ewer example, I found the following textures: image When you zoom in, you will find many red, yellow and green noises image This is still the case when I import the output obj into blender, but the contrast image rendered from nvdiffast does not show this situation. What is the reason? image

jmunkberg commented 1 year ago

Note that we optimize the full mip hierarchy for each texture, so depending on the rendering and texture resolutions, the highest resolution mip levels may not be fully used (and in that case, noise will remain, as no gradients flows to those texels). You can e.g., test to reduce the texture resolution, which may decrease texture detail but also reduce the noise levels in the higher resolution mip level.

For a match in other renderers (e.g., Blender), you must ensure that the same texture filtering algorithm is applied.

Lucklycat commented 1 year ago

thanks