Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5268 / 8462

October 22, 2014, 16:12 (GMT)
Merge branch 'master' into hair_immediate_fixes

Conflicts:
source/blender/blenkernel/intern/key.c
October 22, 2014, 16:11 (GMT)
Cycles: Implement Mitchell-Netravali pixel filter

It's the same filter which is used by default by Blender Internal renderer
and it gives crispier edges than gaussian filter.

Default filter for Cycles is unchanged because it's unclear if new filter
gives more noise or not. After some further real production tests we can
consider making Mitchell filter default for Cycles as well.
October 22, 2014, 16:11 (GMT)
Removed unused line.
October 22, 2014, 14:51 (GMT)
Cycles: Code cleanup -- use bitshifts instead of hardcoded constants

This way it's easier to extend bitfields and see when we start running
out of free bits.

Plus added brief description of what SD_VOLUME_CUBIC flag means.
October 22, 2014, 14:42 (GMT)
New hair editing feature "Shape Cut", for cutting hair based on a mesh
shape instead of a brush tool.

The brush cutting tool for hair, while useful, is not very accurate and
often requires rotating the model constantly to get the right trimming
on every side. This makes adjustments to a hair shape a very tedious
process.

On the other hand, making proxy meshes for hair shapes is a common
workflow. The new operator allows using such rough meshes as boundaries
for hair. All hairs that are outside the shape mesh are removed, while
those cutting it at some length are shortened accordingly.

The operator can be accessed in the particle edit mode toolbar via the
"Shape Cut" button. The "Shape Object" must be set first and stays
selected as a tool setting for repeatedly applying the shape.
October 22, 2014, 14:33 (GMT)
SSAO works again. Unfortunately it's unavoidable to have it work without
explicit attenuation control (by using just max distance).

Also it now supports orthographic cameras properly. The maximum distance is
now defined in world space units so it should be slightly easier to understand
and uniform across perspective and orthographic cameras.

The optimizations can be generalized for orthographic cameras but the code is
more complex and the runtime advantage is questionable in that case
(in the end a matrix transform is 4 dot products which are not that terrible)
so commented out the code there for now.
October 22, 2014, 14:17 (GMT)
Cycles: Get rid of hardcoded enum values in the code

Still need to keep enum definition in sync with the python code,
but the code itself is a bit more clear to understand now.
October 22, 2014, 13:53 (GMT)
Cycles: Expose volume voxel data interpolation to the interface

It is per-material setting which could be found under the Volume settings
in the material and world context buttons.

There could still be some code-wise improvements, like using variable-size
macro for interp3d instead of having interp3d_ex to which you can pass the
interpolation method.
October 22, 2014, 13:41 (GMT)
Cycles: Implement tricubic b-spline interpolation for CPU texture_image

This is the first step towards supporting cubic interpolation for voxel
data (such as smoke and fire). It is not epxosed to the interface at all
yet, this is to be done soon after this change.
October 22, 2014, 13:41 (GMT)
Hack: Use same handling logic for finding "active" GPencil block in timeline as for 3D View

This is not a terribly nice hack, but it gives the behaviour that users expect
more often than not. Namely, this enables:
* GPencil keyframes now show up in timeline
* The next/prev keyframe buttons on the Timeline header work correctly
(i.e. they can "see" the GPencil keyframes)
October 22, 2014, 13:36 (GMT)
Keymaps UI now shows stroke editing keymap
October 22, 2014, 13:21 (GMT)
DKEY-Tab toggles GPencil Stroke Editing
October 22, 2014, 13:21 (GMT)
UI: Add toggle for stroke editmode to sequencer properties panel (since it doesn't have a toolbar)
October 22, 2014, 13:11 (GMT)
GPencil Editing: "Stroke Edit Mode"

Changed the way that the keybindings for the editing tools for strokes work,
to be less clunky to work with.

Now, instead of holding down DKEY, you instead enter "Stroke Edit Mode" (via
a toggle button in the "Edit Strokes" button in the toolbar). This enables a
keymap (Grease Pencil Stroke Edit Mode) which is only active when this setting
is enabled; the keybindings in this keymap are designed so that pressing the
normal hotkeys will affect the strokes as expected (instead of whatever else
may be in the viewport at the time instead).
October 22, 2014, 12:59 (GMT)
Fix compiler warning from changing some types
October 22, 2014, 12:20 (GMT)
Code cleanup: Port flags for bGPdata to a enum
October 22, 2014, 10:21 (GMT)
Meshdeform: Use SSE intrinsics in meshdeform_dynamic_bind()

Quite straightforward change, don't think some extra explanation is needed.

This gives about 15% speedup of the modifier evaluation on my laptop.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D836
October 22, 2014, 10:20 (GMT)
Meshdeform modifier: Use threaded evaluation

This commit switches meshdeform modifier to use threads to evaluate
the vertices positions using the central task scheduler.

SO now we've got an utility function to help splitting the for loop
into tasks using BLI_task module which is pretty straightforward to
use: it gets range (which is an integer lower and higher bounds) and
the function and userdata to be invoked for each of the iterations.

The only weak point for now is the passing the data to the callback,
this isn't so trivial to improve in pure C.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D838
October 22, 2014, 10:00 (GMT)
OSX: fix T42325 by not letting .vob handled by qt, avoids a doublefree
October 22, 2014, 09:54 (GMT)
Cleanup: avoid loop-in-loop when mirror isn't used

Also name 'children' is normally used for a list
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021