Blender Git Loki

Blender Git "greasepencil-refactor" branch commits.

Page: 31 / 287

December 13, 2019, 18:40 (GMT)
GPencil: Refactor: Add support for layer blending

This break the compatibility of old blend files as the old implementation
was done incorrectly.

With new implementation, the layer blending can affect multiple object
and in certain case affect even the rendered background. Old implementation
was only affecting the layers beneath, not other objects.

This implementation is also ready to support vfx on top.

Some blend modes (divide and subtract) have some limitations. They cannot
be propagated to other objects. This is because we would need to use
signed float buffers everywhere (for background render) so that fixed
function blending does not clamp the blending values.
December 13, 2019, 18:40 (GMT)
DRW: Add subtract blend logic

This is to support subtract blending with Multiple Render Targets
December 13, 2019, 18:40 (GMT)
GPU: Texture: Fix mistake in format classification

sRGBA format is well defined for use with framebuffers (based on 3.3 spec).
December 13, 2019, 18:40 (GMT)
Cleanup: GPencil: Remove duplicated code
December 13, 2019, 18:40 (GMT)
GPencil: Refactor: Add offscreen compositing foundation

This put all Grease pencil drawing into a separate buffer that is then
composited on top of the rendered image.

This framebuffer has 2 RGB color target (one color and one alpha) to be
able to record any color blend types.

Moreover these buffers are floating point (R11_G11_B10) which will allow
the use of linear colors.
December 13, 2019, 18:40 (GMT)
GPU: Framebuffer: Add GPU_framebuffer_multi_clear

This is to clear individual targets using a different color.
December 13, 2019, 15:29 (GMT)
Merge branch 'greasepencil-object' into greasepencil-refactor

Conflicts:
source/blender/blenloader/intern/versioning_280.c
December 13, 2019, 15:27 (GMT)
Merge branch 'master' into greasepencil-object
December 12, 2019, 23:34 (GMT)
GPencil: Refactor: Fix broken shader & undefined behavior
December 12, 2019, 21:33 (GMT)
GPencil: Refactor: Implement Stroke self overlap option

This is a novel approach were we use the depth buffer instead of the
stencil buffer. This allows up to ~1e24 different indices to draw to.
We use a DRW_STATE_DEPTH_GREATER to discard the fragment comming from the
same stroke.

Since we can have strokes that don't have this option, we use the point
indices instead of the stroke index to avoid changing the state during
drawing.
December 12, 2019, 21:33 (GMT)
GPencil: Refactor: Implement Object sorting
December 12, 2019, 19:24 (GMT)
Merge branch 'greasepencil-object' into greasepencil-refactor
December 12, 2019, 19:24 (GMT)
GPencil: Fix missing context menu in Sculpt
December 12, 2019, 15:03 (GMT)
Merge branch 'greasepencil-object' into greasepencil-refactor
December 12, 2019, 15:02 (GMT)
Merge branch 'master' into greasepencil-object
December 12, 2019, 14:52 (GMT)
GPencil: Disable line for testing
December 12, 2019, 14:50 (GMT)
GPencil: Remove Stencil Mask and Mix for Fill material

This is part of the refactor of the darwing engine.
December 12, 2019, 14:39 (GMT)
GPencil: Fix old files using Stencil Mask
December 12, 2019, 09:07 (GMT)
GPencil: Remove properties use_stroke_pattern and use_stroke_texture_mix

WIP: Still the flags are used in drawing code to keep old files running and compare results. Need to be removed later.
December 12, 2019, 08:34 (GMT)
Merge branch 'greasepencil-object' into greasepencil-refactor
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021