Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow list type for trait properties #105

Open
antirotor opened this issue Sep 18, 2024 · 0 comments
Open

Allow list type for trait properties #105

antirotor opened this issue Sep 18, 2024 · 0 comments

Comments

@antirotor
Copy link

Problem

Currently there is no way to add "sequential" data to trait. This should be ideally something like list in python, but even array of same type items could solve a lot of things - worst case - array of string.

Use cases:

lens data - adding lens specific data as trait to - lets say image sequence, or camera - is perfect use case of traits. But to handle lens models, you need to store some arrays. For image sequence, focal length (or other parameters) can be animated. So having something like list of focal length values matching frames would solve it.

color management - you could store some color transforms directly in trait, to simplify handling sidecar files in your pipeline.
bounding boxes - store bouding box (or basically any transform) matrix as array. We - for example - need to store axis orientation per asset.
retime - having retime information as a list on trait can help to apply it to data without need to re-render.
frame set just storing list of frames in FileSequence trait could help validating expected frames against actual ones or even creating subsets from whole sequence (like taking every fifth frame from the whole sequence to calculate preview and have that information somewhere).

That's just a tip of others that quicky popped in my mind but I'll add definitely more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants