https://bugs.documentfoundation.org/show_bug.cgi?id=146505

            Bug ID: 146505
           Summary: Extruded facets of 3D shape are not specular
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 177228
  --> https://bugs.documentfoundation.org/attachment.cgi?id=177228&action=edit
90deg rotated 3D scene with extruded object

Open attached document. It contains a scene with an extruded circle. The scene
is rotated by 90deg so that you look onto the extruded facets and do not see
front or back face. The light direction is centered and same as you view
direction.

Open the '3D Effects' dialog page 'Shading'. Change Shading to 'Flat' (don't
forget to click on Assign). Notice the specular rendering of the center facets.
Change Shading to 'Phong'. You see the light as specular spot light. Change to
'Gouraud'. No specular light.

Expected: The facets are specular as in mode 'Flat', only that the transition
between neighbored facets is not sharp but smooth.

The facets of a rotation object are specular in mode 'Gouraud', similar to mode
'Flat'.

It seems, that 'Gouraud' uses for extruded shapes the normal of the front face
instead of the facets.

I come across this problem, because Word exports extruded custom shapes with
shade mode 'Gouraud' to odt. And because extruded custom shapes use the same 3D
engine than regular 3D shapes, the specular light is missing for those shapes
too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to