Jump to content

[SOLVED] babylon.exporter too much frames


javalang
 Share

Recommended Posts

Hi all,

I'm using blender-BJS-Exporter 5.4.0 and have a blender scene with a keyframed animation starting from start Frame:0 to Frame:120. Unfortunately there are much more frames exported than expected (up to 640 but with gaps). It seems the scene is looped a second time but with some garbage and some gaps inbetween.

I'm new to blender but I'm quite sure to have a consistent scene.

Any ideas?

Thanks in advance

cubecircle.blend

testbabylon17.babylon

Link to comment
Share on other sites

You are probably using the JSON / .babylon exporter, but I can explain using the source code generating exporter, Tower of Babel.

You are doing non-skeleton animation, so you get animations for position, then rotation, then scaling.  You are not scaling in your case, but this is really not detectable.

You do have 3 actions in your .blend, so the # of frames are cumulative.  These 3 animation ranges get created.  The gaps are just for sanity of separating where each action starts / ends.  If you are only interested in Action.001, then delete the others.  The exporter does all.

this.createAnimationRange("Action.001", 0, 120);
this.createAnimationRange("Action.002", 130, 250);
this.createAnimationRange("BezierCircleAction", 260, 380);

Also, if the rotation or position is linear, you can remove frames in the middle, I think & save some space.

Link to comment
Share on other sites

@JCPalmer thank you very much for reply.

Quote

If you are only interested in Action.001, then delete the others

This is the problem, I have only  one action in my blender file... so how to delete the others? I baked an animation from a follow path constraint...and deleted the curve afterwards . Maybe garbage in the blender file!

Quote

Also, if the rotation or position is linear, you can remove frames in the middle, I think & save some space

My target scene will not be linear, it's only a test, but thanks for the hint.

Quote

Tower of Babel

Yes I've installed this plugin, but I don't know to use it and I red something about that this software was replaced by exporter?

Can you drop me some lines how to use?

PS: Oh I see, there will be a file.js created...

Thank you again

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...