sceneform-android-sdk icon indicating copy to clipboard operation
sceneform-android-sdk copied to clipboard

Support animations for glTF/GLB format

Open dpproduction opened this issue 5 years ago • 20 comments

I create ModelRenderable with glb model file that contains a few skeleton animations. But animationDataCount is zero. Do you plan to support animations for glTF/GLB formats?

dpproduction avatar Mar 07 '19 13:03 dpproduction

Right now we only have support for animations via FBX imported to SFB and glTF/GLB only support static assets (whether loaded at runtime or imported into an sfb). At this point we don't have any new animation formats to announce, but I will mark this as a feature request to track this. Thanks!

tpsiaki avatar Mar 08 '19 03:03 tpsiaki

Thanks! It will be a very useful feature!

dpproduction avatar Mar 08 '19 07:03 dpproduction

Please implement the Animations from glb/gltf! 😎

bestog avatar Mar 28 '19 23:03 bestog

GLTF animations would be very helpful!

MattSich avatar May 31 '19 12:05 MattSich

@tpsiaki are there any workarounds possible? E.g. Filament has a gltf loader that supports animation, is it possible to use it directly? Possibly via a custom version of Filament (as in #329). I'd also be interested in adding support to the gltf -> sfa/sfb conversion tool, but I haven't found source for it.

jfaust avatar Jul 02 '19 18:07 jfaust

@jfaust Do you found a way to play animated gltf models?

trikolasu avatar Aug 05 '19 13:08 trikolasu

@trikolasu Not yet.

jfaust avatar Aug 05 '19 17:08 jfaust

How is the model-viewer doing that? Go to https://www.google.com/search?q=panda on your android Just give us that :D

arifullahjan avatar Aug 06 '19 05:08 arifullahjan

Please implement the Animations from glb/gltf. Or create an easy and stable online converter without need in Android Studio. Its not a job for developers to convert hundreds of objects, and marketing people just cannot use the existing converter properly.

sergeevsnaappy avatar Aug 06 '19 10:08 sergeevsnaappy

Hi there:

Truly hoping this feature is added to the next Android SDK release, as ARCore web-component already uses it from several previous versions (I suppose that using a port of the aforementioned Filament existing functionality).

vortice3D avatar Aug 29 '19 10:08 vortice3D

Hi there, kind people:

Any advice about the way to implement/hack within Sceneform, by ourselves, the already available Filament Engine Animated GLTF/GLB functionality ?

BTW, it's me or seems very strange not being to be possible to use this (basic) functionality in ARCore/Sceneform at the moment, considering that:

  • GLTF/GLB and USDZ are widely considered as the formats to go in the AR/VR playground;
  • Sceneform uses Filament and this has the requested functionality already implemented (see previous link) by means of the gltfio library;
  • as remarked before by arifullahjan and myself, ARCore for Web (via model-viewer web component) already implements it.

Anyway, the lack of this fundamental feature makes me think that perhaps Google prefers (as by example Vuforia does) that people use a third party game engine (Unity and Unreal) in order to tackle AR projects, instead of the (good) native-way. Do not misunderstand me, I have not problem with that focus when in fact a "game" is being developed, but I think that's a complete (and bloating) overkill in many other scenarios.

Thanks for your time.

Best regards.

vortice3D avatar Sep 17 '19 17:09 vortice3D

Hi again dear folks:

After writing the previous post, I've just seen in the Filament's GitHub repository that at the moment (Filament 1.3.2) already implemets GLTF/GLB animations by means of gltfio library.

Visiting the Sceneform SDK for Android GitHub repository, the revision history shows that in the last version (v1.12.0), such1.3.2 version of Filament has been added.

From that I think that the only missing step is to incorporate Sceneform v1.12.0 into the plugin for Android Studio. Am I missing something?

Best regards.

vortice3D avatar Sep 17 '19 19:09 vortice3D

+1 I suggest to focus to implement this feature to simplify the developer work...

GLiccardo avatar Sep 26 '19 10:09 GLiccardo

Hi everybody:

As a result of the fix in implementation of GLTF/GLB on Filament, I think now there are not excuses for finally incorporate GLTF/GLB animations to the native ARCore/Sceneform functionality.

Best regards.

vortice3D avatar Oct 29 '19 10:10 vortice3D

@tpsiaki Still not working on Scenefrom 1.14 ... c'mon guys :(

dpproduction avatar Dec 13 '19 09:12 dpproduction

So weird it is still not working in 1.14... maybe for 1.15?

vortice3D avatar Dec 13 '19 09:12 vortice3D

Hi I'm also in requirement of this feature ASAP. I'm trying to load animated 3d objects at runtime. But animation is only supported in .obj which in turn can't be loaded at runtime as it needs to be converted into sfb. On the other hand runtime supportive gltf/glb formats can't have animation. Such a vicious circle. Please guys implement this ASAP!

shiaro007-joker avatar Dec 18 '19 10:12 shiaro007-joker

1.15 still not implement animated GLTF/GLB functionality.

Supporting all the work on the oldie FBX format is a real bottleneck in each serious pipeline. Very disappointing for the CG artist!

C'mon guys!

vortice3D avatar Feb 17 '20 16:02 vortice3D

How to load animation 3d object in-app by HTTP URL? Is AR core support animated object in runtime by using URL assets of 3d object if yes, then which format I should use?

Thanks

laddhadhiraj avatar Feb 21 '20 11:02 laddhadhiraj

Finalliy 1.16 release support animated GLTF/GLB by means of gltfio library and open access to Filament APIs.

Hallelujah!!

vortice3D avatar Mar 26 '20 14:03 vortice3D