Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4367 / 8462

June 8, 2016, 19:45 (GMT)
BLI_math: add 'equals_m4m4' (and 'm3' variant) helpers.
June 8, 2016, 19:45 (GMT)
Cycles: Scale debug pass with number of samples

This way it's easier to compare different renders together without
worrying about scale too much.
June 8, 2016, 19:45 (GMT)
Image editor: Show actual value of single-channel buffer in sample info

Previously if image only had single channel only z buffer value was displaying.
This isn't handy for cases when you've got single channel buffer which is not
a z buffer.

Also fixed possible read past the array.
June 8, 2016, 19:45 (GMT)
install_deps: Avoid conflicts on Arch-based systems when gcc-multilib is installed

install_deps can fail due to conflict between gcc (referenced by base-devel) and
gcc-multilib if the latter is installed. This avoids the conflict by filtering
the contents of base-devel when needed.

Reviewers: mont29

Differential Revision: https://developer.blender.org/D1944
June 8, 2016, 19:45 (GMT)
Cycles: Add support for single channel byte textures.

This way, we also save 3/4th of memory for single channel byte textures (e.g. Bump Maps).

Note: In order for this to work, the texture *must* have 1 channel only.
In Gimp you can e.g. do that via the menu: Image -> Mode -> Grayscale
June 8, 2016, 19:44 (GMT)
Cleanup: GPU arg wrapping
June 8, 2016, 19:38 (GMT)
Cleanup: GPU headers
June 8, 2016, 19:17 (GMT)
GPU: avoid disabling basic-shader for lasso

Replace glDrawPixels w/ glaDrawPixelsTex
June 8, 2016, 19:17 (GMT)
Fix armature stick draw, unpack-alignment was set but never restored

Drawing a single stick bone set the alignment to 1, applying this setting to the rest of Blender.
June 8, 2016, 19:17 (GMT)
glutil: add glaGetOneInt helper
June 8, 2016, 18:07 (GMT)
Always use parallel convergence in HMD mode

Previously it was just using whatever was set in non-HMD mode.
I guess using parallel convergence for usage with HMDs is correct, could be wrong though ;)
June 8, 2016, 17:44 (GMT)
Only allow using Device IPD if it's available
June 8, 2016, 16:49 (GMT)
Don't display "Set Stereo 3D" button for HMD mode
June 8, 2016, 16:03 (GMT)
make refine_flags into an array
June 8, 2016, 16:01 (GMT)
Fix missing include in cmake after adding mem_guardalloc
June 8, 2016, 15:33 (GMT)
Depsgraph: Avoid redundant connection from IK solver to chain

Could give barely measurable speedup on a complex rigs.
June 8, 2016, 15:33 (GMT)
Depsgraph: Remove unused code

Became obsolete after recent changes.
June 8, 2016, 15:33 (GMT)
Depsgraph: Optimize flush update when there's few objects and fewzillions of bones

Avoid annoying checks form inside operations loop, gives few percent speedup in
files like army_of_blenrigs.
June 8, 2016, 15:23 (GMT)
BMesh clnor: Change py API.

After some talking with Campbell, this is now accessible through BMesh's CustomData system:

- clnor data is now exposed in BMesh (same way as for UVs etc.).
- You can now get/set **raw** values (pair of factors) of each loop independently.
This is not so useful in itself (though it allows nice 'relative' normal edition, given what
those two factors represent), getting/setting 'real' normals there is for later.
- You can now set all custom normals at once using the new 'from_array' method of BMLayerItem.
This is supposed to be generic setter, but for now it's only implemented for clnor data.

Some notes/reflections, also for future developments:
- About from_array:
* Do we accept that rather 'flexible' way of handling given array of data? think we do not have much choice
if we want to keep generic BMLayerItem (else we'll have to define sub-classes of this for every type of data :/ ).
* Currently clnor's from_array returns values actually set as a new array, not sure we want to keep this, or instead
add another 'to_array' method (in this case, how do we control type of returned data?).
- About clnors in BMesh in general:
* Think ultimately we'll want to have own struct of clnors in BMesh,
caching clnor spaces, encoded normal, real normal, etc.
* We'll then need to add lots of stuff to handle edition, in particular a system to rebuild clnor spaces
of affected loops each time we add/remove/modify geometry...

Latest point is important, since it means current BMesh py API will **not** be stable for now, and will
most certainly break when full support of custom normals is added to BMesh.
June 8, 2016, 14:57 (GMT)
Fixed locks when opening/closing HMD sessions
Spaces to Tabs
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021