14 Commits

Author SHA1 Message Date
lyxyz5223
242f225b75 feat(renderer): Add ModelRender,Camera,TextRenderer
- Add ModelRender
- Add Camera
- Add TextRenderer
- Add RTTI Object
class
- Add PhysicsCollider interface: getClassName method
- Add AlignedMemoryStack class
- fix Logger and LoggerSpdLog
- fix Model2D
method: getPhysics, remove const qualifier
2025-11-17 22:14:25 +08:00
lyxyz5223
e3b42e4f70 feat(Logger): Add a universal logger
- Add a Logger framework
- Add a spdlog logger adapter
- Update README and vcpkg.json
- fix some language error
2025-11-16 15:10:59 +08:00
tzdwindows 7
f4e10bcccc feat(animation): implement animation clip and layer systems
- Added AnimationClip class with curve and keyframe management
- Implemented AnimationCurve with multiple interpolation types
- Created AnimationEventMarker for timeline events
- Added AnimationLayer with track and clip playback support
- Implemented blending modes for animation mixing
- Added event system with listeners and triggers
- Included utility functions for time/frame conversion
- Added copy and merge functionality for clips
- Implemented loop and playback control mechanisms
- Added metadata support including author and description
- Included UUID generation for unique identification
- Added frame rate and duration management
- Implemented parameter override system
- Added physics system integration support
2025-11-15 16:24:52 +08:00
tzdwindows 7
6dcd006f0e feat(renderer): implement texture binding with texture unit support
- Added generate_new_uuid function for unique identifier generation
- Included stduuid/uuid.h and declared generate_new_uuid in pch.h
- Added bindTexture overload to accept Texture object and texture unit
- Implemented texture unit validation and OpenGL texture activation
- Added Texture class declaration in RenderSystem header
- Updated project files to include new model and utility headers/sources
- Configured C++20 standard in Vivid2D project settings
- Fixed namespace references in Vivid2D.cpp for Buffer classes
2025-11-15 16:22:14 +08:00
tzdwindows 7
0b88b1a7f4 build(Vivid2DRenderer): enhance post-build script with directory exclusion logic
- Add DesignTime build protection by checking $(TargetName) macro
- Implement exclusion list for directories to skip during copy operations
- Recursively copy header files from subdirectories while excluding specified dirs
- Introduce cleanup step to remove excluded directories from target path
- Improve robustness of file copy and directory management in build process
- Add logging for directory copy and cleanup actions for better traceability
2025-11-15 11:21:06 +08:00
tzdwindows 7
ab8c621a00 refactor(buffer): rename namespace from Buffer to Vivid2D::Render::Buffer
- Updated namespace in BufferBuilder.cpp
- Updated namespace in BufferBuilder.h
- Updated namespace in BufferUploader.cpp
- Updated namespace in BufferUploader.h
- Updated namespace in Tesselator.cpp
- Updated namespace in Tesselator.h

chore(project): add new source files and update preprocessor definitions

- Added GLM_ENABLE_EXPERIMENTAL and _CRT_SECURE_NO_WARNINGS to preprocessor definitions
- Included new header files: AnimationParameter.h, Mesh2D.h, ModelPart.h, BoundingBox.h, VertexList.h
- Included new source files: AnimationParameter.cpp, Mesh2D.cpp, ModelPart.cpp, BoundingBox.cpp, VertexList.cpp
- Added MultiSelectionBoxRenderer.h and MultiSelectionBoxRenderer.cpp
- Added Texture.h and Texture.cpp
- Added Vertex.h and Vertex.cpp
- Updated project filters for new files
2025-11-15 10:21:03 +08:00
tzdwindows 7
0707a6d5cd Refactor (renderer):优化缓冲区上传和渲染管道
- 删除多余的注释并简化applyRenderState逻辑
- 增强了丢失着色器制服和程序的错误记录
改进了绘制调用中的VAO/VBO绑定和属性管理
在渲染系统中增加了高兴功能的加载支持
- 调整线程断言逻辑以更好地处理初始化
- 在缓冲区绑定期间启用顶点属性数组
- 禁用深度测试并启用2D渲染的混合
- 更新了着色器源代码定义和正确的行结束符
- 导出ShaderProgram类以实现DLL可见性
- 通过删除不必要的注释简化纯色着色器
- 集成GLFW窗口管理和OpenGL上下文设置
- 实现了framebuffer resize回调来调整视口
- 添加了基本的渲染循环矩形镶嵌示例
- 确保在退出时正确清理着色器和渲染资源
2025-11-14 22:27:38 +08:00
tzdwindows 7
a1e68c878b feat(core): 集成RenderSystem并优化构建配置
- 添加VIVID_2D_MYDLL_API宏定义支持动态链接库导出- 引入RenderSystem头文件及系统模块
- 实现RenderSystem静态方法调用逻辑
- 添加渲染指令记录与回放功能演示- 配置项目属性包含路径和外部依赖
- 更新Release模式下的库目录和依赖项设置
- 移除原有注释说明改用功能模块划分方式呈现代码结构
2025-11-14 20:39:01 +08:00
tzdwindows 7
5f166255f7 chore(build):优化头文件复制脚本并确保目录存在- 使用 TARGET_INCLUDE_DIR 变量统一管理目标路径
- 在复制前创建目标目录以避免路径不存在问题- 更新 xcopy 命令中的路径引用为新变量
-保留排除特定文件(framework.h, pch.h)的逻辑
- 添加 REM 注释增强脚本可读性- 结束时调用 endlocal 清理环境变量设置
2025-11-14 20:38:27 +08:00
tzdwindows 7
e937d05968 feat(render): 导出渲染系统核心类并优化数据类型- 为 RenderSystem、BufferBuilder 等关键类添加 VIVID_2D_MYDLL_API 导出宏
- 将多个 int 类型成员变量和返回值改为 size_t 以提升跨平台兼容性
- 在 pch.h 中统一管理 VIVID_2D_MYDLL_API 宏定义逻辑
- 更新项目配置禁用特定警告 4251 并增加头文件打包后处理脚本- 优化构建流程自动复制所需头文件至输出目录并排除无关文件
2025-11-14 20:24:40 +08:00
tzdwindows 7
efa010b087 docs(readme): 更新项目构建指南文档- 恢复并完善 Vivid2DRenderer 项目构建指南
- 添加作者信息(tzdwindows 7,QQ: 3076584115)-详细说明先决条件:Visual Studio 和 vcpkg 安装要求
- 提供 vcpkg 配置步骤,包括依赖库安装命令- 补充使用 Visual Studio 构建项目的完整流程
- 列出所需第三方库:glfw3、glew、stb、glad、spdlog、glm
- 增加 CMake 项目集成 vcpkg 的配置说明
2025-11-14 16:36:54 +08:00
tzdwindows 7
ecbb22d14f docs(readme): 添加项目构建指南文档- 创建 README.md 文件,介绍 Vivid2DRenderer 项目的构建流程
- 添加作者信息(tzdwindows 7,QQ: 3076584115)- 列出构建项目的先决条件(Visual Studio 和 vcpkg)
- 提供配置 vcpkg 并安装依赖库的详细步骤
- 描述使用 Visual Studio 构建项目的完整过程
- 包含 GLFW3、GLEW、STB、GLAD、SPDLOG 和 GLM 等依赖库的安装说明- 提供 CMake 项目在 Visual Studio 中的配置与构建指导
2025-11-14 16:35:41 +08:00
tzdwindows 7
2c36bac794 添加项目文件。 2025-11-14 16:22:42 +08:00
tzdwindows 7
695f7008cf 添加 .gitattributes、.gitignore 和 README.md。 2025-11-14 16:22:40 +08:00