テンプレート:Release Notes/2.46/Mesh/Sculpting Tools
Nicholas Bishop
Multires
- Moved the multires vertex data from struct MultiresLevel to struct Multires. There's no longer any reason to store data seperately for each level; it was just taking up extra memory.
- Incremented the subversion to 2 and adjusted do_versions to correctly load older files.
- Refactored the multires update process (which handles propagating changes to other levels)
Sculpt Mode
Added a new input control that smooths the brush stroke.
This option controlled by the menu item Sculpt>Input Control>Smooth Stroke. When enabled, the brush has a delayed effect on the model; a green line is drawn to indicate the smoothed path of the stroke. After ~200 pixels, the first half of the stroke will be applied to the model; the process then repeats, with a new segment of the stroke being applied to the model after every 200 pixels. On mouse up, any remaining portion of the stroke will be applied.
Other changes:
- Added a flags field to SculptData; currently only used for smooth stroke but other flags can be moved into it
- Moved the damaged_rects/verts into SculptSession
- Simplified brush application by moving init_editdata into do_symmetrical_brush_actions
- Removed Averaging from sculpt Input menu; smooth stroke should take its place
TODO:
- Fix display of the smooth line in Partial Redraw mode
- Make the smoothing and delay factors adjustable
- Optimize the stroke application (currently using the old 'dot' style of applying the brush)
Sculpt Mode
Refactored and improved sculptmode-stroke.c.
- With smooth stroke on, the Spacing value is now taken into account (if zero, the default value of two is still used)
Applied Ian Calvert's patch (#7801) to add a "rake" setting to sculpt mode; when used with a 2D brush texture, the texture is automatically rotated to follow the direction of the brush stroke.
Sculpt Mode
Applying Stephan Kassemeyer's patch (#6750) to add a curve modifier for sculpting.
A few changes from the patch:
- The default curve is closer to the old behavior
- Fixed loading files already saved in sculpt mode
- Changed the interface; split the brush texture controls off into a third sculpt tab, and put the curve (and curve reset) into the Brush tab.
Radial Control
- Generalized the interactive brush property control from sculpt mode into a simple API
- Modified sculpt mode to take advantage of this (even fixes some minor bugs!)
- Added shortcuts in particle edit to set brush size/strength (FKEY/shift+FKEY)
Still todo are the other modes that have brushes...
Sculpt
Cleaned up some old parts of sculpt. Got rid of the old EditData struct in favor of two new "brush action" structures, which split the symmetry data out from everything else. Cleaned up various names and such as well. There should be no user-visible changes.
Sculpt
Added bilinear filtering to sculpt brushes when accessing textures.
Sculpt
Added a new brush option, "Anchored". When enabled, the brush doesn't move with the mouse, but rather stays in it's initial location and grows larger or smaller to follow the mouse. Good for brushing alphas on to the mesh. (Note that this option isn't available for the grab brush, and ignores the smooth stroke option.)