Blender Git Loki

Git Commits -> Revision f77bc7e

Revision f77bc7e by Ton Roosendaal (master)
July 8, 2004, 20:38 (GMT)
Quite a large one this time... but now we have:

Edges in Mesh
- adds automatic when you use creases. For other situations; call the
void make_edges(Mesh *me) in mesh.c. Of course, once in editmode the
edges are automatically recreated.
- in F9 buttons you can add/remove edges too
- both for Mesh and DisplistMesh, so it speeds up drawing quite some in
wireframe
- render for edges can't work... edges have no material nor tface nor col..
so here still the faces are rendered in wire

Creases in Subsurf
- based on the code by Chris McFarlen
- main changes is that now edges are used, saving quite some data in file
- use SHIFT+E in editmode to set edges-sharpness. values go from 0-1
- in F9 buttons you can set draw-crease mode. It draws now blended from
wire color to edge-select color (as provided in Theme)

Known issue: setting sharpness on 1 cube (subdiv 2) gives weird results
with some values... Chris, can you check?

Further; code cleanups, changing 0 in NULL when needed, no warnings, etc etc

Commit Details:

Full Hash: f77bc7eb7d56239f9dfab3663b79c474f8763bbd
SVN Revision: 2760
Parent Commit: 6757a81
Lines Changed: +963, -498

32 Modified Paths:

/source/blender/blenkernel/BKE_displist.h (+2, -6) (Diff)
/source/blender/blenkernel/BKE_global.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/anim.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/displist.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/effect.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/font.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/mesh.c (+120, -9) (Diff)
/source/blender/blenkernel/intern/subsurf.c (+257, -124) (Diff)
/source/blender/blenlib/BLI_editVert.h (+1, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+9, -8) (Diff)
/source/blender/blenloader/intern/writefile.c (+4, -1) (Diff)
/source/blender/include/BDR_editobject.h (+1, -0) (Diff)
/source/blender/include/BIF_editmesh.h (+1, -1) (Diff)
/source/blender/include/butspace.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_curve_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+35, -0) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+6, -27) (Diff)
/source/blender/render/intern/source/rendercore.c (+1, -0) (Diff)
/source/blender/render/intern/source/renderHelp.c (+1, -0) (Diff)
/source/blender/render/intern/source/texture.c (+1, -0) (Diff)
/source/blender/render/intern/source/zbuf.c (+3, -2) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+8, -25) (Diff)
/source/blender/src/buttons_editing.c (+54, -29) (Diff)
/source/blender/src/drawmesh.c (+1, -1) (Diff)
/source/blender/src/drawobject.c (+182, -139) (Diff)
/source/blender/src/editcurve.c (+5, -5) (Diff)
/source/blender/src/editmesh.c (+182, -95) (Diff)
/source/blender/src/editobject.c (+69, -15) (Diff)
/source/blender/src/interface_draw.c (+3, -0) (Diff)
/source/blender/src/space.c (+6, -1) (Diff)
/source/blender/yafray/intern/yafray_Render.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021