diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-08-28 12:53:36 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-08-28 12:53:36 +0400 |
commit | f118bebc361ca0efd812c26f1f8577414c9693e0 (patch) | |
tree | b3208d54041a5c4166c71cac265ae6367cd362e1 /source/blender/include/BDR_drawmesh.h | |
parent | 2252b636a3887ec82e2b06212a752ac193219bea (diff) |
Textured drawing in Edit Mode
=============================
- In textured drawmode it now draws the texture, with solid mode lighting.
- UVs and vertex colors for subsurf are not computed incremental yet, so
editing in textured drawmode then may not be as fast as the other modes.
Implementation Notes:
- Added textured drawing functions to the editmesh and subsurf derivedmeshes.
- Removed some unused, legacy subsurf code that directly used Mesh.
- Restructured texture drawing a bit to make it more clear and allow for
editmode drawing.
(Peach feature request)
Diffstat (limited to 'source/blender/include/BDR_drawmesh.h')
-rw-r--r-- | source/blender/include/BDR_drawmesh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/include/BDR_drawmesh.h b/source/blender/include/BDR_drawmesh.h index 60c87308e20..998cadc18a3 100644 --- a/source/blender/include/BDR_drawmesh.h +++ b/source/blender/include/BDR_drawmesh.h @@ -36,6 +36,7 @@ struct Image; struct MTFace; struct Object; +struct DerivedMesh; struct Mesh; struct EdgeHash; @@ -75,7 +76,7 @@ int set_tpage(struct MTFace *tface); void texpaint_enable_mipmap(void); void texpaint_disable_mipmap(void); -void draw_tface_mesh(struct Object *ob, struct Mesh *me, int dt); +void draw_mesh_textured(struct Object *ob, struct DerivedMesh *dm, int facesel); struct EdgeHash *get_tface_mesh_marked_edge_info(struct Mesh *me); void init_realtime_GL(void); |