修复 NanoVDB 加载后渲染黑屏问题

问题原因:
1. RunNanoVDBTest 在 LoadNanoVDB 之后重复调用了 EndCommandList(),
   而 LoadNanoVDB 内部已经完整处理了命令列表生命周期
2. 命令列表状态混乱导致后续渲染失效

修复内容:
1. 移除 RunNanoVDBTest 中重复的 EndCommandList/WaitForCompletion 调用
2. 在 main.cpp 添加控制台输出重定向,方便调试
3. 添加 run.bat 启动脚本
This commit is contained in:
2026-03-11 20:01:05 +08:00
parent 926e9a6b75
commit d1a9530b0f
2 changed files with 35 additions and 5 deletions

4
run.bat Normal file
View File

@@ -0,0 +1,4 @@
@echo off
cd /d "%~dp0"
Release\XCVolumeRenderer.exe
pause