diff options
author | Ton Roosendaal <ton@blender.org> | 2005-01-07 17:11:00 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-01-07 17:11:00 +0300 |
commit | 326c0a08a44f2922cf297090bf99a1ba5756eba5 (patch) | |
tree | 6979f04fb6f0478670b69cd75240743db5f016ad /source/blender/render/intern/include/zbuf.h | |
parent | aa3656dc452f5c3395ba507347d63613e221668f (diff) |
Another round of cleanups for render code;
- removed ugly pointerhack from OSA render (negative indices denoted
pointers). this should solve memory errors when using >1.5 gig mem
- cleaned up usage of zbuffer values. These are signed in Blender, and
treated as unsigned all over, giving confusing code
- fixed incorrect gamma-adding for halos (caused in after xmas commit)
And bugfix #2101; wire render didn't give correct rendering for mist.
This caused by fact wires are 2D pixel lines, and not correctly filled
in faces. Retrieving the 3d coordinate while render cannot use a face-
equation then. Solved by retrieving 3D coordinate based on zbuffer value.
Still todo here: calculating correct texture coordinates for wire-edges
that are no faces.
Diffstat (limited to 'source/blender/render/intern/include/zbuf.h')
-rw-r--r-- | source/blender/render/intern/include/zbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/zbuf.h b/source/blender/render/intern/include/zbuf.h index 73f6644650f..003342ee9f1 100644 --- a/source/blender/render/intern/include/zbuf.h +++ b/source/blender/render/intern/include/zbuf.h @@ -67,7 +67,7 @@ struct VlakRen; * @param y The height of the rectangle * @param val The value used to fill the rectangle. */ -void fillrect(unsigned int *rect, int x, int y, unsigned int val); +void fillrect(int *rect, int x, int y, int val); /** * Converts a world coordinate into a homogenous coordinate in view |