Blender Git Commit Log

Git Commits -> Revision 6f198f7

Revision 6f198f7 by Clément Foucault (master)
December 4, 2018, 16:52 (GMT)
Wireframe: Optimization: Only draw triangles that have edges

This only happens after a certain wireframe threshold.

We sort triangles into 2 bins (start and end of the buffer) based on a
threshold and just draw the first bin if the wireframe slider is low enough.

This optimization is disabled for deformed meshes when playback is active.
This optimization is only implemented for meshes object for now.

This should help resolve (to some extent) T58188.

Commit Details:

Full Hash: 6f198f7851f8c8af4c55f86f0055d5da4c55d07d
Parent Commit: f1975a4
Lines Changed: +25, -3

5 Modified Paths:

/source/blender/draw/intern/draw_cache.c (+6, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+7, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+10, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -0) (Diff)
/source/blender/draw/modes/overlay_mode.c (+1, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021