Blender Git Commit Log

Git Commits -> Revision 4f55dd8

Revision 4f55dd8 by Ton Roosendaal (master)
April 11, 2005, 08:49 (GMT)
Bug fix #2424

With a sun lamp shining exact perpendicular to a face, the result was
undefined (black or full lit). Was caused by using acos() without checking
the input range. Float calculus can result in small under or overflows...
therefore: always use the arithb.c function saacos() !!!

Found more acos() usage in rendercore (in blinn and arealight too), removed
all of them. Might solve the white or black dots people were complaining
about?

Commit Details:

Full Hash: 4f55dd8c91e727f61e84760ea928e395f356a065
SVN Revision: 4218
Parent Commit: 218ee42
Lines Changed: +9, -9

1 Modified Path:

/source/blender/render/intern/source/rendercore.c (+9, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021