Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4025 / 8462

March 3, 2017, 10:55 (GMT)
Cycles: Initialize rng_state for split kernel

Because the split kernel can render multiple samples in parallel it is
necessary to have everything initialized before rendering of any samples
begins. The code that normally handles initialization of
`rng_state` (`kernel_path_trace_setup()`) only does so for the first sample,
which was causing artifacts in the split kernel due to uninitialized
`rng_state` for some samples.

Note that because the split kernel can render samples in parallel this
means that the split kernel is incompatible with the LCG.
March 3, 2017, 10:44 (GMT)
Cycles: Remove sum_all_radiance kernel

This was only needed for the previous implementation of parallel samples. As
we don't have that any more it can be removed.

Real reason for removal tho is this: `per_sample_output_buffers` was being
calculated too small and artifacts resulted. The tile buffer is already
the correct size and calculating the size for `per_sample_output_buffers`
is a bit difficult with the current layout of the code. As
`per_sample_output_buffers` was only needed for `sum_all_radiance`,
removing that kernel and writing output to the tile buffer directly
fixes the artifacts.
March 3, 2017, 10:44 (GMT)
Cycles: Split path initialization into own kernel

This makes it easier to initialize things correctly in the data_init kernel
before they are needed by path tracing.
March 3, 2017, 09:50 (GMT)
When creating texture/image in Texture Paint mode, both datablocks should get the same name

The paint slot name was not the same as what is displayed on the texture properties panel.
Instead, the slot type (e.g. "Diffuse Color") was used as the name.

Patch by Suchaaver (@minifigmaster125) with minor changes from @mont29.

Reviewers: mont29, sergey

Maniphest Tasks: T50704

Differential Revision: https://developer.blender.org/D2523
March 3, 2017, 09:10 (GMT)
Cycles: Fix possibly uninitialized variable

Hopefully this was a reason of randomly disappearing textures in our renders.
March 3, 2017, 09:09 (GMT)
Fix blenderplayer building (tm)
March 3, 2017, 07:52 (GMT)
Fix T49655: Reloading library breaks proxies.

Can't say enough how much I hate those proxies... their duality (sharing
some aspects of both direct *and* indirect users) is a nightmare to handle. :(
Revision 8cf524c by Mike Erwin (master)
March 3, 2017, 02:46 (GMT)
plug ShaderInterface into GPUShader

Renamed existing getter/setter that only FX shaders use. We could convert FX code to use the richer new interface or leave it as is.

Removed unused GPUShader fields. ShaderInterface tracks the same information.
Revision c2baf3e by Mike Erwin (master)
March 3, 2017, 02:40 (GMT)
OpenGL: draw PBVH bounding box with new imm mode

It wasn't using old immediate mode, but was using
- client vertex arrays (obsolete)
- quads (obsolete)
- state attrib stack (obsolete)
- polygon mode (still allowed, but gross)
Revision e0a2bd4 by Mike Erwin (master)
March 3, 2017, 02:28 (GMT)
Gawain: add ShaderInterface for GLSL introspection

After a GLSL program is linked we can get all its inputs & never have to ask it again.

Several uniforms are considered "built-in". Nothing special about these to OpenGL itself, they just follow conventions of our built-in shaders.

This will help the matrix API, immediate & batch drawing APIs, and allow extra error/compatibility checking.
March 3, 2017, 01:53 (GMT)
Edit Mode overlay: backwire "ghost wireframe" with variable intensity
March 3, 2017, 01:53 (GMT)
Draw Manager: Changed buffer uniform api.

Use a reference to where will the texture be instead of an index.
Revision 0c1c646 by Mike Erwin (master)
March 2, 2017, 23:11 (GMT)
clean up clay vertex shader

Clay engine only works on modern GL, so this shader doesn't need compatibility with legacy Mac GL.
Revision 33758c7 by Mike Erwin (master)
March 2, 2017, 20:07 (GMT)
Gawain: move PRIM types to new file, classify by geometry

PrimitiveClass will help match shaders to draw calls & detect usage errors. For example a point sprite shader only makes sense with PRIM_POINTS.

Updated other files to include new primitive.h
March 2, 2017, 18:26 (GMT)
Merge branch 'blender2.8' into workspaces

Conflicts:
source/blender/makesrna/intern/rna_space.c
March 2, 2017, 18:15 (GMT)
Merge branch 'master' into blender2.8

Conflicts:
source/blender/blenkernel/intern/scene.c
March 2, 2017, 17:12 (GMT)
Outliner: add hooks for (yet to be implemented) layer reordering routines
March 2, 2017, 16:22 (GMT)
Fix own stupid mistake in recent mesh 'split_faces' rework.

Was assigning new edge index to ml_prev->e, and then assigning ml_pre->e
to orig_index...
March 2, 2017, 16:15 (GMT)
Get UI ready for using drag & drop to nest a collection into another one

Nothing happen yet when it's supposed to insert the collection into
another one, that part will be handled by @dfelinto.

See gif for demo of how it works UI wise: {F500337}

Also fixed off-by-one error in utility function.
March 2, 2017, 16:14 (GMT)
Remove all instance of OBACT from particle_edit.c and related changes
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021