阶段性合并:动画重定向、碎裂共享库、第三人称玩法、编辑器面板与 vendored ufbx
- 动画:HumanoidRig 三层架构(standard 标准槽 / dialects 方言映射 / mapper 配对), 指/趾统一走世界增量两遍式烘焙;AnimationAttach 拆为纯算法 + facade;修正 HumanoidBasis 行走基朝向与跨骨架去重、根运动通道 - 物理:CharacterController 角色互碰撞 / shapeOffset / 接触事件;PhysicsWorld 接触合成与 字符冲量判定 - 渲染与材质:Model 多材质按材质拆子 mesh 与贴图路径解析、DDS 直传、GLB 内嵌纹理落盘、 不透明通道 alpha 固定 1.0、glTF FlipUVs 对齐;SceneSerializer 支持 meshIndex 与材质覆盖 - 脚本:FractureLib 抽为共享库(HostView 桥接)、WallFracture 参数直绑、新增 ThirdPersonCamera / Follower / WASDMove 玩法;移除 GameDirector / PlayerController / Target - 编辑器:新增 GamepadPanel、LogPanel(LogRing),改进 Inspector / 材质 / 统计 / 视口面板 - 依赖:vendored ufbx(FBX 5.x/6.x/7.x 全版本解析,替代 assimp 对 FBX 6.1 的拒读)
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
#include <Engine/Core/Window.h>
|
||||
#include <Engine/Core/Input.h>
|
||||
#include <Engine/Core/Log.h>
|
||||
#include <Engine/Core/LogRing.h>
|
||||
#include <Engine/Core/Stats.h>
|
||||
#include <Engine/ECS/Scene.h>
|
||||
#include <Engine/Physics/PhysicsWorld.h>
|
||||
#include <Engine/Scripting/ScriptRuntime.h>
|
||||
@@ -112,6 +114,12 @@ namespace Engine {
|
||||
|
||||
void Application::Run()
|
||||
{
|
||||
// Log Panel 开闸:到此为止之前的启动日志(窗口/Vulkan/UBO/
|
||||
// IBL/网格构建)只落终端与文件——Unity Console 语义,面板只
|
||||
// 收运行期日志(场景/物理/脚本),启动噪音不进面板
|
||||
Engine::Debug::LogRing().SetEnabled(true);
|
||||
ENGINE_DEBUG("[APP] 主循环启动(Log Panel 开启;此行为 DEBUG 级,"
|
||||
"勾选 Trace 过滤可见青色 DEBUG 徽标)");
|
||||
ENGINE_INFO("Application starting");
|
||||
|
||||
m_Running = true;
|
||||
@@ -133,6 +141,8 @@ namespace Engine {
|
||||
while (m_Running) {
|
||||
const auto frameStart = std::chrono::steady_clock::now();
|
||||
|
||||
STATS.BeginFrame(); // 帧内资源分配清零(面板帧流失真修正)
|
||||
|
||||
m_Window->PollEvents();
|
||||
|
||||
auto now = std::chrono::steady_clock::now();
|
||||
|
||||
Reference in New Issue
Block a user