Skip to content

Sync GPU OBJ mapping APIs across versions#20

Merged
jonafanho merged 9 commits into
Minecraft-Transit-Railway:rewritefrom
xiangao0904:sync-gpu-obj-mapping-apis
May 24, 2026
Merged

Sync GPU OBJ mapping APIs across versions#20
jonafanho merged 9 commits into
Minecraft-Transit-Railway:rewritefrom
xiangao0904:sync-gpu-obj-mapping-apis

Conversation

@xiangao0904

Copy link
Copy Markdown
Contributor

Summary

This PR syncs the GPU OBJ mapping APIs across Fabric/Forge versions and expands the optimized rendering pipeline to support atlas-aware raw OBJ loading and generic instanced rendering helpers.

What changed

  • Unified OptimizedModel, OptimizedRenderer, ObjModelLoader, and related rendering helpers across multiple mappings/versions.
  • Added atlas-aware raw OBJ loading support.
  • Added reusable instanced rendering helpers and low-level buffer/VAO/vertex attribute utilities.
  • Introduced GL state tracking and shader/material helpers to keep optimized rendering stable across versions.
  • Fixed full-version OBJ handling and mapped-method checks.
  • Added/updated tests for OBJ model behavior and mapping validation.

Notes

  • This is mainly a cross-version API/mapping sync plus rendering infrastructure update, not a single-feature change.
  • The changes are aimed at reducing version-specific divergence and making the optimized GPU OBJ path more consistent.

Signed-off-by: xiangao0904 <3150399699@qq.com>
Signed-off-by: xiangao0904 <3150399699@qq.com>
Signed-off-by: xiangao0904 <3150399699@qq.com>
Signed-off-by: xiangao0904 <3150399699@qq.com>
Signed-off-by: xiangao0904 <3150399699@qq.com>
Signed-off-by: xiangao0904 <3150399699@qq.com>
Signed-off-by: xiangao0904 <3150399699@qq.com>
Signed-off-by: xiangao0904 <3150399699@qq.com>
@xiangao0904
xiangao0904 marked this pull request as draft May 21, 2026 18:52
@xiangao0904
xiangao0904 marked this pull request as ready for review May 22, 2026 01:50
@jonafanho
jonafanho merged commit 683092f into Minecraft-Transit-Railway:rewrite May 24, 2026
1 check passed
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.

2 participants