I am trying to understand derivative computation in TextureSystem.

Why I derivatives scald by the image width and height?

For example:
simd::float4 scalex = weight_simd * float(spec.width);
simd::float4 scaley = weight_simd * float(spec.height);

Why is there this scaling factor?
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to