Blender Git Commit Log
Git Commits -> Revision eb42008
Revision eb42008 by Ton Roosendaal (master) February 8, 2006, 18:28 (GMT) |
Upgraded max limit for faces in render. Up to now, quads were zbuffered as triangles, with a tag bit to denote which triangle was which part of the quad. That was hardcoded bit 0x800000, which allows a maximum of about 8 million quads... I've made this a nice #define, set to be 16 times larger. So, now the facejunkies can go up to 128 Million faces, were it not that this will eat up a load of memory! I only have 1 Gig in this machine. A test with 9M vertices and 7.5M quads eats up 912 MB of memory already. If this becomes a real issue, I know tricks how to make the vertices 20 bytes smaller, and faces 4 bytes, which would in the above case save about 200 MB. Not much... but probably worth the try? A much better method is of course 'bucketing' the renderdata per tile. It's a spec of the render recode, but not a quicky to add. Also: bug fix in curve code. There was a short counter still, crashing on large curves with resol set to 1024 :) |
Commit Details:
Full Hash: eb42008067d76906b7b5d2088e86b1a43356ea47
SVN Revision: 6759
Parent Commit: 7861ae5
Lines Changed: +16, -12
5 Modified Paths:
/source/blender/makesdna/DNA_curve_types.h (+1, -1) (Diff)
/source/blender/render/intern/include/renderdatabase.h (+3, -0) (Diff)
/source/blender/render/intern/source/edgeRender.c (+2, -1) (Diff)
/source/blender/render/intern/source/rendercore.c (+5, -5) (Diff)
/source/blender/render/intern/source/zbuf.c (+5, -5) (Diff)
/source/blender/render/intern/include/renderdatabase.h (+3, -0) (Diff)
/source/blender/render/intern/source/edgeRender.c (+2, -1) (Diff)
/source/blender/render/intern/source/rendercore.c (+5, -5) (Diff)
/source/blender/render/intern/source/zbuf.c (+5, -5) (Diff)