I have recently uploaded the file https://commons.wikimedia.org/wiki/File:5-Cell_Schlegel_Diagram.stl to Wikimedia Commons. All the previews have been rendered correctly. However, when I display the file in the media viewer, it is rendered incorrectly: basically, the entire object is displayed in pure white, as if the object was completely overexposed. The display problem occurs under Windows, Linux, macOS, and iOS with Internet Explorer, Firefox and Safari.
When checking different STL files, I noticed that the following files have the same problem:
- https://commons.wikimedia.org/wiki/File:Wikipedia_puzzle_globe_3D_render.stl
- https://commons.wikimedia.org/wiki/File:Menger_sponge_2.stl#/media/File:Menger_sponge_2.stl
- https://commons.wikimedia.org/wiki/File:3D_model_of_the_human_mouth.stl#/media/File:3D_model_of_the_human_mouth.stl
On the other hand, the STL file https://commons.wikimedia.org/wiki/File:Sphericon.stl is displayed completely in dark gray (which seems to be the ambient color).
I also noted that the preview rendering with 3d2png worked correctly for all of the above files. Therefore, I suspect that there is a bug in the 3D extension of the media viewer.
Steps to replicate the issue:
- Go to any of the Wikimedia Commons links I have included above.
- Look at the PNG preview bitmap: it was created correctly in all cases.
- Display the STL file by clicking into the preview image.
What happens?:
- The STL file is displayed incorrectly, either much too bright or much too dark.
What should have happened instead?:
- The STL file should have been displayed as in the preview image rendered with 3d2png.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
- MediaWiki 1.46.0-wmf.14 (b7744a2) 14:01, 6 February 2026
- MultimediaViewer – (59f7c50) 18:54, 30 January 2026
- 3D0.0.1 (dbc9cb3) 01:39, 22 January 2026
**Screenshot of the 3D extension when rendering https://commons.wikimedia.org/wiki/File:5-Cell_Schlegel_Diagram.stl:



