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

Fbx Import for Camera Tracking #1016

Closed
MarMar54321 opened this issue Nov 24, 2022 · 10 comments · Fixed by #1218
Closed

Fbx Import for Camera Tracking #1016

MarMar54321 opened this issue Nov 24, 2022 · 10 comments · Fixed by #1218

Comments

@MarMar54321
Copy link

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like

It would be great if you could make it possible to import fbx animations from blender for example to nerfstudio as camera path. Some other Nerf generating application is able todo so and this makes things easier.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@tancik
Copy link
Contributor

tancik commented Nov 27, 2022

This would be a nice feature to include. Do you know of other nerf libraries that have this support that we can reference?

@MarMar54321
Copy link
Author

MarMar54321 commented Nov 28, 2022 via email

@tancik
Copy link
Contributor

tancik commented Nov 28, 2022

Thanks for the extra info! Luma is unfortunately closed source so there isn't much we can gleam from them. There doesn't seem to be an easy to use python FBX library that I can find. Autodesk FBX library doesn't have a pypi package and py-FBX appears to be an unfinished project. I'll keep searching...

@vincepapaix
Copy link

just an idea here, instead of working on a import/export of FBX files in nerfstudio if it's too complex. An alternative will be to find a way to convert a FBX camera data into a camera_path.json, this can be achieved in python in various softwares.

the main issue though is that we need to have a correlation between the 3d world space in blender/maya/etc and nerfstudio.

@tancik
Copy link
Contributor

tancik commented Dec 7, 2022

Yea, that could work, can you provide examples of other python based software doing this?

@vincepapaix
Copy link

A software like the foundry nuke can import fbx/abc camera system and in the attributes of the camera it converts xyz position rotation to world matrix
from there you can use the scritping panels to write some code to export out a camera_path.json that can be imported in nerfstudio

there is non commercial nuke here
https://www.foundry.com/products/nuke-family/non-commercial

Hope it helps

@tancik
Copy link
Contributor

tancik commented Jan 17, 2023

We will add a blender workflow which will hopefully capture this workflow in #1218

@tancik tancik linked a pull request Jan 17, 2023 that will close this issue
@bhack
Copy link

bhack commented Oct 28, 2023

A software like the foundry nuke can import fbx/abc camera system and in the attributes of the camera it converts xyz position rotation to world matrix
from there you can use the scritping panels to write some code to export out a camera_path.json that can be imported in nerfstudio

Can we re-open this? A direct fbx/abc export it will have a more universal integration coverage.

@tancik
Copy link
Contributor

tancik commented Oct 28, 2023

We weren't sure how to add this functionality in practice. Do you have any ideas?

@bhack
Copy link

bhack commented Oct 28, 2023

You can use the python API https://docs.alembic.io/python/examples.html

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

Successfully merging a pull request may close this issue.

4 participants