Implement FBX model loader with scene node mapping and mesh processing#35
Draft
Copilot wants to merge 3 commits intodevel_44_RenderContextfrom
Draft
Implement FBX model loader with scene node mapping and mesh processing#35Copilot wants to merge 3 commits intodevel_44_RenderContextfrom
Copilot wants to merge 3 commits intodevel_44_RenderContextfrom
Conversation
Co-authored-by: hyzboy <1788285+hyzboy@users.noreply.github.com>
…tation Co-authored-by: hyzboy <1788285+hyzboy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] 参照我现在的范例,特别是那些INLINE GEOMETRY的代码。帮我写一个基于AUTODESK LIBFBX的读取FBX模型显示的范例,不考虑骷髅动画,只处理网格模型,顶点只读取坐标和顶点法线。同时暂时不考虑贴...
Implement FBX model loader with scene node mapping and mesh processing
Sep 20, 2025
Copilot stopped work on behalf of
hyzboy due to an error
September 20, 2025 13:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements a complete FBX model loader for the ULRE Engine based on Autodesk FBX SDK, following the existing AssimpLoader patterns while focusing on mesh geometry processing.
Implementation Overview
The FBX loader provides a clean architecture that maps FBX scene data to engine objects:
Key Features
Core FBX Loader (
FBXLoader.h/cpp)Conditional FBX SDK Integration
The implementation uses conditional compilation to work with or without FBX SDK:
Engine Integration Pattern
Following the inline geometry examples, the loader creates engine objects:
Working Demonstrations
Architecture Demo (No FBX SDK Required)
Engine Integration Demo
Files Added
src/Tools/ModelConvert/FBXLoader.h/cpp- Main FBX loader implementationsrc/Tools/ModelConvert/FBXLoaderDemo.cpp- Standalone architecture demonstrationsrc/Tools/ModelConvert/FBXIntegrationDemo.cpp- Engine integration exampleexample/Basic/FBXModelTest.cpp- 3D rendering integration demosrc/Tools/ModelConvert/README_FBX.md- Comprehensive integration documentationIntegration Instructions
To use with real FBX files:
Current Scope & Future Expansion
Currently Implemented:
Ready for Future Implementation:
The modular design allows incremental feature addition without architectural changes, maintaining the engine's existing patterns while providing a solid foundation for complete FBX support.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.