Import of lighting from MS Office for extruded shapes

Thorsten Behrens thb at libreoffice.org
Sat Feb 24 16:29:37 UTC 2024


Hi Regina,

Regina Henschel wrote:
> Unfortunately, our 3d engine does not support all needed features. Most
> important problem is, that in our 3d engine only the first light is
> specular.
>
I suspect that might be quick to add - Armin, what do you think?

> Further problem with our 3d engine is, that we cannot render the
> "Bevel" of MS Office. Not only the fancy ones, but the simple round
> bevel is missing too. Our "Rounded edges" are in fact straight. In
> MS Office you can use the bevel to create a sphere, for example.
>
Got it. Might also need some experimentation, such that we get the exact
same look. Let me play with this features a little bit.

> The question is more whether to start that immediately or first
> implement some ersatz lighting so that the shapes are approximately
> as light as in MS Office. When you use the current import (in daily
> build which has the 3d geometry) you can see, that our default
> lighting gives bad results.
>
I guess the specular light & API changes for it are relatively
straight-forward. Then again, getting the code merged as-is would
perhaps be quite satisfying, and I take it you would need some sort of
quick emulation for that, since it looks just too bad?

Cheers,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 427 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20240224/d9ed91cb/attachment.sig>


More information about the LibreOffice mailing list