Blender Git Commit Log

Git Commits -> Revision b915ba5

Revision b915ba5 by Campbell Barton (master)
July 9, 2008, 19:15 (GMT)
[#17298] surface normal direction compensation for objects with negative scale in rendering with radiosity
from Roelf De Kock (kiemdoder)

Fixes bug [#7969] Mirroring Object Breaks Radiosity Calculations

- copied from the tracker.
The code in this patch detects whether an object has negative scale (test the OB_NEG_SCALE bit in Object.transflag)
and then compensate for the negative scale when the surface normals are calculated for a radiosity render.

Commit Details:

Full Hash: b915ba5e970b1dd594e81318828321c5fb8c38f7
SVN Revision: 15508
Parent Commit: 12c128a
Lines Changed: +12, -3

1 Modified Path:

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