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/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
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.
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/