Skip to content

Rendering API v1 (Draft) #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

AlphaMode
Copy link

@AlphaMode AlphaMode commented Apr 6, 2025

I found a few annoying issues when trying to work with station api current rendering api, this PR aims to solve most of them.
This is a draft PR for now as I still want to add more features.
This PR also updates some old reused MC to use the newer versions of it
I also removed station api's vector, matrix, etc classes and replaced everything with JOML
I also updated DFU to use the same version as 1.21.5, not sure if their is a reason why this wouldn't be wanted but I can revert it if wanted.

  • Allow models to be renderd into a VertexConsumer (untested)
  • Port fabric api's quad api (still unsure if I would want to do this)
  • Port dynamic models from fabric api (pretty much the same as using fabric's quad api ex: context aware version of BakedModel#getQuads/emitQuads)
  • Use MatrixStack instead of using fixed function pipeline

@AlphaMode
Copy link
Author

I want to look into possible lightmap support, but I went ahead and removed the methods for them for now,
I might come back to it tho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant