tentone / nunuStudio

Web powered cross-platform 3D, WebXR game engine.
https://nunustudio.org
MIT License
2.12k stars 316 forks source link

Parameter graph editor UI #27

Closed brylie closed 6 years ago

brylie commented 7 years ago

Some scene parameters change over time, such as camera location. nunuStudio can offer a 'parameter graph editor UI' to help animators fine-tune parameter transitions.

Examples

Blender3D

This idea is best illustrated by the Blender parameter graph UI (a.k.a. F-Curves): Blender parameter graph UI

Synfig Studio

peek 2017-03-06 17-13

tentone commented 7 years ago

Hi @brylie

This would be really neat 👍

What if i implement this as a animation object that can be used as a normal object (similar to containers) but its possible to controll its position, rotation and size using a graph editor similar to the one above?

It would require me to change the editor UI layout to support the graph editor alongside the scene explorer but it would be totally worth!

Thanks

brylie commented 7 years ago

Right on. Is there any way I can help with this feature? I am familiar with JavaScript to a certain extent.

tentone commented 7 years ago

I belive there is something similar inside threejs already with support for multiple interpolations i have to check it. If not i will implement it first as a programming API and after i will move it to UI.

If you want i can leave it for you to try to implement something, and i help you with whatever you need!

(Just for reference https://twitter.com/tentonej/status/834563874343022592)

brylie commented 7 years ago

Hm, I will start with some research.

brylie commented 7 years ago

There are a few of open source UI component libraries, for diagramming, that provide 'bezier' graph UI components, including:

brylie commented 7 years ago

It is also possible to build a UI component using a lower level graphical library, such as:

tentone commented 7 years ago

@brylie Im trying to avoid any libs for the UI, graphs are easy to draw i have already an internal component for that (used in the particle editor)

brylie commented 7 years ago

Alright. I am just speculating that a good graph/diagram library might be useful for another idea:

https://github.com/tentone/nunuStudio/issues/28

tentone commented 7 years ago

@brylie Im thinking to add the animation system as something similar to this https://threejs.org/examples/#misc_animation_authoring what do you think?

brylie commented 7 years ago

Looks really cool! Kind of like the keyframes/curves UI.

Relatedly, I also like that it is easy tointeract with the 3D scene on a touchscreen, e.g. moving the cube around by its transform handles.