Blender Git Loki

Git Commits -> Revision 5158da9

Revision 5158da9 by Clément Foucault (master)
September 25, 2018, 22:49 (GMT)
Curve Edit: Cleanup/Improve/Fix handles drawing

Now handles are drawn using index buffer instead of duplicating memory
requirement.

Also make use of shader tricks to draw handles antialiased, and respond to
UI scalling.

Make vertex point match edit mesh vertex size.

Commit Details:

Full Hash: 5158da9e372228dfa880d818cd369a1730358de2
Parent Commit: c9d0873
Lines Changed: +121, -168

1 Added Path:

/source/blender/draw/modes/shaders/edit_curve_overlay_handle_vert.glsl (+15, -0) (View)

1 Deleted Path:

/source/blender/draw/modes/shaders/edit_curve_overlay_frag.glsl (+0, -22)

5 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -1) (Diff)
/source/blender/draw/intern/draw_cache_impl_curve.c (+27, -62) (Diff)
/source/blender/draw/modes/edit_curve_mode.c (+8, -9) (Diff)
/source/blender/draw/modes/shaders/edit_curve_overlay_handle_geom.glsl (+55, -49) (Diff)
/source/blender/draw/modes/shaders/edit_curve_overlay_loosevert_vert.glsl (+15, -25) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021