Blender Git Commit Log

Git Commits -> Revision f3c7fdd

Revision f3c7fdd by Ton Roosendaal (master)
September 28, 2004, 09:43 (GMT)
Recode of 'zbuffer selection'. I first was too afraid using the backbuffer
selection method, since there's too much trash in drawobject.c and displists...
But, I couldn't stand the zbuf selection to miss edges too often. Right now
both methods are still in the code, and can be reviewed.

Please note for test:
- borderselect and circle-select still use old method
- new selection works directly on faces & edges
- subsurf optimal draw and selection works fine now

To detect the closest vertex or edge, i use the old 'spiral selection' code,
which is extremely accurate. If your mouse is close to an edge, it should
find it.

Most evidently I need to test speed... also, the disadvantage of backbuf
selection is the limited depth, which can be 16 bits (65 k faces) on systems.

Commit Details:

Full Hash: f3c7fdd80e5984daa4cdf47c0c5a3ea4bae05183
SVN Revision: 3141
Parent Commit: 3669506
Lines Changed: +410, -93

3 Modified Paths:

/source/blender/src/drawobject.c (+150, -29) (Diff)
/source/blender/src/drawview.c (+13, -37) (Diff)
/source/blender/src/editmesh_mods.c (+247, -27) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021