Blender Git Loki
Git Commits -> Revision 5b75ea3
Revision 5b75ea3 by Andre Susano Pinto (master) July 7, 2009, 19:07 (GMT) |
made rtbuild object_heuristic_spliter faster I think its something like: old was: 4*nlogn + 3*(n*6) new is: (2*nlogn + 3*(n*6)) * f, with f<1 Still missing changing the sorting function to an introsort instead of qsort Other options like bucketing sort may be worth trying (for very large trees) |
Commit Details:
Full Hash: 5b75ea38ff034d40a67b331b161d0ce870848ebb
SVN Revision: 21413
Parent Commit: 08fa786
Lines Changed: +71, -29
6 Modified Paths:
/source/blender/blenkernel/BKE_utildefines.h (+8, -0) (Diff)
/source/blender/render/intern/include/rayobject_rtbuild.h (+2, -0) (Diff)
/source/blender/render/intern/source/rayobject_bih.c (+4, -5) (Diff)
/source/blender/render/intern/source/rayobject_blibvh.c (+4, -4) (Diff)
/source/blender/render/intern/source/rayobject_bvh.c (+2, -3) (Diff)
/source/blender/render/intern/source/rayobject_rtbuild.c (+51, -17) (Diff)
/source/blender/render/intern/include/rayobject_rtbuild.h (+2, -0) (Diff)
/source/blender/render/intern/source/rayobject_bih.c (+4, -5) (Diff)
/source/blender/render/intern/source/rayobject_blibvh.c (+4, -4) (Diff)
/source/blender/render/intern/source/rayobject_bvh.c (+2, -3) (Diff)
/source/blender/render/intern/source/rayobject_rtbuild.c (+51, -17) (Diff)