Blender Git Loki

Git Commits -> Revision 8214a1a

Revision 8214a1a by Antonio Vazquez (master)
February 23, 2019, 10:46 (GMT)
GP: Define new Draw Mode

Add a new Draw Mode to display panel in order to define the z-.depth order of the strokes using the real 3D position and not the 2D layer position.

This change makes possible to use VR with grease pencil drawings because the depth of the strokes change with camera position. Also, provide an alternative solution to tasks: T57859, T60325,

The parameter only works with 3D space depth ordering. The Back and Front depths are incompatible with 3D Space mode.

Options are:
- Back
- Front
- 3D Space->2D Layers (default)
-3D Space->3D Location (new mode)

Commit Details:

Full Hash: 8214a1ae34ad7a08585813fc9234f927ea89a3dc
Parent Commit: 702a2ba
Lines Changed: +64, -13

7 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_gpencil.py (+3, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+6, -3) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+13, -7) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+5, -1) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_fill_frag.glsl (+12, -1) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+11, -1) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+14, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021