[Bf-blender-cvs] CVS commit: blender/source/blender/src drawobject.c drawview.c editmesh_mods.c
Ton Roosendaal
ton at blender.org
Tue Sep 28 11:43:37 CEST 2004
ton (Ton Roosendaal) 2004/09/28 11:43:37 CEST
Modified files:
blender/source/blender/src drawobject.c drawview.c
editmesh_mods.c
Log:
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.
Revision Changes Path
1.97 +151 -30 blender/source/blender/src/drawobject.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/drawobject.c.diff?r1=1.96&r2=1.97&cvsroot=bf-blender>
1.91 +14 -38 blender/source/blender/src/drawview.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/drawview.c.diff?r1=1.90&r2=1.91&cvsroot=bf-blender>
1.16 +247 -27 blender/source/blender/src/editmesh_mods.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editmesh_mods.c.diff?r1=1.15&r2=1.16&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list