Skip to content

Texture / material support #78

Description

@Doridian

Summary

I would like a way for ratty to not just load 3D models, but also textures for them

Motivation

Right now, models seem to have the ability to have colors, and that seems to be the limit of styling them.

I would like to see if more complex usages are possible, mainly for two directions:

  • The cursor right now is a single 3D object, so it limits the amount of "fun" you can have with it. I'd love a rotating 3D fox, but in single-color, that does not achieve what I'm going for.
  • I would like to investigate silly projects, like a renderer for Minecraft maps that works in the terminal (such that I can browse world files from the terminal and such)

Proposed approach

The used OBJ and GLB formats already have accompanying files (MTL and GLTF iirc), which should be able to be loaded/streamed similarly.

I might investigate this myself once I'm back from traveling, I just wanted to get this idea written down in case anyone has opinions or an approach already

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions