Blender Git Loki

Git Commits -> Revision fd53b72

Revision fd53b72 by Brecht Van Lommel (master)
March 18, 2020, 10:23 (GMT)
Objects: Eevee and workbench rendering of new Volume, Hair, PointCloud

Only the volume drawing part is really finished and exposed to the user. Hair
plugs into the existing hair rendering code and is fairly straightforward. The
pointcloud drawing is a hack using overlays rather than Eevee and workbench.

The most tricky part for volume rendering is the case where each volume grid
has a different transform, which requires an additional matrix in the shader
and non-trivial logic in Eevee volume drawing. In the common case were all the
transforms match we don't use the additional per-grid matrix in the shader.

Ref T73201, T68981

Differential Revision: https://developer.blender.org/D6955

Commit Details:

Full Hash: fd53b72871e045dfebfb9ddbe2b3c491491aa913
Parent Commit: b0a1cf2
Lines Changed: +1170, -161

2 Added Paths:

/source/blender/blenkernel/BKE_volume_render.h (+72, -0) (View)
/source/blender/blenkernel/intern/volume_render.cc (+358, -0) (View)

34 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_volume.py (+0, -23) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+6, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+6, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+17, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+4, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+8, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+163, -55) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_frag.glsl (+3, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_engine.c (+23, -2) (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/overlay/overlay_wireframe.c (+15, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_volume_frag.glsl (+14, -2) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_volume_vert.glsl (+7, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_engine.c (+32, -14) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+4, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_shader.c (+7, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_volume.c (+120, -15) (Diff)
/source/blender/draw/intern/draw_cache.c (+72, -3) (Diff)
/source/blender/draw/intern/draw_cache.h (+35, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+32, -1) (Diff)
/source/blender/draw/intern/draw_cache_impl_displist.c (+10, -6) (Diff)
/source/blender/draw/intern/draw_cache_impl_particles.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_common.c (+9, -1) (Diff)
/source/blender/draw/intern/draw_hair.c (+48, -17) (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_material.h (+2, -1) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+13, -4) (Diff)
/source/blender/gpu/intern/gpu_node_graph.h (+2, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_volume_info.glsl (+19, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021