Blender Git Loki

Git Commits -> Revision 8b64765

Revision 8b64765 by Brecht Van Lommel (new-object-types)
January 29, 2020, 19:53 (GMT)
Objects: initial viewport draw of hair, point cloud and volumes

* Hair works in workbench and Eevee, by generating batch caches compatible with
particle hair. Selection does not work, and there is no code yet for
attributes like variable radius or UVs.

* Volumes are rendered by workbench and Eevee. But they only used the density
grid, ignore OpenVDB transforms and the code here is generally incomplete.

* Point clouds are only drawn as part of the overlay engine, just a quick hack
to show something and not properly integrated as part of workbench and Eevee.

Commit Details:

Full Hash: 8b647659852c542e56c5126e38966242f3b15d7b
Parent Commit: bc24009
Lines Changed: +1531, -234

6 Added Paths:

/source/blender/draw/engines/overlay/overlay_pointcloud.c (+72, -0) (View)
/source/blender/draw/engines/overlay/shaders/pointcloud_frag.glsl (+16, -0) (View)
/source/blender/draw/engines/overlay/shaders/pointcloud_vert.glsl (+27, -0) (View)
/source/blender/draw/intern/draw_cache_impl_hair.c (+349, -0) (View)
/source/blender/draw/intern/draw_cache_impl_pointcloud.c (+176, -0) (View)
/source/blender/draw/intern/draw_cache_impl_volume.c (+211, -0) (View)

28 Modified Paths:

/source/blender/blenkernel/BKE_volume.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/volume.cc (+30, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+6, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+112, -92) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+4, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+42, -10) (Diff)
/source/blender/draw/engines/overlay/overlay_engine.c (+15, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_extra.c (+14, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+7, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+22, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+37, -30) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+58, -50) (Diff)
/source/blender/draw/engines/workbench/workbench_volume.c (+113, -12) (Diff)
/source/blender/draw/intern/draw_cache.c (+62, -3) (Diff)
/source/blender/draw/intern/draw_cache.h (+32, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+27, -1) (Diff)
/source/blender/draw/intern/draw_cache_impl_particles.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_hair.c (+54, -22) (Diff)
/source/blender/draw/intern/draw_hair_private.h (+7, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+12, -0) (Diff)
/source/blender/gpu/GPU_texture.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_draw_smoke.c (+1, -4) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+11, -0) (Diff)
/source/blender/makesdna/DNA_hair_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_pointcloud_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_volume_types.h (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021