Blender Git Commit Log

Git Commits -> Revision 1702117

Revision 1702117 by Antonis Ryakiotakis (master)
July 23, 2014, 13:26 (GMT)
Occlusion Query based selection.

This patch creates an interface for selection mechanisms in opengl. This
makes it possible to switch between occlusion query based or select
rendermode based selection transparently.

This is really useful on graphics drivers that do not accelerate the
select rendermode path (some ATI cards are notorious for this, and the
new path is used by default there), since occlusion queries are always
hardware accelerated due to their use in games.

The option can be found under system - selection. Auto just enables
occlusion queries for ATI users while the rest of the options enforce
one of the two methods always.

There is just one known change, previous code enforced nearest bone to
always get selected, even when mouse selecting near the same position, I
couldn't replicate the behaviour though.

patch by me with edits and review by Campbell.

Thanks!

Commit Details:

Full Hash: 17021171f1b544aaa89d4776736255d8753e239c
Parent Commit: cf9d5db
Lines Changed: +585, -183

2 Added Paths:

/source/blender/gpu/GPU_select.h (+61, -0) (View)
/source/blender/gpu/intern/gpu_select.c (+246, -0) (View)

19 Modified Paths:

/build_files/cmake/macros.cmake (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+6, -0) (Diff)
/source/blender/editors/armature/armature_select.c (+3, -3) (Diff)
/source/blender/editors/armature/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/armature/editarmature_sketch.c (+5, -3) (Diff)
/source/blender/editors/armature/SConscript (+1, -0) (Diff)
/source/blender/editors/include/ED_view3d.h (+1, -1) (Diff)
/source/blender/editors/metaball/mball_edit.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+27, -26) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+5, -4) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+34, -27) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+96, -76) (Diff)
/source/blender/editors/transform/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/transform/SConscript (+1, -0) (Diff)
/source/blender/editors/transform/transform_conversions.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+58, -38) (Diff)
/source/blender/gpu/CMakeLists.txt (+2, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+9, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+25, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021