Aitch Posted May 1, 2018 Share Posted May 1, 2018 I have an animated sequence of .obj files that contain the same mesh (vertices) but in different positions. What is the best way to go about getting this animation into Babylon.js? As this is different to the bone and skeleton system that is explained in examples. Quote Link to comment Share on other sites More sharing options...
Guest Posted May 1, 2018 Share Posted May 1, 2018 Is the position the only difference? or is it for morphing? (https://doc.babylonjs.com/how_to/how_to_use_morphtargets) Quote Link to comment Share on other sites More sharing options...
Aitch Posted May 2, 2018 Author Share Posted May 2, 2018 Thanks. Yes the surface is morphing and changing and can't be represented as a positional transform, whilst the vertex count isn't changing. Looking at the documentation you've linked, it mentions a limit of attributes per mesh. I'm only looking to change position and normals in each of the 25 frames of animation. However, I still make use of UVs, though these aren't changing over the course of the animation. So I'm guessing the attribute limitation shouldn't affect me? Quote Link to comment Share on other sites More sharing options...
Guest Posted May 2, 2018 Share Posted May 2, 2018 Nope you are good! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.