Blender Git Loki
Git Commits -> Revision 7a69362
Revision 7a69362 by Clément Foucault (master) July 16, 2018, 18:08 (GMT) |
Smoke: Port display to Workbench + object mode This does not fix the smokesim. It only port the drawing method. The Object mode engine is in charge of rendering the velocity debugging. Things left to do: - Flame rendering. - Color Ramp coloring of volume data. - View facing slicing (for now it's only doing sampling starting from the volume bounds which gives a squarish look) - Add option to enable dithering (currently on by default. |
Commit Details:
Full Hash: 7a693626d63a52acd12e80209b634711154a2f9d
Parent Commit: 43593e8
Lines Changed: +782, -11
4 Added Paths:
/source/blender/draw/engines/workbench/shaders/workbench_volume_frag.glsl (+181, -0) (View)
/source/blender/draw/engines/workbench/shaders/workbench_volume_vert.glsl (+31, -0) (View)
/source/blender/draw/engines/workbench/workbench_volume.c (+152, -0) (View)
/source/blender/draw/modes/shaders/volume_velocity_vert.glsl (+115, -0) (View)
/source/blender/draw/engines/workbench/shaders/workbench_volume_vert.glsl (+31, -0) (View)
/source/blender/draw/engines/workbench/workbench_volume.c (+152, -0) (View)
/source/blender/draw/modes/shaders/volume_velocity_vert.glsl (+115, -0) (View)
14 Modified Paths:
/source/blender/blenloader/intern/readfile.c (+3, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+4, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+3, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+29, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+20, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+14, -0) (Diff)
/source/blender/draw/intern/draw_cache.c (+51, -2) (Diff)
/source/blender/draw/intern/draw_cache.h (+2, -1) (Diff)
/source/blender/draw/intern/draw_common.c (+25, -0) (Diff)
/source/blender/draw/intern/draw_common.h (+2, -0) (Diff)
/source/blender/draw/modes/object_mode.c (+99, -2) (Diff)
/source/blender/gpu/GPU_draw.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+46, -0) (Diff)
/source/blender/makesdna/DNA_smoke_types.h (+3, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+4, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+3, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+29, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+20, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+14, -0) (Diff)
/source/blender/draw/intern/draw_cache.c (+51, -2) (Diff)
/source/blender/draw/intern/draw_cache.h (+2, -1) (Diff)
/source/blender/draw/intern/draw_common.c (+25, -0) (Diff)
/source/blender/draw/intern/draw_common.h (+2, -0) (Diff)
/source/blender/draw/modes/object_mode.c (+99, -2) (Diff)
/source/blender/gpu/GPU_draw.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+46, -0) (Diff)
/source/blender/makesdna/DNA_smoke_types.h (+3, -0) (Diff)