Blender Git Loki

Git Commits -> Revision 45eaad8

Revision 45eaad8 by Bastien Montagne (master)
April 29, 2017, 17:31 (GMT)
Getting rid of setlinestyle: add imm_draw_circle_wire_dashed() util.

Needed a bit of twisting in generic private func behind the imm_draw_circle
helpers, but think it's fine.

Note that this demonstrate yet another downside of new dashed shader
compared to olde line style: not only does it needs more complex setup,
and can only work with PRIM_LINES type of primitives, but it also
behaves totally wrong with chained short segments!

We really need to find a better way to do this effect at some point. :(

Commit Details:

Full Hash: 45eaad88e2a4fddf363e1bac68d5288b25a0b08c
Parent Commit: 8f5f424
Lines Changed: +47, -11

2 Modified Paths:

/source/blender/gpu/GPU_immediate_util.h (+3, -2) (Diff)
/source/blender/gpu/intern/gpu_immediate_util.c (+44, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021