Apache OpenOffice (AOO) Bugzilla – Issue 67765
custom shape extrusion surface doesn't work
Last modified: 2022-02-10 23:08:17 UTC
Take a Draw document and draw a custom shape. Extrude it and increase the extrusion depth. Now open toolbar "surface". You find the entries "Wire Frame", "Matt", "Plastic", "Metal". Try them all. Expected: The specular light will increase from "Matt" to "Metal" Seen behavior: There is no difference between "Matt", "Plastic" and "Metal".
Reproducible. Reassigned.
Please take over.
accepted
set target from 2.x to 3.x according http://wiki.services.openoffice.org/wiki/Target_3x
Created attachment 87071 [details] Suggestions how to solve the problem The attached file contains my patch for LibreOffice. Because the relevant code was not changed significantly by LibreOffice, it is likely that you can use it nearly directly. Some comments on the patch are in https://gerrit.libreoffice.org/c/core/+/124720 and more comments about the patch are in https://bugs.documentfoundation.org/show_bug.cgi?id=140321#c7 I give the code under Apache License, Version 2.0 to you.
Thanks Regina! This is more complex than the last one but I will have a look into it.
(In reply to Matthias Seidel from comment #6) > Thanks Regina! > > This is more complex than the last one but I will have a look into it. It is indeed complex. But I thought it would be useful to attach it here, so that if someone will fix this bug, he can test my ideas without worrying about the license.
*** Issue 98334 has been marked as a duplicate of this issue. ***
There are more problems than I first thought. The current lighting has principle errors. For details see https://gerrit.libreoffice.org/c/core/+/128449. It has lot of comments, at least in patch set #10. You can use the patch from https://gerrit.libreoffice.org/c/core/+/128449 under Apache License, Version 2.0. In case someone will work on this and has questions about the code, please drop me a mail.