| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
Add utility to programmatically generate "off" animations. Scans every
animation in the project, checks if it sets anything nonzero, and if so,
generates a copy of it which sets everything to zero.
This is useful for transitioning away from write defaults.
|
| |
|
|
|
|
|
|
| |
Some animators generate negative anchors. Casting to u64 doesn't produce
an anchor with a valid prefix, so idk what it is. Use the class ID from
the little !u! bit instead of deriving it from the anchor.
Some things probably don't work yet.
|
| |
|
|
|
| |
Overwrite any animation containing an unknown GUID to the tastt noop
animation. This seems to help the reset layer function properly.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Now we only overwrite gesture parameters if there's no active gesture.
This makes gesturing smoother, since we're not overwriting gesture
params twice on every frame.
Gestures don't reliably reset. I think I need to add the noop animation
across the entire animator. No idea what's really causing it.
Also factor out code for generating transitions that have parameter
conditions. Support exists for boolean and integer equality conditions.
|
| |
|
|
|
|
|
|
|
| |
* Unity needs empty Mappings to be indicated with {} or it will assume
they're a Sequence
* Unity doesn't like it when we reassign the default animation layer's
MonoBehaviour ID, so hack around this by simply reusing the existing
MonoBehaviour's ID
* Use MulticoreUnityParser everywhere
|
| |
|
|
|
|
|
|
| |
Divide YAML stream into `nproc` chunks and parse each sub-stream in a
process. We can't use threads because of the python global interpreter
lock, but processes work pretty well.
Parsing my 1.2M line / 43k document YAML goes from 65 seconds to 13.
|
| |
|
|
|
| |
* Implement basic board toggle using new transition logic
* Metadata can now restore from file
|
| |
|
|
|
|
|
|
|
| |
Also:
* Check in toggle on/off animations
* Add toggle parameter
* libunity bug: getUniqueId() was calling allocateId() incorrectly
* Remove osc_ctrl `client` global
* Fix transcribe.py text encoding
|
| |
|
|
| |
Write defaults fix is now complete
|
| |
|
|
|
|
|
|
|
| |
* Generate an animation which zeroes out everything which uses write
defaults
* Disable write defaults on every animation for which we do this
* Add copy() method to Mapping and Sequence
* Because of the `parent` pointer, copy.deepcopy() doesn't really work
on this data structure.
|
| |
|
|
|
|
| |
* Add guid scanning method
* Generate mapping from guid to filename
* Mapping may be saved & restored from disk
|
| |
|
|
|
|
|
| |
Object IDs are allocated optimally now, but it's a bit slower due to
long parse times.
Also fix minor bug in generate_fx.py.
|
| |
|
|
|
|
|
|
| |
Add parser for Unity's malformed YAML. This should make it easier to
manipulate animators.
It probably doesn't quite work yet, and certainly needs some usability
features.
|
| |
|
|
|
|
| |
TODO
* write default detection/correction
* real cmdline interface
|
|
|
* Add VRLabs' World Constraint as a submodule
* Add animations for world constraint
* Add toggles for board
* Add libunity.py (no content yet)
* Support >30s transcription
* Add board FBX
|