Integrated: 8255015: Inconsistent illumination of 3D shape by PointLight

Andreas Heger duke at openjdk.java.net
Fri Oct 29 14:14:25 UTC 2021


On Wed, 9 Jun 2021 18:22:31 GMT, Andreas Heger <duke at openjdk.java.net> wrote:

> The inconsistent illumination happens on Macs with retina displays only if the 3D shape is placed in a SubScene. The light sources are located with wrong coordinates in sub scenes and this causes a different illumination. The wrong coordinates for the light sources come from the fact that the retina pixel scale factors are not used in a SubScene.
> 
> With this pull request, the retina pixel scale factors will be also used in SubScenes and this should resolve the bug [https://bugs.openjdk.java.net/browse/JDK-8255015](url)

This pull request has now been integrated.

Changeset: 161e434b
Author:    andreas-heger <heger at gmx.de>
Committer: Nir Lisker <nlisker at openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/161e434b1238d657f95e5ffcd3749027e066ca76
Stats:     184 lines in 2 files changed: 184 ins; 0 del; 0 mod

8255015: Inconsistent illumination of 3D shape by PointLight

Reviewed-by: kcr, arapte

-------------

PR: https://git.openjdk.java.net/jfx/pull/531


More information about the openjfx-dev mailing list