Bug 145531 - FILEOPEN PPTX: 3D button/cuboid with perspective shows as rectangle
Summary: FILEOPEN PPTX: 3D button/cuboid with perspective shows as rectangle
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PPTX-3D
  Show dependency treegraph
 
Reported: 2021-11-03 17:08 UTC by Gerald Pfeifer
Modified: 2024-03-21 22:58 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample slide in PPTX format (121.95 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2021-11-03 17:08 UTC, Gerald Pfeifer
Details
Visual comparison LibreOffice 7.3 vs Office 365 (211.01 KB, image/png)
2021-11-03 17:09 UTC, Gerald Pfeifer
Details
Visual comparison: before (left) - after (right) (15.07 KB, image/png)
2024-02-20 14:26 UTC, Gerald Pfeifer
Details
Visual comparision LibreOffice as of 2024-03-14 vs PowerPoint (257.98 KB, image/png)
2024-03-15 07:58 UTC, Gerald Pfeifer
Details
Libreoffice as of 2024-03-21 (13.65 KB, image/png)
2024-03-21 07:53 UTC, Gerald Pfeifer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2021-11-03 17:08:10 UTC
Created attachment 176099 [details]
Sample slide in PPTX format

This sample slides shows a set of rectangles, whereas in Office 365 it's
a set of cuboids in perspective / 3D buttons.

Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: f4b353c1f52fc78a102413cac94c7fb24292bec6
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

And already in Version: 6.4.8.0.0+
Build ID: 99b065ec31d032fc08ab14f66430dac4fef904a5
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:libreoffice-6-4, Time: 2020-10-08_08:57:08
Comment 1 Gerald Pfeifer 2021-11-03 17:09:02 UTC
Created attachment 176100 [details]
Visual comparison LibreOffice 7.3 vs Office 365
Comment 2 Aron Budea 2021-11-19 22:11:10 UTC
Confirmed in LO Version: 7.3.0.0.alpha1+ (fcad2503ede92b515076f9bb3162855dcc2c575d), 3.3.0 / Ubuntu.
Comment 3 QA Administrators 2023-11-20 03:11:43 UTC Comment hidden (obsolete)
Comment 4 Gerald Pfeifer 2023-11-20 10:06:32 UTC
Unchanged with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4a1fac7c703068a49df897bb635ff98bf22c0468
CPU threads: 12; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Comment 5 Gerald Pfeifer 2024-02-20 14:26:45 UTC
Created attachment 192660 [details]
Visual comparison: before (left) - after (right)

It looks like Regina's work on bug#70039 also addressed (most) of this.
Thank you!

Primary difference versus PowerPoint (and the non-3D rendering by Impress
before) is that the graphics is now measurably darker.
Comment 6 Gerald Pfeifer 2024-02-20 14:27:45 UTC
Actually adding Regina for the Thank you! :-)
Comment 7 Gerald Pfeifer 2024-03-15 07:58:02 UTC
Created attachment 193121 [details]
Visual comparision LibreOffice as of 2024-03-14 vs PowerPoint

With Regina's recent change, this now looks yet a bit more aligned with
PowerPoint than before:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c8b8a2c2cb34a1ae0b0aeee0564b39260258f184
CPU threads: 12; OS: Linux 6.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US

Primarily the surfaces at the top look different; geometry looks good.
Comment 8 Regina Henschel 2024-03-15 12:36:29 UTC
The problem is, that the current state of ODF and API only allows two lights. But most of the light rigs in MS Office have three or four lights. The light rigs which correspond to the rigs in LibreOffice are called 'legacy' in MS Office and do not exist in the UI of MS Office, but are only used in their import filter of old binary documents.

A further problem is, that the current 3D dialog restricts the settings to those that were uses in binary MS Office. Thus not even settings allowed in ODF and API can be done by the user. For the example it means, that the user cannot change the direction of the light so that top and front face are illuminated evenly.

I am now of the opinion that we need a completely new implementation for "extruded custom shapes" and corresponding adaptation of ODF and API. But this is so extensive that a solution for version 24.8 is out of the question. I am still looking for collaborators for such a project.
Comment 9 Gerald Pfeifer 2024-03-21 07:53:27 UTC
Created attachment 193223 [details]
Libreoffice as of 2024-03-21

With the recent changes in bug #70039 this sample document unfortunately
regressed quite a bit.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2d16901bd49fbb3a6c89bd06f6142aaad87be981
CPU threads: 12; OS: Linux 6.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Comment 10 Regina Henschel 2024-03-21 22:58:45 UTC
You are right. A similar front face color is more important than lighter extrusion faces. I'll revert the change.