Blender Git Commit Log

Git Commits -> Revision 716e138

Revision 716e138 by Lukas Stockner (master)
June 14, 2018, 20:07 (GMT)
Cycles: Automatically detect HDRI resolution by default and use non-square sampling map

The automatic mode checks all Enviroment Texture nodes and picks the largest image's resolution.
If there are no Enviroment Textures, it just uses the old default.

Also, the sampling map now isn't limited to square shapes. The automatic detection uses the exact image size,
the manual UI option now halves the value to get the height.

A default aspect ratio of 2:1 makes sense since this is what most HDRIs use.

Reviewers: brecht, sergey

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

Commit Details:

Full Hash: 716e138a1b8cb81e13f7da2da5d16763d868743a
Parent Commit: fd19069
Lines Changed: +170, -110

10 Modified Paths:

/intern/cycles/blender/addon/properties.py (+12, -6) (Diff)
/intern/cycles/blender/addon/ui.py (+5, -3) (Diff)
/intern/cycles/blender/addon/version_update.py (+9, -4) (Diff)
/intern/cycles/blender/blender_object.cpp (+15, -2) (Diff)
/intern/cycles/kernel/kernel_emission.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_light.h (+22, -19) (Diff)
/intern/cycles/kernel/kernel_types.h (+4, -1) (Diff)
/intern/cycles/render/image.cpp (+32, -24) (Diff)
/intern/cycles/render/image.h (+4, -6) (Diff)
/intern/cycles/render/light.cpp (+65, -43) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021