
此插件并非 TacZ 官方插件;属于非官方作品。在任何情况下,请勿将此插件引发的任何错误报告给 TacZ 服务器。请仅在此模组的评论区或 Vell's Mods 信息服务器中报告相关问题。
⚠ 0.3.0 版本的重要变更:轻量级渲染现在需要 Accelerated Rendering
从 0.3.0 版本开始,TacZ Mesh Loader 专有的 VBO 渲染功能已被移除。这是由于该功能与光影包(Iris / Oculus)的兼容性较差,且频繁出现渲染相关的问题。
因此,从 0.3.0 版本起,TacZ Mesh Loader 本身不再使网格模型枪械变为轻量级。 若要使其保持轻量级,请安装 Accelerated Rendering (Forge / NeoForge) 或 AcceleratedRendering-reFabricated (Fabric)。TacZ Mesh Loader 会自动将网格渲染任务移交给它,无论是否安装光影均可正常工作。
若未安装该组件,模组仍可正常运行且网格模型仍会显示,但当屏幕上出现大量网格模型枪械时,性能可能会大幅下降。
必需依赖项
- Forge 1.20.1 / NeoForge 1.21.1: Timeless and Classics Zero (官方 TacZ) 1.2.0 或更高版本
- Fabric 1.20.1 / 1.21.1: TaCZ: Refabricated 1.0.0 或更高版本
推荐
- Forge 1.20.1 / NeoForge 1.21.1: Accelerated Rendering
- Fabric 1.20.1 / 1.21.1: Accelerated Rendering reFabricated
用于实现网格模型枪械的轻量级渲染。若不安装,网格模型将以普通(较重)的方式绘制。
可选
- Fabric 1.20.1 / 1.21.1: Mod Menu(允许你在游戏中更改 TacZ Mesh Loader 的设置)
概述
TacZ Mesh Loader 是一个客户端模组,允许 TacZ 模型使用由 Blockbench 插件 Meshy 导出的 poly_mesh 几何体。
默认情况下,TacZ 仅支持基岩版格式的方块模型。安装此模组后,枪械包制作者可以直接在 TacZ 的枪械、配件、弹药和枪匠台中使用多边形网格模型——即由三角形和四边形多边形构建的光滑形状。
无需特殊设置。系统会自动检测网格模型。
功能
支持多边形网格 —— 直接将 Meshy 导出的 poly_mesh 几何体加载到 TacZ 的模型管线中。立方体部件和网格部件可以在同一模型中自由混合。
自动检测 —— 任何包含 poly_mesh 数据的模型文件都会自动作为网格模型渲染。无需定义 "model_type"。
广泛覆盖 —— 适用于枪械、配件(瞄准镜、消音器等)、弹药和枪匠台。
配合 Accelerated Rendering 实现轻量级渲染 —— 当安装了 Accelerated Rendering 时,网格模型会被缓存并通过其进行绘制。这即使在游戏中显示大量网格模型枪械也能保持低负载,并且兼容光影包。若未安装 Accelerated Rendering,网格模型将以普通方式绘制,性能开销较大。
兼容性 —— 兼容 Iris / Oculus 光影、TacZ 1.2.0 的新式镜头效果(夜视 / 热成像)以及 Yes Steve Model。
LesRaisins Tactical Equipements 支持 —— 近战武器、消耗品和投掷物也可以使用网格模型。(仅限 Forge 1.20.1、NeoForge 1.21.1 和 Fabric 1.21.1。NeoForge 和 Fabric 版本支持非官方移植版。)
如果您是从早于 0.3.0 的版本升级,请删除一次旧配置文件以应用新的默认设置。
设置
如果您是从早于 0.3.0 的版本升级,请删除一次旧配置文件以应用新的默认设置。
对于枪械包制作者
从 0.2.1 版本开始,不再需要 "model_type": "mesh" 定义。只需按照正常 TacZ 枪械包的方式编写显示 JSON 即可。TacZ Mesh Loader 会检查模型文件,如果其中包含 poly_mesh 数据,则自动启用网格渲染。
{
"model": "mypack:gun/mygun_geo",
"texture": "mypack:gun/uv/mygun",
"animation": "mypack:mygun"
}
已经使用 "model_type": "mesh" 定义的现有枪械包将继续正常工作,无需任何更改。
文件位置和结构遵循标准的 TacZ 枪械包格式。模型应使用 Blockbench 中的 Meshy 插件创建。您可以直接从 Blockbench 插件列表下载它。
如果您发布使用网格模型的枪械包,请务必列出此模组作为依赖项。没有此模组,网格部件将无法显示。
务必将手部模型用作方块对象。不要将手部模型转换为网格。
许可证
GPL-3.0
致谢
作者:VellEagle

This add-on is not an official TacZ add-on; it is unofficial. Please do not report any bugs caused by this add-on to the TacZ server under any circumstances. Please report them exclusively in the comments section of this mod or on Vell's Mods info server.
⚠ Important change in version 0.3.0: Accelerated Rendering is now needed for lightweight rendering
Starting with version 0.3.0, TacZ Mesh Loader's proprietary VBO rendering feature has been removed. This was due to poor compatibility with shader packs (Iris / Oculus) and frequent rendering-related issues.
Because of this, from 0.3.0 onward, TacZ Mesh Loader by itself no longer makes mesh model guns lightweight. To keep them lightweight, please install Accelerated Rendering (Forge / NeoForge) or AcceleratedRendering-reFabricated (Fabric). TacZ Mesh Loader automatically hands mesh rendering over to it, with or without shaders.
Without it, the mod still works and mesh models are still displayed, but performance may drop a lot when many mesh model guns are on screen.
Required dependencies
- Forge 1.20.1 / NeoForge 1.21.1: Timeless and Classics Zero (official TacZ) 1.2.0 or later
- Fabric 1.20.1 / 1.21.1: TaCZ: Refabricated 1.0.0 or later
recommended
- Forge 1.20.1 / NeoForge 1.21.1: Accelerated Rendering
- Fabric 1.20.1 / 1.21.1: Accelerated Rendering reFabricated
Needed to render mesh model guns lightweight. Without it, mesh models are drawn the normal (heavier) way.
Optional
- Fabric 1.20.1 / 1.21.1: Mod Menu (lets you change TacZ Mesh Loader settings in game)
Overview
TacZ Mesh Loader is a client-side mod that allows TacZ models to use poly_mesh geometry exported by the Blockbench plugin Meshy.
By default, TacZ only supports Bedrock-format cube models. With this mod installed, gunpack creators can use polygon mesh models — smooth shapes built from triangle and quad polygons — directly in TacZ guns, attachments, ammo and gun smith tables.
No special setup is required. Mesh models are detected automatically.
Features
Poly mesh support — Loads Meshy-exported poly_mesh geometry directly into TacZ's model pipeline. Cube parts and mesh parts can be freely mixed in the same model.
Automatic detection — Any model file that contains poly_mesh data is automatically rendered as a mesh model. No "model_type" definition is needed.
Wide coverage — Works for guns, attachments (scopes, suppressors, etc.), ammo, and gun smith tables.
Lightweight rendering with Accelerated Rendering — When Accelerated Rendering is installed, mesh models are cached and drawn through it. This keeps the load low even when many mesh model guns are on screen, and it also works with shader packs. Without Accelerated Rendering, mesh models are drawn the normal way and will be heavier.
Compatibility — Works with Iris / Oculus shaders, the new scope lens effects of TacZ 1.2.0 (night vision / thermal), and Yes Steve Model.
LesRaisins Tactical Equipements support — Melee weapons, consumables and throwables can also use mesh models. (Forge 1.20.1, NeoForge 1.21.1 and Fabric 1.21.1 only. NeoForge and Fabric versions support the unofficial ports.)
If you are updating from a version before 0.3.0, delete the old config file once so the new default settings are applied.
Settings
If you are updating from a version before 0.3.0, delete the old config file once so the new default settings are applied.
For Gunpack Creators
Starting from 0.2.1, the "model_type": "mesh" definition is no longer required. Just write the display JSON exactly the same way as a normal TacZ gunpack. TacZ Mesh Loader checks the model file and automatically enables mesh rendering if it contains poly_mesh data.
{
"model": "mypack:gun/mygun_geo",
"texture": "mypack:gun/uv/mygun",
"animation": "mypack:mygun"
}
Existing gunpacks that already use "model_type": "mesh" will continue to work without any changes.
File locations and structure follow the standard TacZ gunpack format. Models should be created in Blockbench using the Meshy plugin. You can download it directly from the Blockbench plugin list.
If you release a gunpack that uses mesh models, please be sure to list this mod as a dependency. Without this mod, the mesh parts will not be displayed.
Be sure to use the hand model as a cube object. Do not convert the hand model into a mesh.
License
GPL-3.0
Credits
Author: VellEagle
下载 TacZ Mesh Loader [TML]
下载 TacZ Mesh Loader [TML]
下载 TacZ Mesh Loader [TML]
下载 TacZ Mesh Loader [TML]
下载 TacZ Mesh Loader [TML]
下载 TacZ Mesh Loader [TML]
下载 TacZ Mesh Loader [TML]
下载 TacZ Mesh Loader [TML]
- 渲染流程已修改,以停止 TML 专有的 VBO 渲染,并改为将 VBO 渲染委托给 Accelerated Rendering。
- 渲染流程已修改,以停止 TML 专有的 VBO 渲染,并改为将 VBO 渲染委托给 Accelerated Rendering。
- 与 tacz-1.2.0-hotfix 同步
- 修复了使用 LesRaisins Tactical Equipements 的网格模型渲染不正确的问题。
- 修复了安装 TML 后夜视仪和热成像瞄准镜无法正常工作的一个问题
- 移除了此前仅适用于枪械网格模型的
"model_type": "mesh"定义,现在网格模型将自动加载
- 修复了将 TacZ Refabricated 更新到最新版本时,因 TacZ Mesh Loader 导致崩溃的问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧