Blender Git Loki
Git Commits -> Revision 798357c
Revision 798357c by Clément Fukhaut (pbr-viewport) April 4, 2016, 19:46 (GMT) |
Planar Probe, Probe options, Probe Parallax : - Added Planar Reflections and Refractions: Rough planar reflection/refraction are roughly approximated by blurring with the microfacet normal direction. We blend to a fallback cubemap for high roughness. They are also displaced using the viewnormals. This last deformation is divided by the distance to the shaded point and multiplied by the distance to the reflection plane to get contact reflections. - Added options to probes. Probe can now only render their layers. Diffuse can be disabled (in case of use with a lightmap). Added Operator to manualy update probes. - Probe parallax: Correct the rays to project it to the chosen volume (unit cube or sphere) after being corrected by the obj mat (either own or external). - Probe updates are a bit more consistent. - Moved PBR light UI from Cycles to Blender sources. - Added versioning code to update old file with non breaking defaults. Signed-off-by: Cl�ment Foucault <[email protected]> |
Commit Details:
Full Hash: 798357ca570ee2d40c455dc11dc35642e4fa1fed
Parent Commit: b818de1
Lines Changed: +1807, -502
1 Added Path:
/source/blender/editors/object/object_probe.c (+79, -0) (View)
38 Modified Paths:
/intern/cycles/blender/addon/ui.py (+0, -37) (Diff)
/release/scripts/startup/bl_ui/properties_data_lamp.py (+38, -0) (Diff)
/release/scripts/startup/bl_ui/properties_object.py (+48, -3) (Diff)
/release/scripts/startup/bl_ui/properties_world.py (+24, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+8, -0) (Diff)
/source/blender/blenkernel/intern/world.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -0) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+41, -0) (Diff)
/source/blender/editors/include/ED_view3d.h (+1, -1) (Diff)
/source/blender/editors/object/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/object/object_intern.h (+3, -0) (Diff)
/source/blender/editors/object/object_ops.c (+2, -0) (Diff)
/source/blender/editors/render/render_intern.h (+2, -0) (Diff)
/source/blender/editors/render/render_ops.c (+2, -0) (Diff)
/source/blender/editors/render/render_shading.c (+43, -1) (Diff)
/source/blender/editors/render/render_update.c (+14, -14) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+9, -9) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+29, -6) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+152, -32) (Diff)
/source/blender/gpu/GPU_material.h (+29, -12) (Diff)
/source/blender/gpu/GPU_shader.h (+9, -2) (Diff)
/source/blender/gpu/GPU_texture.h (+2, -1) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+51, -4) (Diff)
/source/blender/gpu/intern/gpu_codegen.h (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+75, -25) (Diff)
/source/blender/gpu/intern/gpu_material.c (+476, -128) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+85, -48) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+16, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+18, -31) (Diff)
/source/blender/gpu/shaders/gpu_shader_material_bsdf_frag.glsl (+291, -124) (Diff)
/source/blender/makesdna/DNA_object_types.h (+37, -3) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_world_types.h (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+142, -16) (Diff)
/source/blender/makesrna/intern/rna_world.c (+53, -0) (Diff)
/source/blender/python/intern/gpu_offscreen.c (+1, -1) (Diff)
/source/gameengine/Ketsji/BL_BlenderShader.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+1, -1) (Diff)
/release/scripts/startup/bl_ui/properties_data_lamp.py (+38, -0) (Diff)
/release/scripts/startup/bl_ui/properties_object.py (+48, -3) (Diff)
/release/scripts/startup/bl_ui/properties_world.py (+24, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+8, -0) (Diff)
/source/blender/blenkernel/intern/world.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -0) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+41, -0) (Diff)
/source/blender/editors/include/ED_view3d.h (+1, -1) (Diff)
/source/blender/editors/object/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/object/object_intern.h (+3, -0) (Diff)
/source/blender/editors/object/object_ops.c (+2, -0) (Diff)
/source/blender/editors/render/render_intern.h (+2, -0) (Diff)
/source/blender/editors/render/render_ops.c (+2, -0) (Diff)
/source/blender/editors/render/render_shading.c (+43, -1) (Diff)
/source/blender/editors/render/render_update.c (+14, -14) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+9, -9) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+29, -6) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+152, -32) (Diff)
/source/blender/gpu/GPU_material.h (+29, -12) (Diff)
/source/blender/gpu/GPU_shader.h (+9, -2) (Diff)
/source/blender/gpu/GPU_texture.h (+2, -1) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+51, -4) (Diff)
/source/blender/gpu/intern/gpu_codegen.h (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+75, -25) (Diff)
/source/blender/gpu/intern/gpu_material.c (+476, -128) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+85, -48) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+16, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+18, -31) (Diff)
/source/blender/gpu/shaders/gpu_shader_material_bsdf_frag.glsl (+291, -124) (Diff)
/source/blender/makesdna/DNA_object_types.h (+37, -3) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_world_types.h (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+142, -16) (Diff)
/source/blender/makesrna/intern/rna_world.c (+53, -0) (Diff)
/source/blender/python/intern/gpu_offscreen.c (+1, -1) (Diff)
/source/gameengine/Ketsji/BL_BlenderShader.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+1, -1) (Diff)