Comments (2)
Hi,
Thanks for reporting the issue. Very interesting !
With SkinningJob, the data provided is a bunch of spans + strides, meaning the file format I use is irrelevant.
Indeed that's the purpose of using spans for the skinning job. ozz doesn't fix the mesh format, as this is out of the library scope and difficult to make it engine agnostic.
Some cutscene animations call the stream read function 10,000 to 80,000 times for one animation
I was not expecting such an impact on animation reads. The changes to the animation formation done for the release 0.15.0 refactors serialization to use arrays. This significantly reduces the number of reads. Loading an animation with this version take tens of ยตs on an old laptop. Could you have a try ?
Also, just to be sure: are you using ozz::io::Stream provided by ozz, or have you implemented yours?
I'd like for the SamplingJob to receive its data as a set of spans like SkinningJob
It's impossible, constructing a runtime animation is complex, as you can see from the animation builder implementation, and not part of the public API. The public API from user perspective is that ozz will build a valid animation from a valid raw animation (which is easy to build).
and would like the SamplingJob::Context to allow me to provide it with data buffers
That's a good idea. Don't hesitate to provide a PR for this.
Also, have you considered recycling contexts?
Cheers,
Guillaume
from ozz-animation.
I consider this issue fixed with version 0.15.0 optimizations.
Don't hesitate to reopen if needed.
Cheers,
Guillaume
from ozz-animation.
Related Issues (20)
- examples on how to integrate with OpenGL? HOT 2
- What CLI options did you exactly use to create the media/bin/*.ozz animations from FBX files? HOT 4
- Animation Playback HOT 25
- gltf2ozz issue HOT 2
- Trouble getting Skinning to work. HOT 3
- Make a new master release HOT 3
- glTF and FBX skeleton difference HOT 1
- The 'install' -target for make tries to change permissions on existing directories HOT 4
- The 'install' -target places some files in the installation root directory HOT 2
- Feedback/Suggestion: the exclusion of mesh data in ozz tooling makes the library less confortable to use
- Skinning job doesn't preserve tangent handedness HOT 1
- Log adds a dependency on the standard C++ library for runtime HOT 2
- Failed to build on MSYS2 MINGW64 HOT 7
- gltf2ozz is not filtering out non joint nodes HOT 1
- How to define pole vector for two bone IK? HOT 4
- Discover projects using ozz-animation HOT 7
- AnimationOptimizer too eager to early out ? HOT 1
- Can't build samples after adding fbxsdk folder to the FindFbx.make
- 3 bones with first 2 bones not animated producing discrepancy between playback sample and Khronos GLTF reference HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ozz-animation.