Closed GoogleCodeExporter closed 8 years ago
Hi Jeremy,
I think I know what's going on. At Marschner.h line 72 there's a coefficient
(finalScale) that is multiplied to the output values and it contains cosTheta
too. As far as I remember 3delight returns 0 if you multiply NaN by 0. And
that's what happens when cosTheta is zero at line 159. So 3delight ends up
eliminating those values anyways. Your fix is right but it looks like we could
have other spots where division is not being verified and you would get the
same issues in PRman. If you find other spots, let us know!
I will patch the file here as well.
thank you!
Original comment by lucio.im...@gmail.com
on 29 Jun 2010 at 5:23
Original comment by lucio.im...@gmail.com
on 20 Sep 2010 at 4:47
Original issue reported on code.google.com by
jeremypr...@gmail.com
on 29 Jun 2010 at 12:32