diff options
author | Ton Roosendaal <ton@blender.org> | 2005-07-13 23:42:08 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-07-13 23:42:08 +0400 |
commit | 75ae1ae5ef0d3bb37cd3a5c70699955cb207dcde (patch) | |
tree | dddd08d35bafcd07be90d330dbd72859e9b3df45 /source/blender/include/BSE_drawview.h | |
parent | 64af8d0ced696fd1ab3dbb452e1dda2a43843f6f (diff) |
Armature "XRay mode" now draws nicely with solid too. For it to work, I
had to add a new feature to the 3d window, to collect "after draw" objects,
which get drawn as last, after a clear of the zbuffer.
Same method can be used for nice OpenGL transparent draw, the system is
ready for it, do that later.
The huge commit is caused by cleaning up globals from struct Global. Many
variables were unused or just not needed anymore. Did that to move the ugly
G.zbuf to where it belongs, in the View3D space struct. :)
Diffstat (limited to 'source/blender/include/BSE_drawview.h')
-rw-r--r-- | source/blender/include/BSE_drawview.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/include/BSE_drawview.h b/source/blender/include/BSE_drawview.h index 9ac833e9261..946018a198e 100644 --- a/source/blender/include/BSE_drawview.h +++ b/source/blender/include/BSE_drawview.h @@ -43,9 +43,12 @@ void default_gl_light(void); void init_gl_stuff(void); void circf(float x, float y, float rad); void circ(float x, float y, float rad); -void backdrawview3d(int test); void do_viewbuts(unsigned short event); + +void add_view3d_after(struct View3D *v3d, struct Base *base, int type); + +void backdrawview3d(int test); void drawview3dspace(struct ScrArea *sa, void *spacedata); void drawview3d_render(struct View3D *v3d); @@ -62,7 +65,6 @@ void end_anim_sumo(void); void inner_play_anim_loop(int init, int mode); int play_anim(int mode); - void make_axis_color(char *col, char *col2, char axis); #endif /* BSE_DRAWVIEW_H */ |