diff options
author | Dalai Felinto <dalai@blender.org> | 2021-11-22 17:27:17 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2021-11-22 18:46:49 +0300 |
commit | 875f24352a761adfd33e46c0cb782e3bb9262ff8 (patch) | |
tree | 3a412e9952569324cfc76361d547114e58c62023 /intern/cycles/device/hip | |
parent | 819b9bdfa156082f6778337909cea9ad0c60d84d (diff) |
Material Preview: Fix Sphere object (squared UV and poles)
A good sphere preview material has a 1:1 UV ratio (so we see squares as
least distorted as possible), as well as good poles.
Square UV:
The original sphere expected a 2:1 panorama to be mapped to it. This
patch changes that (I scaled Y by 0.5) so that square textures look ok.
Poles:
The original sphere had a low initial resolution, so no ammount of
subdivision would fix the poles.
The sphere has a subdivision modifier with 0 resolution. Later (3.1?) I
want to try to change the resolution on-the-fly based on whether the material
has a displacement map.
Old sphere (1.9K vertices):
{F11845752, size=500px}
New sphere (2.0K vertices):
{F11845710, size=500px}
Differential Revision: https://developer.blender.org/D13309
Diffstat (limited to 'intern/cycles/device/hip')
0 files changed, 0 insertions, 0 deletions