Blender Git Commits

Blender Git "master" branch commits.

Page: 2603 / 5574

May 10, 2015, 05:06 (GMT)
UI: move sharp/smooth out of vertex menu

Was confusing to have shade smooth/soft in both edge & vertex menu named differently.

This is an edge-flag, so keep in the edge-menu, use vertex option when in vertex mode.
Revision dc95ca9 by Jorge Bernal
May 9, 2015, 22:56 (GMT)
BGE: Fix T43822 Videotexture does not use sky color for off-screen
rendering

Make scene background color as default for render-to-texture instead of
current blue color (0, 0, 255).

It is very useful for mirrors setups.

Reviewers: moguri, ben2610, sybren, panzergame, hg1

Reviewed By: panzergame, hg1, moguri

Subscribers: mpan3

Differential Revision: https://developer.blender.org/D1287
May 9, 2015, 19:53 (GMT)
Cycles: Fix typo in global space version of normal transform

It was using direction transform, which is obviously wrong.
May 9, 2015, 18:40 (GMT)
Cycles: Only whitelist AMD GPU devices in the OpenCL section

Only those ones are priority for now, all the rest are still testable
if CYCLES_OPENCL_TEST or CYCLES_OPENCL_SPLIT_KERNEL_TEST environment
variables are set.
May 9, 2015, 17:12 (GMT)
Fix T38335: incorrect triangle index in raycast with more than 2 quads

eb81153896 broke the fix for T38335, and this fix was incomplete, now we iterate by triangles and polys in the same while block.
May 9, 2015, 14:56 (GMT)
Cycles: Workaround for AMD compiler crashing building the split kernel

It's a but in compiler but it's nice to have working kernel for until
that bug is fixed.
May 9, 2015, 14:52 (GMT)
Cycles: OpenCL kernel split

This commit contains all the work related on the AMD megakernel split work
which was mainly done by Varun Sundar, George Kyriazis and Lenny Wang, plus
some help from Sergey Sharybin, Martijn Berger, Thomas Dinges and likely
someone else which we're forgetting to mention.

Currently only AMD cards are enabled for the new split kernel, but it is
possible to force split opencl kernel to be used by setting the following
environment variable: CYCLES_OPENCL_SPLIT_KERNEL_TEST=1.

Not all the features are supported yet, and that being said no motion blur,
camera blur, SSS and volumetrics for now. Also transparent shadows are
disabled on AMD device because of some compiler bug.

This kernel is also only implements regular path tracing and supporting
branched one will take a bit. Branched path tracing is exposed to the
interface still, which is a bit misleading and will be hidden there soon.

More feature will be enabled once they're ported to the split kernel and
tested.

Neither regular CPU nor CUDA has any difference, they're generating the
same exact code, which means no regressions/improvements there.

Based on the research paper:

https://research.nvidia.com/sites/default/files/publications/laine2013hpg_paper.pdf

Here's the documentation:

https://docs.google.com/document/d/1LuXW-CV-sVJkQaEGZlMJ86jZ8FmoPfecaMdR-oiWbUY/edit

Design discussion of the patch:

https://developer.blender.org/T44197

Differential Revision: https://developer.blender.org/D1200
May 9, 2015, 14:28 (GMT)
Cycles: Communicate number of closures and nodes feature set to the device

This way device can actually make a decision of how it can optimize the kernel
in order to make it most efficient.
May 9, 2015, 14:22 (GMT)
Cycles: Initial work towards selective nodes support compilation

The goal is to be able to compile kernel with nodes which are actually needed
to render current scene, hence improving performance of the kernel,

The idea is:

- Have few node groups, starting with a group which contains nodes are used
really often, and then couple of groups which will be extension of this one.

- Have feature-based nodes disabling, so it's possible to disable nodes related
to features which are not used with the currently used nodes group.

This commit only lays down needed routines for this approach, actual split will
happen later after gathering statistics from bunch of production scenes.
May 9, 2015, 14:17 (GMT)
Cycles: Add utility function to count maximum number of closures used by session

This will be used by split kernel in order to compile most optimal kernel.

Maximum number of closures is actually being cached in the session, so viewport
rendering will not trigger kernel re-loading when number of closures goes down.
May 9, 2015, 14:13 (GMT)
Cycles: Add utility function to graph to query number of closures used in it

Currently unused but will be needed soon for the split kernel work.
May 9, 2015, 14:09 (GMT)
Cycles: Pass requested tile size to the device via device task

This is currently unused but crucial for things like calculating amount of
device memory required to deal with the tasks.

Maybe not really best place to store it, but consider it good enough for now.
May 9, 2015, 14:05 (GMT)
Cycles: Change the way how we pass requested capabilities to the device

Previously we only had experimental flag passed to device's load_kernel() which
was all fine. But since we're gonna to have some extra parameters passed there
it makes sense to wrap them into a single struct, which will make it easier to
pass stuff around.
May 9, 2015, 14:04 (GMT)
Cycles: Presumably correct workaround for addrspace in camera motion blur
May 9, 2015, 14:04 (GMT)
Cycles: Add CPU compat headers to some of the OSL implementation files

This header was already included into some of the implementation files already,
and this change is needed for some upcoming changes in the way how kernel_types.h
works.
May 9, 2015, 14:04 (GMT)
Cycles: Set default closure values to some of the nodes

Previously it was only set at compilation time which is all fine but does
not let us to check which closure the node corresponds to prior to the
compilation.
May 9, 2015, 04:20 (GMT)
Freestyle: Partial fix for a crash with Save Buffers option enabled.

Prevents null pointer references in the case of the Save Buffers option
enabled. This is a regression likely due to rBd5f1b9c22233.
May 9, 2015, 01:00 (GMT)
Cleanup: warning (sequence-point)
Revision 54ac84f by Julian Eisel
May 8, 2015, 20:20 (GMT)
Fix 3D View Properties scrollbar being not set to top in startup.blend
May 8, 2015, 19:12 (GMT)
Fix T38335: incorrect triangle index in raycast result

Previously we forgot to do a special operation for indexes to convert a quad to two triangles.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021