Skip to content

Untextured Mesh Faces Render as Random Colors in Alpine Docker, Black on macOS #172

@lukakristofelc

Description

@lukakristofelc

When processing an OBJ file with textures locally on macOS (Sequoia 15.5), any faces without an assigned texture are rendered as solid black, as shown in the image below:

Image

However, when processing the same file with identical textures in a node:16-alpine3.17 Docker container, the untextured faces are instead filled with seemingly random colors—which vary each time the mesh is processed:

Image

I’ve also tested other Docker images (such as bullseye and bullseye-slim), but they exhibit the same behavior with random face colors.

This discrepancy may be related to differences in the Qt5 builds used on macOS (installed via Homebrew) versus those in Alpine Linux (installed via apk). However, I haven’t yet been able to pinpoint the exact cause or reproduce one environment's behavior in the other. I'm also attaching the two processed files:

meshes.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions