Blender Git Loki

Git Commits -> Revision c812d2a

Revision c812d2a by Ton Roosendaal (master)
April 29, 2005, 08:18 (GMT)
Two fixes in one commit.

- The ortho render recode had a weak method to calculate the Z value of the
render coordinate (shi.co[2]). Worked OK for normal render, but not in
unified, giving big errors in Ortho Unfied render.
Solved with proper math, using face equation a*x+b*y+c*y=d. Dunno why I
didn't do it in first place. :)

- Bug fix #2493. Edge render gave much different result for Ortho. This
was due to overflows in the integer math filtering zbuffer values.
Cleaned it op properly, preventing any integer overflow now.

Commit Details:

Full Hash: c812d2ac20c351eb8aa4f1dbc8b9a468acda7e39
SVN Revision: 4333
Parent Commit: 1eadd45
Lines Changed: +68, -47

4 Modified Paths:

/source/blender/render/intern/include/rendercore.h (+1, -0) (Diff)
/source/blender/render/intern/source/edgeRender.c (+14, -9) (Diff)
/source/blender/render/intern/source/rendercore.c (+29, -29) (Diff)
/source/blender/render/intern/source/vanillaRenderPipe.c (+24, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021