three.js icon indicating copy to clipboard operation
three.js copied to clipboard

USDZExporter animations

Open positlabs opened this issue 3 years ago • 5 comments

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

I'm building a dynamic scene in ThreeJS, and I need a fallback for webXR (AR, specifically), for devices that don't support it. One solution is to use Apple's Quick Look app, but it requires USDZ format. I'm using the USDZExporter to export the file, but it loses the keyframe animations.

Describe the solution you'd like I'd like the USDZExporter to pull the animation clip from my loaded model.

Here are some useful links for the USD animation schema: https://graphics.pixar.com/usd/release/tut_xforms.html https://developer.apple.com/documentation/arkit/usdz_schemas_for_ar/autoplay

Describe alternatives you've considered

I could build some kind of cloud function docker thing that converts from GLTF to USD since the GLTFExporter supports animations. It's not an ideal solution.

Additional context

https://github.com/mrdoob/three.js/issues/14219

positlabs avatar Feb 02 '22 18:02 positlabs

usda and usdc to usdz ?

kasnyi avatar Feb 15 '22 23:02 kasnyi

Anyone interested in co-developing animation support for USDZExporter? I may be willing to do some dev work.

radman-x avatar Jun 24 '22 20:06 radman-x

We've got a first implementation of this and are going to make a PR soon –
see https://twitter.com/hybridherbst/status/1563676038214959104. Some cleanup to do first, it's a pretty big refactor.

hybridherbst avatar Sep 07 '22 00:09 hybridherbst

Is there source code for this? If so, where? If not, ETA?

radman-x avatar Sep 09 '22 15:09 radman-x

We've got a first implementation of this and are going to make a PR soon – see https://twitter.com/hybridherbst/status/1563676038214959104. Some cleanup to do first, it's a pretty big refactor.

hi, are there any updates on this?

iiLearner avatar Sep 11 '22 08:09 iiLearner

I'm also very much looking forward for the feature to be realsed. Are there any updates?

th-ink avatar Sep 26 '22 09:09 th-ink

Any update ? @hybridherbst Thanks 🙏

valentinsld avatar Feb 01 '23 14:02 valentinsld