Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load multiple wimdo and camdo models #17

Open
3 tasks
ScanMountGoat opened this issue Mar 3, 2024 · 1 comment
Open
3 tasks

Load multiple wimdo and camdo models #17

ScanMountGoat opened this issue Mar 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ScanMountGoat
Copy link
Owner

ScanMountGoat commented Mar 3, 2024

Some models are split across multiple files. This applies to all supported games. One approach is to add model loading functions that take an iterator of paths. Loading a single model can call this function internally with std::iter::once. Merging a ModelRoot should also merge the skeletons. Skeleton merging can be tested with unit tests.

  • load_models and load_models_legacy
  • merge ModelRoot
  • support multiple files for xc3_gltf and xc3_viewer
@ScanMountGoat ScanMountGoat added the enhancement New feature or request label Mar 3, 2024
@ScanMountGoat ScanMountGoat changed the title Specify multiple wimdo paths for xc3_gltf and xc3_viewer Specify multiple model paths for xc3_gltf and xc3_viewer Apr 8, 2024
@ScanMountGoat ScanMountGoat changed the title Specify multiple model paths for xc3_gltf and xc3_viewer Load multiple wimdo and camdo models Apr 28, 2024
@ScanMountGoat
Copy link
Owner Author

It may be more accurate to load a single complete skeleton instead of trying to merge partial skeletons from wimdo skinning information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant