Fast ImageFrames
与 ImageFrame Client mod 搭配使用的最佳模组,由 LOOHP 制作。同时修复了 ImageFrame Client 和 ImmediatelyFast 之间的不兼容问题。Quilt 支持目前正在开发中。
如果在模组使用中遇到任何问题或有建议,请在 Discord 上联系我。
物品展示框和地图墙的渲染速度提升高达 50 倍,外观与原版一致。
Fast ImageFrames 是一个客户端 Fabric 模组。大型地图艺术作品墙、满是物品展示框的 ImageFrame 服务器和商店不再拖累你的 FPS。无需在服务器上安装任何内容,屏幕上没有任何变化:所有功能均经过与原版截图的对比检查。
功能介绍
物品展示框和地图
- 地图图集:地图纹理被打包到少数几个大纹理中,因此整面地图墙只需很少的绘制调用即可渲染,而不是每张地图单独调用一次。
- 烘焙地图墙:不会变化的帧只渲染一次并像地形一样重放,而不是每帧逐个处理。帧每秒检查多次,一旦有变化立即重建。在没有光影包的情况下,烘焙后的墙面保留在显存中并直接从中绘制。
- **动态图像(ImageFrame GIF)**在播放期间保持烘焙状态:仅交换纹理坐标。
- 烘焙物品展示框(1.21.4 至 1.21.11):持有任意物品(方块、工具、附魔物品、旗帜、盾牌、指南针、时钟等)的展示框也会被烘焙。
- 更轻量的框架模型:当两个框架之间的边缘或框架背面不可见时,不进行绘制。尊重更改框架外观的资源包(例如隐形框架)。
- 隐藏帧被跳过:位于方块后面的帧不会被绘制或烘焙,即使未烘焙也通过游戏(或 Sodium)的可见性检测加上逐块测试来跳过。
- 发光物品展示框同样优化:普通物品展示框和发光物品展示框以相同方式优化,光照变化(火把、动态光源)不会触发重建。
- 无用的地图更新被移除:当数据包仅移动标记点时,游戏不再重新构建整个地图纹理。
ImageFrame Client 高清图像
安装 ImageFrame Client 后,Fast ImageFrames 处理其高清图像:
- 细节层次:每张图像根据其屏幕显示尺寸所需的分辨率进行绘制。远处的图像不占用独立显存,近处的图像更清晰。
- RAM 和磁盘缓存,每个服务器一个文件夹:下次加入服务器时图像会立即显示,无需再次下载(仅在地图匹配时)。
- 智能下载:图像按照出现顺序请求,每次少量请求,拒绝后会重试。
实测增益
游戏内测试,窗口大小 854x480,RTX 4060 笔记本,Minecraft 1.21.8:
| 场景 | 原版 | Fast ImageFrames |
|---|---|---|
| 1600 张地图墙(40x40) | 13 FPS | 725 FPS |
| 1600 张带有 ImageFrame Client 的高清地图墙 | 18 FPS | 656 FPS |
| 动态墙,400 张地图,每秒一帧图像 | 60 FPS | 687 FPS |
| 400 个物品展示框,持有 12 种不同物品 | 94 FPS | 512 FPS |
在实际 Paper 服务器上,有一面包含 2160 张高清图像(每张 4000 像素)的墙:仅使用 ImageFrame Client 时约为 30 FPS,使用 Fast ImageFrames 时约为 800 FPS。
兼容性
- Minecraft 1.21.4 至 1.21.11 以及 Fabric 版本 26.1 至 26.3。
- Sodium、Lithium、Iris(包括开启光影)、Immediately Fast、Entity Culling、FerriteCore、ETF、EMF 等(应与所有模组兼容)。
- 关闭任何“自定义物品展示框”渲染(Immediately Fast 除外),否则模组可能无法正常工作。
已知不兼容项
- 无
设置
所有内容均可通过 Mod Menu 开启或关闭,每组设置对应一页,每个选项均有提示说明。支持英文和法文。
许可证
LGPL-3.0。源代码:
Fast ImageFrames
The best mod to pair with ImageFrame Client mod, by LOOHP. Also fixes the incompatibility issue between ImageFrame Client and ImmediatelyFast. Quilt support is currently in development.
DM me here on Discord if you encounter any issues with the mod, or if you have suggestions.
Item frames and map walls, rendered up to 50 times faster, same look as vanilla.
Fast ImageFrames is a client-side Fabric mod. Big map art walls, ImageFrame servers and shops full of item frames stop dragging your FPS down. Nothing to install on the server, nothing changes on screen: every feature is checked against vanilla screenshots.
What it does
Item frames and maps
- Map atlas: map textures are packed into a few large textures, so a whole wall of maps is drawn in a handful of draw calls instead of one per map.
- Baked map walls: frames that don't change are drawn once and replayed like terrain, instead of being processed one by one every frame. Frames are checked several times per second and rebuilt as soon as something changes. Without a shader pack, baked walls stay in video memory and are drawn straight from there.
- Animated images (ImageFrame GIFs) stay baked while they play: only the texture coordinates are swapped.
- Baked item frames (1.21.4 to 1.21.11): frames holding any item (blocks, tools, enchanted items, banners, shields, compasses, clocks...) are baked too.
- Lighter frame model: the edges between two frames and the back of the frames are not drawn when they can't be seen. Resource packs that change the frame (invisible frames...) are respected.
- Hidden frames are skipped: frames behind blocks are not drawn, baked or not, using the game's (or Sodium's) visibility plus a block by block test.
- Glow item frames too: normal and glow item frames are optimized the same way, and a change of light (torches, dynamic lights) does not rebuild anything.
- No useless map updates: the game no longer rebuilds a whole map texture when a packet only moves markers.
ImageFrame Client HD images
With ImageFrame Client installed, Fast ImageFrames handles its HD images:
- Level of detail: each image is drawn at the resolution its size on screen needs. Far images use no video memory of their own, near ones get sharper.
- Cache in RAM and on disk, one folder per server: images show up instantly next time you join, without being downloaded again (only when the map still matches).
- Smart downloads: images are requested in the order they appear, a few at a time, refusals are retried.
Measured gains
In-game test, 854x480 window, RTX 4060 laptop, Minecraft 1.21.8:
| Scene | Vanilla | Fast ImageFrames |
|---|---|---|
| Wall of 1600 maps (40x40) | 13 FPS | 725 FPS |
| Wall of 1600 HD maps with ImageFrame Client | 18 FPS | 656 FPS |
| Animated wall, 400 maps, one image per tick | 60 FPS | 687 FPS |
| 400 item frames holding 12 kinds of items | 94 FPS | 512 FPS |
On a real Paper server with a wall of 2160 HD images (4000 px each): about 30 FPS with ImageFrame Client alone, about 800 FPS with Fast ImageFrames.
Compatibility
- Minecraft 1.21.4 to 1.21.11 and 26.1 to 26.3 on Fabric.
- Sodium, Lithium, Iris even with Shaders, Immediately Fast, Entity Culling, FerriteCore, ETF, EMF, etc (Should be compatible with every mod).
- Turn Off any "custom item frames" render, (except for Immediately Fast) or the mod may not work properly.
Known incompatibilities
- None
Settings
Everything can be turned on and off from Mod Menu, one page per group of settings, every option explained in its tooltip. English and French.
License
LGPL-3.0. Source code:
下载 Fast ImageFrame
下载 Fast ImageFrame
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fast ImageFrame
下载 Fast ImageFrame
下载 Fast ImageFrame
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fast ImageFrame
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fast ImageFrame
下载 Fast ImageFrame
下载 Fast ImageFrame
下载 Fast ImageFrame
修复了多项错误并大幅提升了性能:
- 修复了一个错误:从物品展示框中移除的物品在消失前仍会短暂显示几个游戏刻。
- 改进了遮挡剔除系统。
所有版本均已更新。
Fast ImageFrames 1.7.2,适用于 Minecraft 26.3(Fabric)。
总体:性能提升与新功能。
自 B1.5.0 版本以来新增的内容:
- 支持在斜视或远距离观察地图时启用平滑贴图(mipmaps),设置中新增相关滑块。
- 物品栏和工具提示中的地图预览渲染更流畅、开销更低。
- 实体渲染循环跳过已烘焙的物品框(使用 Iris 时实体渲染速度提升约 20%-37%)。
- 遮挡结果被缓存,不再每次光照或区块变化时都刷新。
- 未发生变化的物品框检查频率降低。
- 修复问题:当物品框加载到已烘焙区块时墙壁闪烁,以及与 Sodium 导致的幽灵方块问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
评论 0
登录后参与评分
还没有评论,来抢沙发吧