Value range of c3DSpecularAmt
Miklos Vajna
vmiklos at collabora.com
Fri Feb 4 07:57:34 UTC 2022
Hi Regina,
On Sun, Jan 30, 2022 at 11:28:09PM +0100, Regina Henschel <rb.henschel at t-online.de> wrote:
> When the shape is rendered, the product of light intensity and specularity
> is converted to a gray color for the 3D-Scene attribute
> D3DMaterialSpecularIntensity. Because the light intensity is often smaller
> than 100% a value for c3DSpecularAmt larger than 100% can be used
> meaningful.
>
> The range to [0%,100] has been introduced with [Office-2509] for ODF 1.2. In
> ODF 1.1 the data type was "percent".
>
> What to do?
>
> My suggestion is: Allow larger values than 100% in LibreOffice. Clamp the
> value to 100% in case of writing ODF 1.2 and 1.3 strict and use loext in
> case of ODF 1.2 and 1.3 extended. And write to ODF TC to re-enable values
> larger than 100% for ODF 1.4.
>
> What do you think?
I think this is entirely reasonable.
Thanks,
Miklos
More information about the LibreOffice
mailing list