Commit Graph

51 Commits (98335c7edc687aded4a0344826a5989b84dd7c53)

Author SHA1 Message Date
InkSoul 98335c7edc feat(render): 重构离屏渲染资源管理并优化光照计算
- 移除对 gli 库的引用,后续不再使用该第三方库,补充stb_image作为替代
- 引入 RenderOffScreen、RenderLightSource 等封装类统一管理离屏渲染资源
- 使用成员变量替代局部变量,通过 getter 方法访问 Vulkan 资源句柄
- 将 push constant 数据封装到专用结构体中,并提供设置方法
- 更新光照方向计算逻辑,使用封装后的光源旋转数据
- 清理冗余代码,提升 generateCubemaps 函数可读性与维护性
2025-11-29 15:28:27 +08:00
InkSoul 1c207b7fab ```
refactor(render): 移除getter方法的const限定符并重构管线和描述符集获取方式

移除了RenderPipelineList中所有getter方法的const限定符,并更新了render.cpp中对
管线对象和描述符集合的访问方式。通过引入新的布局与管线管理类,如
RenderDescriptorSetLayoutList、RenderPipelineList等,替换原有的直接成员变量访问,
使代码结构更清晰且便于维护。同时添加了必要的头文件包含以支持新增的类引用。
```
2025-11-24 23:14:57 +08:00
InkSoul d2d9db4aff 完成部分结构体向类的重构 2025-11-22 23:05:23 +08:00
InkSoul 69fc13b883 修复gui错误 2025-02-16 14:27:21 +08:00
ink-soul 61c501adcb fix envMapRotate 2024-05-13 11:04:28 +08:00
ink-soul d4beea0076 添加ktx环境贴图 2024-04-11 18:24:19 +08:00
ink-soul 02d6974134 修复模型自旋转,允许相机根据模型自适应距离
已知问题:加载其他ktx环境贴图会发生贴图倒置的情况
2024-04-11 16:28:54 +08:00
ink-soul 3a78c71a24 修复ppm路径错误 2024-03-29 15:17:09 +08:00
ink-soul 6e34140783 添加输出图片为png格式的支持 2024-03-28 17:52:33 +08:00
ink-soul 1adef63b80 更换模型后重新生成图片序列和视频 2024-03-28 11:12:47 +08:00
ink-soul fe9c837110 完成图片序列到视频的工作流程 2024-03-27 17:29:32 +08:00
ink-soul 6e791134d7 完成图片序列输出 2024-03-26 18:04:18 +08:00
ink-soul efd42bdef7 init image writer with screen shot 2024-03-26 15:17:51 +08:00
ink-soul 04fb6d29e0 Revert "revert"
This reverts commit a0b8b66f2b.
2024-03-26 14:59:37 +08:00
ink-soul a0b8b66f2b revert 2024-03-26 14:59:23 +08:00
ink-soul 9cbbb01a83 完成outputImageSequence 2024-03-25 11:51:10 +08:00
ink-soul 81c289ea9c 添加framebuffer to ppm 2024-03-22 18:05:18 +08:00
InkSoul 1fe69cd629 更新RM 2024-03-02 21:59:07 +08:00
ink-soul ff2a16aa3b fix character not show correctly 2023-06-19 10:09:08 +08:00
ink-soul dc58fbad2b update chinese UI 2023-06-19 09:47:00 +08:00
InkSoul 8e27b83b22 reconstruct UI complete 2023-06-17 01:18:15 +08:00
ink-soul d8f01324d0 fix loading error when loading from Chinese path 2023-06-13 14:50:25 +08:00
ink-soul 5c30ea82f7 Update render.cpp 2023-06-12 14:56:43 +08:00
ink-soul 4d567bf64a fix log complain 2023-06-12 11:11:52 +08:00
ink-soul 5665ff4105 switch chinese UI asset path fix complete
allow asset path check more data path
2023-06-12 11:05:10 +08:00
ink-soul 0ba1c93ff4 switch ttf file for preparing chinese UI 2023-06-12 09:18:05 +08:00
ink-soul 5a246f00a5 bug fix
fix : camera position is the same with model position
2023-06-07 16:16:53 +08:00
ink-soul 4ef4b9d2c9 fix ui not been deleted 2023-06-07 11:29:44 +08:00
ink-soul fb5694e197 fix ui rendering error 2023-06-07 10:52:04 +08:00
InkSoul cf65bf2670 big fix for reconstruct
note : bug may because of wrong filePath
2023-06-07 00:45:10 +08:00
ink-soul f53e0ad463 ready for UI reconstruct 2023-06-06 17:18:45 +08:00
ink-soul aceb49e0be reconstruct render
update lib
2023-06-06 15:52:39 +08:00
ink-soul 14f0b51c75 reconstruct dependency to device.hpp 2023-06-06 11:40:59 +08:00
InkSoul a8fe5397c2 reconstruct render 2023-06-05 22:37:31 +08:00
InkSoul 8c857eb707 Revert "Revert "save to revert""
This reverts commit b18564c1f5.
2023-06-05 21:31:21 +08:00
InkSoul b18564c1f5 Revert "save to revert"
This reverts commit 58212f943e.
2023-06-05 21:13:17 +08:00
InkSoul 58212f943e save to revert 2023-06-05 21:12:55 +08:00
ink-soul 5f98bc4fd1 reconstruct render 2023-06-05 16:40:39 +08:00
ink-soul 25402941e3 reconstruct render 2023-06-05 10:38:28 +08:00
ink-soul 5aeb1c1efc bug fix : crush when loading model with no material 2023-06-02 16:40:03 +08:00
ink-soul e1a8de6147 fix wrong MICRO usage 2023-06-02 14:29:20 +08:00
ink-soul 2c6eaa4dc9 update MICRO for plumage render 2023-06-02 09:56:49 +08:00
ink-soul b2178a2ab6 update 2023-06-01 17:26:15 +08:00
ink-soul fc8a577516 Update render.cpp 2023-06-01 16:41:14 +08:00
ink-soul 34afb08673 feature: load model dynamicly is available
bug fix : crush when loading model with no animation

bug : crush when loading model with no materials info
2023-06-01 15:56:40 +08:00
ink-soul 59c4d750a3 reconsruct file path to flex 2023-06-01 15:32:08 +08:00
ink-soul e308f2ac18 finish file open dialog 2023-06-01 10:48:46 +08:00
ink-soul b748806ad8 fix file open dialog broken 2023-06-01 09:32:07 +08:00
InkSoul e5d0cb92cf update UI for file open dialog (BROKEN!) 2023-06-01 00:05:36 +08:00
ink-soul 46b3d24dd7 reconstructed cpp file 2023-05-26 16:19:12 +08:00