Bug 118795 - 3D-visualization of complex extruded CustomShapes is bad
Summary: 3D-visualization of complex extruded CustomShapes is bad
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Shapes-Custom
  Show dependency treegraph
Reported: 2018-07-17 08:17 UTC by Armin Le Grand
Modified: 2023-06-15 12:02 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

PowerPoint example for comparison (381.40 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2018-07-17 12:31 UTC, Regina Henschel

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Le Grand 2018-07-17 08:17:29 UTC
When using e.g. the 'smiley' CustomShape and extruding it MS-Style, the 3D representation works, but the 'eyes' and 'mouth' are pretty much invisible. They are there but not really visible.
Compared with competitor, the eyes and mouth is clearly vsisible, on both sides of the 3D-Shape (check by rotating).
This is a follow-up to tdf#118498, just a visual annoyance and should be fixed by changing the internal creation of the visual representation of CustomShapes. Currently, 'hidden' SdrObjects are created and visualized. This may be used, but for 3D, overlaying shapes would need to be depth-arranged to guarantee a visualizazion.
Even better would be to get rid of these 'hidden' SdrObjects and create primitive visualisation data immediately - but that would need bigger changes.
Comment 1 Regina Henschel 2018-07-17 12:31:50 UTC
Created attachment 143593 [details]
PowerPoint example for comparison

PowerPoint has a different concept. It makes the extrusion from the outer outline and has contour line (violet in example) and extrusion depth and color (red in example) for this 3D-object. Then it draws the original shape like a texture on the front and on the back face with the area fill color (yellow in example) and the line color (green in example) of the original shape. PowerPoint does not take the sub-paths as separate 3D-objects. The sub-paths are missing in Wireframe mode in PowerPoint.

This is only a description for PowerPoint. I do not find in the spec how an extrusion of sub-paths has to be done in case of the enhanced-geometry of a custom-shape.

The file has objects and picture of the objects.
Comment 2 QA Administrators 2021-02-22 03:59:57 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2021-10-20 11:53:41 UTC
The problem exists still as described in Version: (x64) / LibreOffice Community
Build ID: 604d464d2bdd0271ad63e5c93d4869a318eac262
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: threaded
Comment 4 Xisco Faulí 2023-06-15 12:02:04 UTC
Still reproducible in

Version: (X86_64) / LibreOffice Community
Build ID: 244f9cf66bc36f229ccb5712bc8d80166b92266d
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded