diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-08-07 09:42:03 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-08-07 09:42:03 +0400 |
commit | 1f431b50d6642f77fc6a1757159b5c7568f90e31 (patch) | |
tree | 37d7eb81849feba09e7486a583186209a6dc4712 /source/blender/blenkernel/BKE_subsurf.h | |
parent | 8da5df8887a315a9c92168c8dd81f11b6ee0b29b (diff) |
- got rid of DerivedMesh.drawMappedEdgeEM function, can be implemented with
drawMappedEdges
- added DerivedMesh.convertToDispListMeshMapped function which converts and
also returns mapping information for use in editmode
- updated DispListMesh derivedmesh to be able to function in editmode
- update mirror modifier to support use as a cage
- update mirror & subsurf modifiers to properly pass mapping information down
modifier stack
It is now possible to have a mesh with mirror/subsurf modifiers where you
can edit with both as cage. Selecting the mirror'd part works, but of course
transform is flipped so it is a bit weird. Not the cleanest code in the
world and I can't say I am really happy with the architecture but it works for
now and supports the existing feature set.
Diffstat (limited to 'source/blender/blenkernel/BKE_subsurf.h')
-rw-r--r-- | source/blender/blenkernel/BKE_subsurf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_subsurf.h b/source/blender/blenkernel/BKE_subsurf.h index 925ef15288f..dbcc2dd3e17 100644 --- a/source/blender/blenkernel/BKE_subsurf.h +++ b/source/blender/blenkernel/BKE_subsurf.h @@ -35,9 +35,13 @@ struct Mesh; struct Object; struct DerivedMesh; struct EditMesh; +struct EditVert; +struct EditEdge; +struct EditFace; struct SubsurfModifierData; struct DerivedMesh *subsurf_make_derived_from_editmesh(struct EditMesh *em, struct SubsurfModifierData *smd, float (*vertexCos)[3]); +struct DerivedMesh *subsurf_make_derived_from_dlm_em(struct DispListMesh *dlm, struct SubsurfModifierData *smd, float (*vertCos)[3], struct EditVert **vertMap, struct EditEdge **edgeMap, struct EditFace **faceMap); struct DerivedMesh *subsurf_make_derived_from_mesh(struct Mesh *me, struct DispListMesh *dlm, struct SubsurfModifierData *smd, int useRenderParams, float (*vertCos)[3], int isFinalCalc); void subsurf_calculate_limit_positions(Mesh *me, float (*positions_r)[3]); |