Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4615 / 8462

November 22, 2015, 06:21 (GMT)
PSculpt: Initial port of the old Pose Sculpting codebase from 2012 to modern Blender

Pose Sculpting allows animators to pose rigs using a brush-based "sculpting"
paradigm. It has multiple similarities to the sculpting tools for meshes,
the particle editing tools, and the upcoming Grease Pencil stroke sculpting
features. In each of these cases, we are trying to make it easier and faster
to work, by allowing artists to seamlessly affect a whole bunch of points/items
at the same time by varying amounts.

Current Status:
* Use Q-LMB and Q-RMB to sculpt strokes. Unlike in the past, Pose Sculpting is
not a separate mode, but instead works more like Grease Pencil drawing, which is
non-modal.

* Settings for brushes can be found in the "Sculpt" tab of the toolbar

* All the brushes work as they did before. That includes the dodgy behaviour that
the "Draw" brush had (fixing this is a top priority!), and/or any other random
bugs that the others may have had. Also, all the brush strengths/etc. are left
as-is so far (to be tweaked... they are still too strong)
November 21, 2015, 23:58 (GMT)
Cycles: Save one transform inversion in the camera sync

Summary: By calculating the Camera-to-Screen-Matrix first, one inversion can be saved in the Camera sync.
It won't really improve speed and/or precision, it's mainly a small cleanup.

Reviewers: sergey, dingto

Subscribers:
November 21, 2015, 18:00 (GMT)
Cycles: Make requested features struct aware of subsurface BSDF

This way we'll be able to disable SSS for the scene-adaptive kernel.
November 21, 2015, 17:26 (GMT)
BGE: bge.render.offScreenCreate() target argument to select Texture or RenderBuffer as render target.

fbo = bge.render.offScreenCreate(w,h,samples,target)
target = bge.render.RAS_OFS_RENDER_BUFFER: send render to RenderBuffers (compatible with MSAA on Intel GPU)
target = bge.render.RAS_OFS_RENDER_TEXTURE: send render to Texture (not compatible with MSAA on Intel GPU)

The default (RAS_OFS_RENDER_BUFFER) is preferable in all cases expect
if you need to access directly the texture for some applications.

The texture bind code is accessible with the new attribute color (fbo.color).
The attribute value is 0 if target is RAS_OFS_RENDER_BUFFER.
November 21, 2015, 17:26 (GMT)
DeckLink: clean GPL statement in new files.
November 21, 2015, 17:16 (GMT)
Cycles: Quick experiment with using feature-adaptive kernels for CUDA

Gives few percent of memory improvement for regular feature set kernel
and could give significant memory improvement for Experimental kernel.
It could also give some degree of performance improvement, but this I
didn't really measure reliably yet.

Code is ifdef-ed for now, since it's only working on Linux and requires
CUDA toolkit to be installed (other platform only use precompiled
kernels).

This is just an experiment for now and a base for the proper feature
support in the future (with runtime compilation using CUDA 7?).
November 21, 2015, 17:07 (GMT)
Cycles: add utility function to calculate MD5 hash of a given string
November 21, 2015, 16:49 (GMT)
Cycles: Make CUDA device internally operate with requested features

This just replaces internal argument `experimental` with `requested_features`
making it possible to access particular requested settings when building
kernels.
November 21, 2015, 16:42 (GMT)
Cycles: Move build options constructions to DeviceRequestedFeatures

This way it's easier to re-use requested features logic across multiple
device implementations.
November 21, 2015, 16:33 (GMT)
Cycles: Avoid multiple spaces in OpenCL build options

This should solve some compilation errors with compilation on OSX.
November 21, 2015, 16:20 (GMT)
Revert "Fix for unfreed memory of the default empty mesh."

This reverts commit 0ab9e4848d68ade3903c25cfea12ea982aefc2ae.
November 21, 2015, 16:00 (GMT)
Fix for unfreed memory of the default empty mesh.

When using a static variable for this it needs to be destroyed explicitly.
November 21, 2015, 10:56 (GMT)
Reference counting for mesh_ptr variables on the stack.

Any extensive data stored as a pointer on the stack should be ref-counted,
so that it stays alive only as long as used by some node.

The way this works is by enclosing instructions that access the stack
entry with 'init'/'release' opcodes. These are added automatically based
on output socket types (nodes don't have to be created explicitly for them).
November 21, 2015, 10:35 (GMT)
Merge branch 'master' into object_nodes
November 21, 2015, 03:38 (GMT)
Fix/Request T46798: Alt+I removes keyframes from all bones, not only selected in Pose Mode

Technically this was more of a feature request, but now the Alt-I operator will
only remove keyframes related to selected bones in Pose Mode. In Object Mode,
it will continue to operate on all keyframes of the object.

This change makes this operator more meaningful when animating in the 3D view.
November 21, 2015, 01:04 (GMT)
PSKetch: Some uncommitted WIP fixes/tweaks
November 21, 2015, 01:04 (GMT)
PSketch: Tweaks so that it doesn't immediately wreck non-connected chains
November 21, 2015, 01:04 (GMT)
PSketch: Fix bug where subsequent invocations would get placed wrong

This was because the calculations for the new tail positions was wrong.
It was only doing a fixed offset, which meant that the tails were not
where the bones were shown to be.
November 21, 2015, 01:04 (GMT)
Pose Sketching: First working prototype of "Direct Mode"

This commit introduces a new tool which allows users to draw the shape that
a chain of bones should form, and have the bones be transformed to fit.

Usage:
1) Select a chain of bones. You must select at least 2 bones, and they should
ideally be connected (or appear to be) for best results.
2) EKEY to invoke the operator
3) Draw a stroke (*)
4) Your rig should now be posed

(*) This operator uses Grease Pencil strokes to provide its sketch input.
Please ensure that strokes are drawn in 3D space (not view), and that
"Continous Drawing" is not enabled.

The currently implementation is still heavily WIP, and suffers from a number
of limitations. It is also just "simpler" of the two initial algorithms planned.
* It currently only sets the pose_mat values (and the pose_head/tail) values.
To keyframe any poses made this way, use "Visual Keying" or else the poses
won't hold.

* There is currently a bug where each subsequent attempt to pose the rig
will result in incorrect bone alignments. More work is required to figure
out why this occurs.
November 20, 2015, 23:12 (GMT)
BMesh: improve face-path-picking w/ tri-fans

Face paths including triangle-fans would often be avoided because
the face center and edge would 'zig-zag'.

Resolve using wighted face center and picking an edge-point between face centers.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021