Baking Lighting Data and Color Variations to Vertex Colors

This page summarizes the projects mentioned and recommended in the original post on /r/mineways

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • assimp

    The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.

  • I'd recommend looking into the Open Asset Import Library (assimp), created by those who made Open3DMod. It's a current well-maintained, open-source library under a BSD-derivative license for importing and exporting 3D models. The list of formats supported is massive (moreso for importing than exporting), but the most common formats are supported for both import and export, of which Mineways only has use for the latter. As I presume the libraries for exporting OBJ, STL, and WRL were written from scratch or are used from a much older library, having these export libraries replaced with something more current that also allows for more formats to be exported to will improve compatibility and add more functionality where it's needed or desired.

  • tinyobjloader

    Tiny but powerful single file wavefront obj loader

  • Also, it's possible to store a color per vertex, tinyobjloader supports this extended format for OBJ. But, like you say, how many (if any) OBJ loading programs actually support these vertex colors I suspect you can count on one hand (and more likely, zero hands). Blender, for example, does a terrible job even interpreting cutout objects in OBJ files, a common case (see step 9). I doubt they'd ever add per vertex color import support for any file format they read in. But, I'm interested to hear if they do - Blender is (by far, I believe) the main DCC app used with Mineways exports.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts