本模组已不再维护。请改用 Beddium。
Neodymium Unofficial
Neodymium 的临时分支,在 Makamys 回归并合并更改之前提供 FalseTweaks 兼容性;此后,本项目的所有权将移交给他们
Neodymium 是一个在 Minecraft 1.7.10 中使用现代 OpenGL 重新实现区块渲染的模组。这应该能在大多数硬件上提升性能。
作为副作用,据报道它还能修复在使用集成 Intel GPU 运行 Minecraft 时出现的 图形错误。建议安装 CoreTweaks 以获得更全面的修复。
基准测试
测试时在原地不动(不移动视角),难度设置为和平模式。当区块更新数量降至个位数且 FPS 稳定后,对 FPS 进行测量。
| Mods | GPU | OS | Resolution | Baseline | With Neodymium | Change |
|---|---|---|---|---|---|---|
| OF + FC | GTX 1050Ti | Ubuntu 20 | 854x480 | 480 FPS | 840 FPS | +75% |
| OF + FC | GTX 1050Ti | Ubuntu 20 | 1920x1080 | 440 FPS | 560 FPS | +27% |
| OF + FC | GTX 1050Ti | Windows 10 | 1920x1080 | 230 FPS | 270 FPS | +17% |
| OF + FC | Intel HD 630 | Windows 10 | 1920x1080 | 90 FPS | 130 FPS | +44% |
| GTNH 2.1.2.3qf + OF + FC | GTX 1050Ti | Ubuntu 20 | 1920x1080 | 300 FPS | 390 FPS | +30% |
图例
- OF: OptiFine HD_U_D6
- FC: FastCraft 1.23
- Nd: Neodymium 0.1
使用方法
你需要先安装 UniMixins,然后将 neodymium 放入你的 mods 文件夹即可。你可以通过按 F3 并查看屏幕右侧来确认模组是否正常工作。这里会显示渲染网格的数量以及占用的内存量。
如果检测到不兼容,叠加层中会显示“(!) Incompatibilities”(不兼容项),或者模组可能会完全禁用自身。不兼容的原因会被打印到日志中。你也可以使用 /neodymium status 命令查看它们。
在模组的配置文件中,你可以找到各种选项,用于微调模组以适应你的硬件。当区块重新加载时(例如当你按 F3+A 时),配置文件会自动重载;如果启用了热交换功能,则在保存配置文件后立即重载。
调试
提供了一些调试快捷键组合。按下它们时需要按住 调试前缀键(默认为 F4)。
- F: 在 Neodymium 的渲染器和原版区块渲染器之间切换。可用于比较模组带来的差异。
- (仅在使用创造模式或开发模式下可用。)
- 必须启用
enableVanillaChunkMeshes才能生效,否则切换后你将只看到虚空。
- V: 切换世界是否渲染。可用于查看通过区块渲染器优化所能达到的理论最大 FPS。
- (仅在使用创造模式或开发模式下可用。)
- M: 显示 VRAM 调试器。显示的白色像素位置对应于 GPU 顶点缓冲区中分配的内存段的偏移量。
- Left(左箭头): 重新加载渲染器。为方便起见提供此功能,因为 F3+A 会使你向左平移。
- Right(右箭头): 切换渲染器更新加速。启用此功能后,区块更新速度将加快 300 倍。这会降低你的 FPS,但减少了等待所有渲染器加载完毕所需的时间。
工作原理
该模组注入回调函数,当地图渲染器(世界的 16x16x16 区块部分)发生变化时运行。当地图渲染器完成渲染后,Neodymium 捕获 tessellator 的状态并将其网格转换为自己的格式。原版区块渲染器被禁用,转而运行不同的实现。模组不会改变网格的构建方式,只改变它们的绘制方式。它应该能与任何使用 tessellator 绘制方块的模组一起工作。
还有一些额外的优化:
- 面剔除:不朝向摄像机的面不会被提交渲染。这减轻了 GPU 的工作负载,如果 GPU 曾经不堪重负,这将提高帧率。灵感来源于 Sodium 中的类似优化。
该模组会增加内存使用量,因为区块网格必须存储在某个地方。在原版世界中,正常渲染距离下,它在 RAM 和 VRAM 中各占用约 70-150 MB。
不兼容项
- 如果开启了 高级 OpenGL(遮挡剔除),模组性能会变差。
- OptiFine 的“平滑”和“多核”区块加载设置不兼容。
- OptiFine 光影 现在 兼容了,但可能存在一些小问题。据称 FalseTweaks 可以修复此问题。
- CoFHTweaks 不兼容 ()
- Gilded Game Utils:常规版本不兼容——请使用 移除了线程光照的分叉版。
- Various coremods(各种核心模组)可能与 Mixin 不兼容。使用 Mixingasm 修复此问题。
- 另见:标记为
mod incompatibility的问题。
推荐模组
如需更多 1.7.10 的性能优化模组,请参阅 此列表。
THIS MOD IS NOT LONGER MAINTAINED. USE Beddium INSTEAD.
Neodymium Unofficial
A temporary fork of Neodymium with FalseTweaks compatibility until Makamys returns and merges the changes, after which ownership of this project will be transferred to them
Neodymium is a mod that reimplements chunk rendering in Minecraft 1.7.10 using modern OpenGL. This should improve performance on most hardware.
As a side effect, it has also been reported to fix the graphical errors that occur when running Minecraft with an integrated Intel GPU. Installing CoreTweaks is recommended for a more comprehensive fix.
Benchmarks
Tests were made staying in one place without moving the camera, on Peaceful difficulty. The FPS was measured once the chunk update number had reached the single digits and the FPS had stabilized.
| Mods | GPU | OS | Resolution | Baseline | With Neodymium | Change |
|---|---|---|---|---|---|---|
| OF + FC | GTX 1050Ti | Ubuntu 20 | 854x480 | 480 FPS | 840 FPS | +75% |
| OF + FC | GTX 1050Ti | Ubuntu 20 | 1920x1080 | 440 FPS | 560 FPS | +27% |
| OF + FC | GTX 1050Ti | Windows 10 | 1920x1080 | 230 FPS | 270 FPS | +17% |
| OF + FC | Intel HD 630 | Windows 10 | 1920x1080 | 90 FPS | 130 FPS | +44% |
| GTNH 2.1.2.3qf + OF + FC | GTX 1050Ti | Ubuntu 20 | 1920x1080 | 300 FPS | 390 FPS | +30% |
Legend
- OF: OptiFine HD_U_D6
- FC: FastCraft 1.23
- Nd: Neodymium 0.1
Usage
You need to install UniMixins first, then just drop neodymium in your mods folder. You can confirm that the mod is working by pressing F3 and looking at the right side of the screen. The number of rendered meshes will be shown, along with the amount of used memory.
If an incompatibility is detected, "(!) Incompatibilities" will be shown in the overlay, or the mod may disable itself entirely. The cause of the incompatibility will be printed to the log. You can also view them using the /neodymium status command.
In the mod's config file you can find various options you can use to fine-tune the mod to suit your hardware. The config is reloaded when the chunks are reloaded (e.g. when you press F3+A), or immediately upon saving the config file if the hot swap feature is enabled.
Debug
There are some debug key combinations provided. You have to hold down the debug prefix key (F4 by default) while pressing them.
- F: switch between Neodymium's renderer and the vanilla chunk renderer. Can be used to compare the difference the mod makes.
- (Only usable in creative mode or dev.)
enableVanillaChunkMesheshas to be enabled for this to work, otherwise you'll just see the void after switching.
- V: toggle whether the world is rendered or not. Can be used to see the theoretical maximum FPS that can be achieved via chunk renderer optimization.
- (Only usable in creative mode or dev.)
- M: show the VRAM debugger. The positions of the white pixels shown correspond to the offsets of memory sections allocated in the vertex buffer on the GPU.
- Left: reload renderers. Provided for convenience because F3+A makes you strafe left.
- Right: toggle renderer update speedup. While this is enabled, chunk updates will be sped up 300x. This kills your FPS but reduces the time you have to wait until all the renderers have loaded.
How it works
The mod injects callbacks that run when world renderers (16x16x16 sections of the world) change. Right after a world renderer has finished rendering, Neodymium captures the tessellator's state and converts the mesh to its own format. The vanilla chunk renderer is disabled, and a different implementation runs instead. The mod doesn't change how meshes are constructed, only the way they get drawn. It should work with any mod that uses the tessellator to draw blocks.
There are also some additional optimizations:
- Face culling: Faces that aren't facing the camera won't be submitted for rendering. This reduces GPU workload, and will increase the framerate if the GPU was choking. Inspired by a similar optimization in Sodium.
The mod increases memory usage, since the chunk meshes have to be stored somewhere. On Normal render distance in a vanilla world, it uses ~70-150 MB, both in RAM and VRAM.
Incompatibilities
- The mod performs poorly if Advanced OpenGL (occlusion culling) is turned on.
- OptiFine's "Smooth" and "Multi-Core" chunk loading settings are not compatible.
- OptiFine shaders are now compatible, but may have some minor issues. FalseTweaks allegedly fixes this.
- CoFHTweaks is incompatible ()
- Gilded Game Utils: the regular version is not compatible - use the fork with threaded lighting removed instead.
- Various coremods may be incompatible with Mixin. Use Mixingasm to fix this.
- Also see: issues labeled with
mod incompatibility.
Suggested mods
For more 1.7.10 performance mods, refer to this list.
下载 Neodymium Unofficial
下载 Neodymium Unofficial
下载 Neodymium Unofficial
下载 Neodymium Unofficial
下载 Neodymium Unofficial
下载 Neodymium Unofficial
下载 Neodymium Unofficial
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
评论 0
登录后参与评分
还没有评论,来抢沙发吧