You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be quite complicated from UI perspective, but at least first iteration might be using just equations.
What I am thinking is that by selecting start and end position, and after that typing something along lines "sin(time) + cos(time / 2)". That would populate keys between start and end with results of equation.
The way I see it it has to use the existing curve types. While it would be possible to use expressions they would have be generated as individual points then (and in run-time just interpolate between them) so I think starting with the existing types is better.
I started doing some work here https://github.com/emoon/rocket/tree/curve-editor but it's far far from complete. The largest works is to build the editor. Something I haven't done is to look around for a free "curve editor" written in C/C++ that can be rewritten to work with this tool. It might give a bit of head start to not implement everything from scratch
Activity
helgrima commentedon Dec 15, 2018
That would be awesome!
emoon commentedon Dec 15, 2018
Yeah it's just a ton of work to implement it but it's something I want to do :)
helgrima commentedon Dec 15, 2018
It might be quite complicated from UI perspective, but at least first iteration might be using just equations.
What I am thinking is that by selecting start and end position, and after that typing something along lines "sin(time) + cos(time / 2)". That would populate keys between start and end with results of equation.
emoon commentedon Dec 15, 2018
The way I see it it has to use the existing curve types. While it would be possible to use expressions they would have be generated as individual points then (and in run-time just interpolate between them) so I think starting with the existing types is better.
helgrima commentedon Dec 15, 2018
What ever is the way to implement, I think this is great feature. I might be willing to help, is that is needed.
emoon commentedon Dec 20, 2018
I started doing some work here https://github.com/emoon/rocket/tree/curve-editor but it's far far from complete. The largest works is to build the editor. Something I haven't done is to look around for a free "curve editor" written in C/C++ that can be rewritten to work with this tool. It might give a bit of head start to not implement everything from scratch