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: [email protected]
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

Reply via email to