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


Sorry Regina

This info does not make sense to me. I am not a programmer, nor have I ever been involved in 
creating software. I am at the other end — a user.
I need a definition that I can understand and use to create an explanation for a user.

Regards
Peter Schofield
psauthor@gmail.com



On 17 Apr 2020, at 13:04, Regina Henschel <rb.henschel@t-online.de> wrote:

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.
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html
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
Regina






-- 
To unsubscribe e-mail to: documentation+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/documentation/
Privacy Policy: https://www.documentfoundation.org/privacy


-- 
To unsubscribe e-mail to: documentation+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/documentation/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


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.