Blender Git Loki
Git Commits -> Revision dd54101
Revision dd54101 by Ton Roosendaal (master) August 20, 2005, 19:18 (GMT) |
New feature; User definable Clipping Planes. Press ALT+B in 3d window, draw a rect, and it becomes a clipping volume of 4 planes. You then can rotate the view anyway you like. Works for each 3d window individually. Disable it with another ALT+B press. Commit is huge because it had to change all selection code as well. The user-clipping planes are in 'eye space', the other clipping happens in projected 'viewport space'. Nice to notice is that the 'x=3200' convention (to denote a coordinate is clipped) now is a define. Define value is still a number though... but we now can get up to screens of 12000 pixels without issues! Known issue; here it refuses to draw the 'object centers' or Lamp icons within the clipping region. Can't find any reason for it... however, we might move to non-pixmaps for it anyway. Testing might reveil numerous issues, will be standby for it. Curious? Check this http://www.blender.org/bf/rt4.jpg |
Commit Details:
Full Hash: dd5410162aa3eec61906febfdb0a550122cb2202
SVN Revision: 5153
Parent Commit: ad5ac39
Lines Changed: +275, -74
18 Modified Paths:
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -0) (Diff)
/source/blender/include/BIF_editview.h (+3, -0) (Diff)
/source/blender/include/BSE_drawview.h (+4, -0) (Diff)
/source/blender/include/BSE_view.h (+5, -2) (Diff)
/source/blender/makesdna/DNA_object_types.h (+0, -2) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+7, -1) (Diff)
/source/blender/src/drawimage.c (+3, -2) (Diff)
/source/blender/src/drawipo.c (+2, -2) (Diff)
/source/blender/src/drawobject.c (+37, -28) (Diff)
/source/blender/src/drawview.c (+89, -5) (Diff)
/source/blender/src/editlattice.c (+1, -1) (Diff)
/source/blender/src/editmesh_mods.c (+7, -0) (Diff)
/source/blender/src/editmesh_tools.c (+2, -2) (Diff)
/source/blender/src/editview.c (+57, -1) (Diff)
/source/blender/src/space.c (+15, -11) (Diff)
/source/blender/src/transform.c (+1, -1) (Diff)
/source/blender/src/view.c (+40, -16) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -0) (Diff)
/source/blender/include/BIF_editview.h (+3, -0) (Diff)
/source/blender/include/BSE_drawview.h (+4, -0) (Diff)
/source/blender/include/BSE_view.h (+5, -2) (Diff)
/source/blender/makesdna/DNA_object_types.h (+0, -2) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+7, -1) (Diff)
/source/blender/src/drawimage.c (+3, -2) (Diff)
/source/blender/src/drawipo.c (+2, -2) (Diff)
/source/blender/src/drawobject.c (+37, -28) (Diff)
/source/blender/src/drawview.c (+89, -5) (Diff)
/source/blender/src/editlattice.c (+1, -1) (Diff)
/source/blender/src/editmesh_mods.c (+7, -0) (Diff)
/source/blender/src/editmesh_tools.c (+2, -2) (Diff)
/source/blender/src/editview.c (+57, -1) (Diff)
/source/blender/src/space.c (+15, -11) (Diff)
/source/blender/src/transform.c (+1, -1) (Diff)
/source/blender/src/view.c (+40, -16) (Diff)