Blender Git Commit Log

Git Commits -> Revision 8355aa0

Revision 8355aa0 by Ton Roosendaal (master)
November 14, 2005, 14:27 (GMT)
Strand render/zbuffering optimize recode

I've been going over the zbuf.c code, which is indeed very ancient,
with a load of old optimizing and redundant code in use.

Added more 'modern' Span support, which fills per face two arrays
with the scanline information in it. That way you can zbuffer a quad in one
run as well. It was also exactly that code that's copied all over in zbuf.c

For now, to prevent issues for the release, the 'render a quad in 1 run' is
only in use for the strand render. Tests reveil a speedup of about 33%.

Will work on this recode later... which would also result in making zbuf.c
threadsafe.

And: bugfix #3398
When using the new 'render emitter' for particles, the orco array for
particles was accidentally used by mesh too.

Commit Details:

Full Hash: 8355aa0cf02e6b7abef823caa768aefe094e45b9
SVN Revision: 5783
Parent Commit: 9bf198b
Lines Changed: +501, -246

7 Modified Paths:

/source/blender/blenkernel/intern/effect.c (+0, -12) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+2, -0) (Diff)
/source/blender/render/intern/include/zbuf.h (+14, -1) (Diff)
/source/blender/render/intern/source/edgeRender.c (+6, -8) (Diff)
/source/blender/render/intern/source/vanillaRenderPipe.c (+4, -7) (Diff)
/source/blender/render/intern/source/zbuf.c (+460, -203) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+15, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021