FBX Binary: Unnecesary keyframes on first and last frame of the timeline #45438
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#45438
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Win 8.1 / GTS 250
Blender Version
Broken: 2.75 hash: f4f7348
Short description of error
Start and final frame of the rendering range gets a keyframe for every animated object
Exact steps for others to reproduce the error
Exporting to fbx binary I get unnecesary keyfames on first and last frame of the rendering range ( in my case on 1 and 250). I only put keyframes on the middle of the timeline, starting from frame 50. This can be quite troublesome if later edited in other software.
As for an example 3Ds Max FBX export does not export these start and final keyframes that are not added by the user.
Below you can see there is no keyframes on start and final frame of the timeline
But below you can see that after importing the fbx back into Blender I get keyframes on start and final frame of the timeline
Files are here:
empties.fbx
empties.blend
Changed status to: 'Open'
Added subscriber: @AlexDoso
Changed status from 'Open' to: 'Archived'
Thanks for the report, but no bug here, this is expected behavior.
cool, but can this thing can be changed? (or could I?)
Imagine a scene with 3000 objects all with just first and last keyframes. That is 6000 unnecesary frames that will slow down real-time the animation for this reason :(
I’d say that typically, you do not bother about two more keyframes - your 3000 objects would already have tens (or more) of keyframes each, anyway.
Further more, defining first and last keyframes is important for action length (usually, when exporting some animation, you want to be sure your actions have the same length as in Blender, even if their start/end is still)…
I guess I could add yet another option, if you can show me it’s really important, but meh… We already have too much options in the exporter, people often do not know how to use them. :|
To be short:
This could be an option to tick on the exporter menu like: "Start & Final Keyframes" with the tooltip"Add keyframes on start and final frame of the rendering range of timeline"
It's a win-win situation for everybody.
let me give you a 3rd more practical example, to considerate:
if we have a scene with 2 objects: one has a start of animation from frame 50 till frame 100; the other one will start from 100 and stop at 2000.
Now, after importing the fbx in other software we will need to separate the objects in multiple scenes. In one scene it will be the first object, the second scene will have only the second object, and the third scene will have both object.
So, all scenes will start and end at the same time. First scene will be very boring because from frame 100 till 2000 nothing will happen. But the timeline line will keep moving till the end causing unnecessary seconds added to the export as video. Of course the last frame can be deleted, but imagine instead of one object there are actually 3000 objects to delete frames from. And the software only exports from frame one until the last frame regarding of the timeline length.
Bastien, I hope you understand my point now ;)
Tbh I do not really understand why this is such an issue, sounds a bit like bad designed applications to me :P
But anyway, will add the option - though exporting start/end keyframes will be ON by default, it’s important not to break previous behavior (unless we have a really good reason to do so), and I know quite a bit of pipelines which rely on that too (that’s why it was implemented this way in the first place).
Btw, if you always need a same set of non-default options, you should be able to create a custom preset for it, easier than changing half a dozen of options each time you want to export. :)
this option will be so cool ! I'm so glad you decided to take into consideration.
Okay, start/end keyframes can be ON by default. That is fine.
Hope you can make that changes to the code soon, I have lots of files to correct. Thanks again! If you can please notify me here when the code got updated.
Hehe, it’s already in since yesterday evening (so should be in latest nightly build). ;)
well, it seem that the feature doesn't appear on the exporter yet, no checking button seems to be in this blender versions:
blender-2.75-52fa5b1-win64.zip
gooseberry-blender-2.75-bbed9b2-win64.zip
win64_cmake_vc2013.zip
Yeah… Last win build is from 07/15 2:00 AM, builder is MIA since then, so indeed change is not available yet on windows.
Will kick Martijn to reboot that lazy win buildbot!
Added subscriber: @sindra1961
@mont29:
win buildbot works, but it fails in build for a while.
or could you please tell me what should I add/remove from the code in order to have the last thing working ? - like you gave me after the bug of weird keyframes on children, Bastien ?
Well, thing to do would be the same as for children keyframes - download latest code from our addon repo, and replace your current io_scene_fbx directory content by it.
Anyway, new win buildbot builds are up now :)
well, here https://builder.blender.org/download/ seem to be Windows versions from tuesday and wednesday only.
and here on the repo, there is no link to download from http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/Autodesk_FBX
so, where can I get it, then ?
sigh on said https://builder.blender.org/download/ page I see on first line (since two hours at least):
yes. Now I see it! For some reason the page didn't updated for me.
the new exporter looks cooler with the new tabs! Good job guys!