-
Notifications
You must be signed in to change notification settings - Fork 14
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
Animation Renderer and Interactive Mode (RaC 1 only) #94
Merged
Conversation
This file contains 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
Also fixed the color layout of the ingame moby memory.
Still without animations :)
This was quite painful to get right and at the end it was pretty much as in the Collada exporter.
This seems to be more in line with what the game uses but I have no idea how exactly they do the smooth blending between animations.
This allows us to avoid OpenGL calls when they are not necessary. Some more work is still required though to keep overhead small.
This makes the animations a bit less choppy. But they are still quite bad especially on animation changes.
The standard library only supports Windows. If we ever switch to .Net 7 then this change would even have been necessary as the whole package is not even available anymore under anything but Windows.
Turns out OpenTK has a bug, possibly. Doing this by hand works. Previously, the rotations were not interpolated.
Code needs to be refactored a bit, this is just a first working implementation.
I wrote this when I tested for multithreaded preparation but that didn't work due to too much overhead. Yet this code is kind of better than what we had before so I kept it.
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 includes: