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

Example integration with filament #65

Closed
liuhangb opened this issue Feb 28, 2019 · 3 comments
Closed

Example integration with filament #65

liuhangb opened this issue Feb 28, 2019 · 3 comments
Labels

Comments

@liuhangb
Copy link

Recently, I try to use google filament engine to render 3d model, but no animation; I have confused about intergrat ozz animation to filament; If possible, provide some document to help intergration easily, thanks very much.

@guillaumeblanc
Copy link
Owner

Hi,

Disclaimer: I've never used Google Filament.

I assume your objective is to play animations and skin a mesh, right?

Here's what I'd recommend:

  • Start by getting used to ozz API with a simple example like animation playback one. You'll see how to load skeleton, animations and play them.
  • Then look at ozz skinning job, and get to understand OpenGL implementation in ozz sample framework. Additive sample uses it, if you need to see how the mesh is loaded and skinning matrices computed.
  • Finally you'll need a way with Filament to have kind of dynamic vertex buffers, so you can update the mesh each frame. Looking very quickly at the API I think that's what vk_animation sample does. So your job is going to repro what ozz sample OpenGL framework does with Filament API.

Hope it helps,
Guillaume

@guillaumeblanc
Copy link
Owner

Any progress?

@guillaumeblanc
Copy link
Owner

Please reopen if you can share your progress.

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

No branches or pull requests

2 participants