feat(render): add reusable dynamic parts for multiblock machines - #24
Open
NoyiriaLumi wants to merge 7 commits into
Open
feat(render): add reusable dynamic parts for multiblock machines#24NoyiriaLumi wants to merge 7 commits into
NoyiriaLumi wants to merge 7 commits into
Conversation
🔨 Build and Sign状态: ✅ 构建完成 🔗 打开本次构建
可在构建页面 Artifacts 下载 请放入整合包测试你的功能。 |
Author
|
API迁移完了 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么:
为多方块机器增加了一套可复用的动态结构系统,并测试于神锻和Nano Phagocytosis Plant。
动态部分仍是原多方块结构的一部分,但在机器运行时可以被单独隐藏、渲染和变换。当前支持旋转、动态方块命中、JADE 信息、方块描边、实验性动态碰撞。
为什么需要:
方便以后其他机器在需要做部分结构渲染效果的时候服用这套内容
方便写炫酷小动画
如何测试或验证:
开游戏拍个神锻或者Nano Phagocytosis Plant,让他运行就能看到了。
是否影响存档兼容、平衡、性能、任务线或客户端/服务端行为:
不影响存档兼容,平衡,任务线
性能:VBO 按状态缓存;碰撞仅处理已注册且当前可见的动态部分,但缺乏压力测试。
服务端:增加原位置碰撞隐藏和动态结构碰撞处理。
客户端:增加动态 VBO、方块隐藏、光照刷新、射线命中、描边和 JADE 接入。