question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FBX 2018 format animation issue

See original GitHub issue

I bought a 3D model with animation online, which is .max file format. I just got Autodesk 3DS MAX 2018, so I exported it as FBX 2018 format. Whether I baked animation or not, the model could be shown fine in the scene but the animation could not be played at all. The code that I loaded the model is shown as below, which is the same as the threejs example:

`

      var loader = new THREE.FBXLoader();
      loader.load( 'angel/angel2.FBX', function ( object ) {

          mixer = new THREE.AnimationMixer( object );

          var action = mixer.clipAction( object.animations[ 0 ] );
          action.play();

          object.traverse( function ( child ) {

            if ( child.isMesh ) {

            child.castShadow = true;
            child.receiveShadow = true;

            }

            } );
          object.position.y = 200;
          object.scale.set( 50, 50, 50 );
          scene.add( object );
    } );

`

Three.js version
  • Dev
  • r104
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
saucebingcommented, May 9, 2019

Thanks very much. I have posted the progress and closed the issue. Thanks for sharing your loader website!

On Thu, May 9, 2019 at 2:32 AM Lewy Blue notifications@github.com wrote:

The animation plays fine on my loader https://discoverthreejs.com/apps/loader/, using the latest version of the FBXLoader.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mrdoob/three.js/issues/16406#issuecomment-490709233, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBB35CKYPVZ4AF56TE4ANTPUN5L3ANCNFSM4HLVNUMQ .

Best Wishes! -------------------------------------------------------------------- Bingwei Chen

Department of Computer Science and Technology Tsinghua University

Department of Research and Development National Supercomputer Center in Wuxi

Email: chenbwei2012@gmail.com Tel: +86 13671213508

2reactions
looeeecommented, May 9, 2019

The animation plays fine on my loader, using the latest version of the FBXLoader.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maya - FBX Troubleshooting - Autodesk Knowledge Network
The Maya FBX plug-in lets you import animation layers without baking them. Otherwise, the animation is baked into the base animation layer.
Read more >
FBX 2018 format are shown all black without any error #16410
I loaded a free model which is FBX 2018 format to threejs but it is shown all black without any error. I used...
Read more >
Maya 2018 FBX export not working with UE4
The character is animated with a control rig, so the actual skinned joints aren't directly animated, but this has never been a problem...
Read more >
Maya doesn't recognize FBX file? How to fix the ... - YouTube
Maya doesn't recognize FBX file? How to fix the "Unrecognized File Type" issue when load FBX to Maya. Sometimes when we import FBX...
Read more >
Changes in Fbx Exporter | FBX Exporter | 3.0.1-preview.2
Fixed camera aspect and gate fit exporting as incorrect values. Known Issues. Using the FBX Recorder to record animated characters is not ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found