Re: Mapping c3DShininess to property 'Shininess'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Regina,

On Wed, Jan 19, 2022 at 06:38:05PM +0100, Regina Henschel <rb.henschel@xxxxxxxxxxx> 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
3D objects?

> 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.

Regards,

Miklos



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux