Menu ▾ ▴

#478 STL with Materialise facet colours swap red and blue channels

v1.0_(example)
open
nobody
None
1
3 days ago
3 days ago
No

I am working on a tool which works with vertex colours. After reading that a semi-standard extension to STL supports colours but they're facet colours instead of vertex colours, I began investigating conversion from facet to vertex for my tool. In order to test it, I generated a test STL file. This all went according to plan, but then when I loaded the STL file into MeshLab, it imported the colours but treated the Materialize 5:5:5 packed colour as BGR instead of RGB. I will attach my sample file, the view of it from viewstl.com, and view of it in MeshLab 2025.07, which I am running on Kubuntu 26.04 Linux.

1 Attachments

Discussion

  • Jonathan Gilbert

    The screenshot from the viewstl.com import.

     
  • Jonathan Gilbert

    The screenshot from MeshLab 2025.07.

     
  • Jonathan Gilbert

    I found one more for good measure. This is 3D-Tool Viewer, running under WINE.

     

Log in to post a comment.