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/src/mywindow.c | |
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/src/mywindow.c')
-rw-r--r-- | source/blender/src/mywindow.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/src/mywindow.c b/source/blender/src/mywindow.c index 3e0909eb99e..9071d5e919d 100644 --- a/source/blender/src/mywindow.c +++ b/source/blender/src/mywindow.c @@ -107,10 +107,14 @@ void mywindow_init_mainwin(Window *win, int orx, int ory, int sizex, int sizey) glGetIntegerv(GL_BLUE_BITS, &b); mainwin_color_depth= r + g + b; - + if(G.f & G_DEBUG) { + printf("Color depth r %d g %d b %d\n", (int)r, (int)g, (int)b); + glGetIntegerv(GL_AUX_BUFFERS, &r); + printf("Aux buffers: %d\n", (int)r); + } } -/* XXXXXXXXXXXXXXXX very hacky, not allowed to release +/* XXXXXXXXXXXXXXXX very hacky, not allowed to release again after 2.24 * again after 2.24 */ void mywindow_build_and_set_renderwin(void) |