[Bf-blender-cvs] [875f24352a7] blender-v3.0-release: Material Preview: Fix Sphere object (squared UV and poles)

Dalai Felinto noreply at git.blender.org
Mon Nov 22 16:47:35 CET 2021


Commit: 875f24352a761adfd33e46c0cb782e3bb9262ff8
Author: Dalai Felinto
Date:   Mon Nov 22 15:27:17 2021 +0100
Branches: blender-v3.0-release
https://developer.blender.org/rB875f24352a761adfd33e46c0cb782e3bb9262ff8

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

===================================================================

M	release/datafiles/preview.blend

===================================================================

diff --git a/release/datafiles/preview.blend b/release/datafiles/preview.blend
index e342cb85158..35b8fe4c55c 100644
Binary files a/release/datafiles/preview.blend and b/release/datafiles/preview.blend differ



More information about the Bf-blender-cvs mailing list