Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index

Hi Peter,

Peter Schofield schrieb am 17-Apr-20 um 10:55:
Could someone please give me the definitions for 3D scenes and 3D shapes that LO Draw can produce. 
Doing a Google search is not helping me.

a first step would be to look, what kind of shapes exist in the ODF standard.
There you find section "10.5 3D Shapes".

The outmost 3D-object is always a scene, an element <dr3d:scene>.
Such scene can contain:
cube (element <dr3d:cube>)
sphere (element <dr3d:sphere>)
object, which is generated from a 2D path by rotation (element <dr3d:rotate>) object, which is generated from a 2D path by extrusion (element <dr3d:extrude>)
inner scene (element <dr3d:scene>)

An inner scene works the same as grouping does for 2D-objects. But there is no UI to generate such inner scene in LibreOffice and I have not tested yet, whether it would work, when LibreOffice gets a document using such inner scene. At least some code I have read consider it.

The outer 3D scene provides the connection to the page. It defines the position and size of the resulting object in the page. The 3D-world is projected to a 2D plane. What you get on the 2D plane is then scaled to fit into the size, specified at the 3D scene. Such projection can be done as parallel projection or as central perspective.

Those are "true" 3D-objects.

In addition and not to be confused with "true" 3D-objects, there exists the "custom shape" (element <draw:custom-shape>), section 10.6. Most of the shapes in the UI of LibreOffice belong to this kind of shape and the Fontwork shapes belong to this kind of shape too. A custom-shape has an extrusion mode. In this mode, the shape is shown as 3D extrusion object. But it is only a mode and you can toggle 2D and 3D mode.

Kind regards

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.