Mapping c3DShininess to property 'Shininess'
vmiklos at collabora.com
Thu Jan 20 10:18:36 UTC 2022
On Wed, Jan 19, 2022 at 06:38:05PM +0100, Regina Henschel <rb.henschel at t-online.de> wrote:
> I'm going to use API 'Shininess' = 10 * c3DShininess. That maps MS default 5
> to ODF default 50%. It would imply, that for rendering an ODF document
> SDRATTR_3DOBJ_MAT_SPECULAR_INTENSITY= 2^(ODF/10) is used.
> Do you have any concerns or a better idea?
I don't see anything obviously wrong with this approach.
Just curious, do you implement this on (2D) custom shapes or is this for
> Should I do it immediately in
> https://gerrit.libreoffice.org/c/core/+/128449? Or should I keep the fixed
> value 32 for nIntensity there temporary and implement 'Shininess' in a
> separate patch?
I think it's fine to choose what is easier for you.
More information about the LibreOffice