8000 Load xac and xsm with cpp by Nemrav · Pull Request #444 · OpenVicProject/OpenVic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Load xac and xsm with cpp #444

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Load xac and xsm with cpp #444

wants to merge 1 commit into from

Conversation

Nemrav
Copy link
Contributor
@Nemrav Nemrav commented Apr 30, 2025

New PR - needs code review.

XSM animation file loading:

Can now read 0xC8 chunk style animations (needed for zulu_walking.xsm)
Uses a hack of deleting frame 0 from all animation tracks to work. This replicates the behaviour of the gdscript version, but obviously is not ideal.
Cached in ModelSingleton
Used for all animation loading

XAC file loading:

Used for static (ie. no 'unit' script for animation) meshes only currently.
Textures are loading, but lighting is off
Bone weights / skinning chunks are not working and needs more work before this can fully replace the gdscript function versions.
Cached in ModelSingleton

@Nemrav Nemrav force-pushed the cpp_xac-tmp branch 2 times, most recently from c3c53e8 to 61f9ec1 Compare May 4, 2025 15:42
@Spartan322 Spartan322 added the enhancement New feature or request label May 5, 2025
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

Successfully merging this pull request may close these issues.

2 participants
0