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

Observed incorrect DurationInTicks when loading .GLB models. #54

Open
willmotil opened this issue Mar 20, 2020 · 0 comments
Open

Observed incorrect DurationInTicks when loading .GLB models. #54

willmotil opened this issue Mar 20, 2020 · 0 comments

Comments

@willmotil
Copy link

willmotil commented Mar 20, 2020

Using
Assimp.net nuget ver 5.00beta.
Os win10
Language C#
Graphics framework Monogame, utilizing a desktop GL type project.

Observed apparent incorrect DurationInTicks when loading .GLB models.
For Fbx and other files the animation times seem to be correct.

Celesium Man
modeltestEx06_slow
don't mind the textures the shaders aren't in there yet still have to figure all that out.

The .GLBs seem to import some where about 10x to slow like a extra 0 is stuck on animation duration. I didn’t test this for regular gltfs and im just getting my viewer up and running.

Since its just the two values and the fbx timings are still ok.
It seemed that this shouldn't be related to my own code so i posted this as a issue.

Here is a little output of the two values.

Anim #[0] Name:

DurationInTicks: 2000
TicksPerSecond: 24.5
DurationInTicks / TicksPerSecond: 2000 / 24.5 sec. total duration in seconds: 81.6326530612245

I have one animation that is about 90 seconds long and it ends coming out to be 900 seconds long.
Not to big of a deal i speed it up by about 10 or so it looks about right but it appears to be a bug
.

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

No branches or pull requests

1 participant