[Interest] [QT3D] Different level of lighting on desktop and android

Oleg Evseev ev.mipt at gmail.com
Thu Jun 9 22:33:08 CEST 2016


My application have direct light from top (direction (0, -1, 0)

On desktop Windows everything is all right:

[image: Встроенное изображение 1]

but on android 4.4.4 scene is darker:

[image: Встроенное изображение 3]

When I set ambient color of ground QDiffuseMapMaterial from half to maximum
(white color) scene on android get to look better:

[image: Встроенное изображение 4]

but on desktop it looks too bright:

 [image: Встроенное изображение 5]

App on android 5.0 looks same as on desktop.

If I understand correctly it is due to different OpenGL versions - 3.1 on
desktop and android 5.0 and 2.0 on android, right? Is this a bug or feature
that should be handled on user side?

qt 5.7.0 branch
Windows 7 SP1 x64, Nvidia GT 630
Android 4.4.4

Thanks for help.

-- 
Regards, Oleg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160609/0058fd66/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt3d_windows_ambient_max.png
Type: image/png
Size: 142281 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160609/0058fd66/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt3d_android4.4.4_ambient_max.png
Type: image/png
Size: 155591 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160609/0058fd66/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt3d_android4.4.4.png
Type: image/png
Size: 147279 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160609/0058fd66/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 108039 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160609/0058fd66/attachment-0003.png>


More information about the Interest mailing list