pbrt-v4 icon indicating copy to clipboard operation
pbrt-v4 copied to clipboard

Double precision is not working... for normals?

Open pbrt4bounty opened this issue 1 year ago • 1 comments

Hi... I tried the fix applied here: https://github.com/mmp/pbrt-v4/issues/359 and everything seems fine now for the vertices, but I suspect the 'normals' require some tweaking as well. Result on GPU with 'float as double' ON and with fix applied: imagen Result in CPU: imagen

Cheers..!

pbrt4bounty avatar Aug 08 '23 20:08 pbrt4bounty

Very strange; it's not immediately obvious why normals would have a problem. (As far as I know, they don't go through any dodgy pointer casts like vertex positions used to...)

mmp avatar Aug 11 '23 22:08 mmp