Blender Git Loki

Git Commits -> Revision 75d1723

Revision 75d1723 by Sergey Sharybin (master)
July 22, 2015, 10:51 (GMT)
OpenSubdiv: Optimize speed of topology refiner construction

Now the conversion code uses mesh element mapping to speed up lookups.
Gives really nice speed improvement here, but the cost is higher memory
usage during refiner construction.

On the dragon scene here topology refiner construction time goes down
from 5 seconds to around 0.01.

It's possible to reduce the memory footprint by allocating mapping in
stages (don't allocate all of them at once, but do it on demand only
and free them after they're not needed anymore).

Commit Details:

Full Hash: 75d1723518314632ef247ebe49f677856c8bf115
Parent Commit: 4613405
Lines Changed: +89, -5

1 Modified Path:

/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv_converter.c (+89, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021