Blender Git Commit Log

Git Commits -> Revision b6d97ce

Revision b6d97ce by Clément Fukhaut (pbr-viewport)
March 20, 2016, 14:08 (GMT)
Viewport Probe capture for bsdf preview:

- Added a GPUProbe generated by either the world or objects in the scene.
Updating is done by tagging the GPUProbe and waiting the gpu_update_probes call.
All probes are updated if the world changes and all objects probes are updated if an object in the scene changes. This must be optimize to ensure good performance with lots of probes.
For the moment no settings are available.

- Separated bsdf sampling code inside a new file.

- Spherical harmonic computation is now done on the GPU. Using only 64*64*6 samples for now.

- Lots of code cleaning and formating.

Commit Details:

Full Hash: b6d97ce4256e2e98d5626038b78f5bb75272c6a0
Parent Commit: 1eb5ff3
Lines Changed: +2461, -1389

5 Added Paths:

/source/blender/gpu/shaders/gpu_shader_display_sh_frag.glsl (+58, -0) (View)
/source/blender/gpu/shaders/gpu_shader_display_sh_vert.glsl (+13, -0) (View)
/source/blender/gpu/shaders/gpu_shader_material_bsdf_frag.glsl (+530, -0) (View)
/source/blender/gpu/shaders/gpu_shader_probe_sh_compute_frag.glsl (+110, -0) (View)
/source/blender/gpu/shaders/gpu_shader_probe_sh_compute_vert.glsl (+5, -0) (View)

30 Modified Paths:

/release/scripts/startup/bl_ui/properties_object.py (+18, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/world.c (+3, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+8, -0) (Diff)
/source/blender/editors/include/ED_view3d.h (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+3, -0) (Diff)
/source/blender/editors/render/render_update.c (+69, -2) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+29, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+180, -29) (Diff)
/source/blender/gpu/CMakeLists.txt (+10, -0) (Diff)
/source/blender/gpu/GPU_draw.h (+1, -0) (Diff)
/source/blender/gpu/GPU_framebuffer.h (+1, -0) (Diff)
/source/blender/gpu/GPU_material.h (+38, -10) (Diff)
/source/blender/gpu/GPU_shader.h (+2, -0) (Diff)
/source/blender/gpu/GPU_texture.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+39, -6) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+38, -9) (Diff)
/source/blender/gpu/intern/gpu_framebuffer.c (+18, -3) (Diff)
/source/blender/gpu/intern/gpu_material.c (+741, -259) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+40, -1) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+108, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+318, -784) (Diff)
/source/blender/makesdna/DNA_object_types.h (+6, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_world_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+58, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.c (+0, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_coord.c (+2, -22) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_environment.c (+6, -260) (Diff)
/source/blender/python/intern/gpu_offscreen.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021