Blender Git Loki

Git Commits -> Revision d3c4248

Revision d3c4248 by Jeroen Bakker (master)
May 11, 2018, 15:02 (GMT)
Workbench: StudioLight HDRI's

The Studio lights are now loaded from disk. The location is
`datafiles/studiolights` they need to be JPG for now. JPG cannot store
HDRI color range but they are clamped inside the Workbench
engine for speed reason. I didn't select JP2K as it might not be
enabled.

Users can add upto 20 HDRI files. This limitation is inside the
RNA_space.c Currently the icons are calculated when you first open the
selection box for the HDRI's. We could add them to a background
rendering later.

I added 2 test files a sky texture rendered in Cycles and an HDRI from
cloud.blender.org.

Commit Details:

Full Hash: d3c4248946f65d287f18b3d6488cd450dfb6d81d
Parent Commit: 68b736c
Lines Changed: +496, -150

4 Added Paths:

/release/datafiles/studiolights/sl01.jpg (+0, -0) (View)
/release/datafiles/studiolights/sl02.jpg (+0, -0) (View)
/source/blender/blenkernel/BKE_studiolight.h (+73, -0) (View)
/source/blender/blenkernel/intern/studiolight.c (+297, -0) (View)

13 Modified Paths:

/source/blender/blenkernel/BKE_icons.h (+4, -0) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+2, -0) (Diff)
/source/blender/blenkernel/intern/icons.c (+11, -0) (Diff)
/source/blender/draw/DRW_engine.h (+0, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+4, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+4, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_studiolight.c (+9, -108) (Diff)
/source/blender/editors/include/UI_icons.h (+0, -7) (Diff)
/source/blender/editors/interface/interface_icons.c (+14, -20) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+65, -10) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+3, -1) (Diff)
/source/creator/CMakeLists.txt (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021