Dragon Survival Render Optimizer
Dragon Survival Render Optimizer (DSRO) is a client-side rendering optimization mod for Dragon Survival, designed to reduce rendering overhead when multiple dragon players, Dragon Souls, or other supported entities are visible on screen at the same time.
This project was developed extensively with the assistance of AI. Please be aware that it may contain bugs and could cause performance regressions, crashes, or other issues. Use it at your own risk.
What Does It Optimize?
DSRO introduces several optimizations to the Dragon Survival rendering pipeline, including:
- GPU-accelerated rendering for supported Dragon Survival models
- Texture caching to reduce unnecessary texture regeneration
- Render batching for compatible dragon players and Dragon Souls
- Batched bone pose uploads to reduce CPU → GPU submission overhead
- Reuse of temporary CPU-side rendering data
- Optional GPU optimization for supported BeLoong Core NPC dragons
- Automatic fallback to the original rendering path when an entity, material, or rendering feature is not compatible
The goal of DSRO is to reduce rendering overhead when many Dragon Survival entities are visible at the same time, without replacing Dragon Survival's original animation system.
Original animations, rendering layers, skill-related bone calculations, and inventory entity previews are preserved.
When Is It Useful?
DSRO is mainly designed for situations where multiple Dragon Survival entities are visible at the same time, for example:
- Multiplayer servers with several dragon players nearby
- Large player gatherings
- Multiple Dragon Souls visible at once
- Modpacks that make extensive use of Dragon Survival
- Situations where entity rendering causes a CPU bottleneck
Actual performance improvements depend on your hardware, shaders, entity count, other installed mods, and the specific scene. However, current testing has shown noticeable FPS improvements when multiple dragons are visible on screen at the same time.
Rendering Modes
DSRO provides three rendering modes:
GPU
The default mode. Enables GPU rendering optimizations and texture caching.
Textures
Keeps the original geometry rendering path while enabling texture caching.
Vanilla
Uses the original Dragon Survival rendering path without DSRO rendering optimizations.
You can switch modes in-game using:
/dsbr gpu
/dsbr textures
/dsbr vanilla
Use:
/dsbr stats
to view current rendering statistics.
Requirements
The current version is primarily designed for:
- Minecraft 1.21.1
- Java 21
- NeoForge 21.1.248
- Dragon Survival 2.0.71
- GeckoLib 4.9.3
GPU mode requires OpenGL 4.3 support.
Optional Compatibility
DSRO also includes compatibility support for:
- Iris
- Sodium
- BeLoong Core 0.10.1
BeLoong Core is not a required dependency.
DSRO's Dragon Survival optimizations can still be used normally without BeLoong Core installed.
If an unknown or unsupported Core version is detected, only the related NPC optimization will be disabled. The main Dragon Survival optimization path will remain unaffected.
For rendering features that cannot be safely optimized, DSRO will automatically fall back to the original rendering path whenever possible.
Dragon Survival Render Optimizer
Dragon Survival Render Optimizer(DSRO) 是一个针对 Dragon Survival 的客户端渲染优化 Mod,主要用于降低多个龙玩家、龙魂或其他受支持实体同时出现在画面中时的渲染开销。
大面积使用ai完成,使用前请知晓可能存在的bug和性能反向提升、崩溃等问题。
优化了什么?
DSRO 对 Dragon Survival 的渲染流程进行了多项优化,包括:
- 对支持的 Dragon Survival 模型使用 GPU 加速渲染
- 纹理缓存,减少不必要的纹理重复生成
- 对兼容的龙玩家和龙魂进行 渲染合批
- 批量上传骨骼姿态,减少 CPU → GPU 提交开销
- 复用 CPU 渲染过程中的临时数据
- 可选支持部分 BeLoong Core NPC 龙的 GPU 优化
- 遇到不兼容的实体、材质或渲染功能时,自动回退到原有渲染路径
DSRO 的目标是在不替换 Dragon Survival 原有动画系统的情况下,降低大量 Dragon Survival 实体同时显示时的渲染开销。
原有动画、渲染层、技能骨骼计算以及物品栏实体预览均会保留。
适合什么场景?
DSRO 主要针对同时存在多个 Dragon Survival 实体的场景,例如:
- 多名龙玩家同时出现在附近的多人服务器
- 大型玩家聚集区域
- 同屏存在多个龙魂
- 大量使用 Dragon Survival 的整合包
- 因实体渲染导致 CPU 性能瓶颈的场景
实际性能提升会受到硬件、光影、实体数量、其他 Mod 以及具体场景的影响。
目前测试结果显示,在多条龙同时出现在屏幕中时,DSRO 可以带来一定的 FPS 提升。
渲染模式
DSRO 提供三种渲染模式:
GPU
默认模式。启用 GPU 渲染优化和纹理缓存。
Textures
保留原有几何渲染流程,仅启用纹理缓存优化。
Vanilla
完全使用 Dragon Survival 原有的渲染流程。
可以通过游戏内指令切换:
/dsbr gpu
/dsbr textures
/dsbr vanilla
使用:
/dsbr stats
可以查看当前渲染统计信息。
运行要求
当前版本主要针对:
- Minecraft 1.21.1
- Java 21
- NeoForge 21.1.248
- Dragon Survival 2.0.71
- GeckoLib 4.9.3
GPU 模式需要支持 OpenGL 4.3。
可选兼容
DSRO 还包含对以下内容的兼容支持:
- Iris
- Sodium
- BeLoong Core 0.10.1
BeLoong Core 不是必需依赖。
即使没有安装 BeLoong Core,DSRO 的 Dragon Survival 优化仍然可以正常使用。
如果检测到未知或不支持的 Core 版本,只会关闭对应的 NPC 优化,不会影响 Dragon Survival 本身的优化功能。
对于无法安全优化的渲染功能,DSRO 会尽可能自动回退到原版渲染路径。