diff options
author | Ton Roosendaal <ton@blender.org> | 2004-09-25 17:42:31 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-09-25 17:42:31 +0400 |
commit | 6f074f6f461066777f5d7546882c44d8ba0288db (patch) | |
tree | 895be0ba83b83da3e1a8aee7c228dcb29ba121b2 /source/blender/include/BIF_glutil.h | |
parent | cfe9a9575526458412d50cc6122fdde1d66dd4d2 (diff) |
Two nice workflow improvements;
- Zbuffer clipped selection
Based on same algos as for drawing (blender polygon offset) vertices, edges
and faces now are clipped for draw and selection when Zbuffer is used.
Note that it works for endpoint vertices of edges, and for facecenters.
Also works for border and circle-select
- Optimal draw subsurfs
This now draws optimal with faces and edges selected/unselected, hiding the
original 'cage' (mesh) completely.
TODO: edge select, which still uses original (invisible) edge.
http://www.blender3d.org/cms/Mesh_editing_rewrite.425.0.html
Diffstat (limited to 'source/blender/include/BIF_glutil.h')
-rw-r--r-- | source/blender/include/BIF_glutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/include/BIF_glutil.h b/source/blender/include/BIF_glutil.h index b04705c7b02..d776a9003f9 100644 --- a/source/blender/include/BIF_glutil.h +++ b/source/blender/include/BIF_glutil.h @@ -193,6 +193,8 @@ void bglEnd(void); void bglVertex3fv(float *vec); void bglVertex2fv(float *vec); +/* own working polygon offset */ +void bglPolygonOffset(float dist); #endif /* BIF_GLUTIL_H */ |