From 49fc1d0f54010b19c7c2ae5f7692fac62c617e5a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 8 May 2018 17:11:42 +0200 Subject: Draw manager: Initial implementation of particle edit mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gets edit more from the current object and displays it as a path. this is how both hair and particle edit modes are supposed to work. This only covers path itself, it doesn't do anything like keys visualization or selection. However, it's already possible to comb and such. Only implements particle mode. There are also some settings to do soft body and cloth. No idea yet what that all is about. Copy-on-write is not supported either, this is due to some edit mode ownership problems which are to be addressed from dependency graph side. Shading is dead-simple: uses tangent as a color. This is where i hope to get some help from Clément. --- source/blender/draw/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/draw/CMakeLists.txt') diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt index 71285d7ba04..2207dfe5c34 100644 --- a/source/blender/draw/CMakeLists.txt +++ b/source/blender/draw/CMakeLists.txt @@ -277,6 +277,8 @@ data_to_c_simple(modes/shaders/paint_vertex_vert.glsl SRC) data_to_c_simple(modes/shaders/paint_wire_frag.glsl SRC) data_to_c_simple(modes/shaders/paint_wire_vert.glsl SRC) data_to_c_simple(modes/shaders/paint_vert_frag.glsl SRC) +data_to_c_simple(modes/shaders/particle_strand_frag.glsl SRC) +data_to_c_simple(modes/shaders/particle_vert.glsl SRC) list(APPEND INC ) -- cgit v1.2.3