How to set diffuse, specular lighting in pptx 3d models

Sridharan Arumugam 20 Reputation points
2023-12-21T05:10:43.25+00:00

I have embedded glb file in pptx file. I have my own lighting values and I want to set it to glb model.

In slide[n].xml, I found nodes 'am3d:ambientLight' and '<am3d:ptLight rad="0">' which sets the lighting.

The lighting data which I have has specular and diffuse information. How to set those information ?

I have attached point-light and ambient-light information image below.

lights

Also, how these RGB values are determined ? My understanding is, it ranges from 0 to 255.

Also, it looks like x, y, z values are affected by some scale-factor. How to compute the scale factor and it's impact on x,y,z values.

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,033 questions
PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
236 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,623 questions
{count} votes

Accepted answer
  1. John Korchok 5,121 Reputation points
    2023-12-26T18:36:41.9533333+00:00

    Here's my article explaining how to edit the lighting controls in OOXML. This applies both to 3D models and to 3D shapes in PowerPoint, Word and Excel.

    https://www.brandwares.com/bestpractices/2023/12/ooxml-hacking-lighting-controls-for-3d/


0 additional answers

Sort by: Most helpful