Skip to content

Conversation

BigRoy
Copy link
Member

@BigRoy BigRoy commented Sep 20, 2019

This implements an extra feature to the FBX family.

Bake custom frame ranges to baked animLayers in the FBX

This will bake the members of the export to separate animation layers, for example:

[
	["slide", 1, 25],
	["fly", 100, 120]
]

The above will bake out an animation layer slide from frame 1 through 25 and a layer fly from 100 through 120. Each layer will start at frame zero, the baked animation is shifted to always start at zero.

Note: This code currently does not remove any already existing animation layers, so those might also end up in the FBX export separately

Some more examples:

# A single layer
[ 
    ["layername", 100, 200]
]

# Three animations, intro, middle and outro
[
    ["intro", 100, 200], 
    ["middle", 200, 300], 
    ["outro", 300, 400] 
]

These values can be edited on the FBX publish instance in the scene in the bakeAnimLayers attribute as a formatted JSON string.

I've also put a very basic example layout in an online JSON editor here

Local scene remains unaltered after export

After extraction the local scene is unchanged and the artist can continue to work as they were before.

@BigRoy
Copy link
Member Author

BigRoy commented Sep 23, 2019

Pushed another feature to the same branch just now, bit messy. Sorry.

Anyway. I've moved the remote publish logic to colorbleed.lib so that now Houdini and Maya perform the same remote publish logic.

@BigRoy BigRoy merged commit 288770a into Colorbleed:acre Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant