-
-
Notifications
You must be signed in to change notification settings - Fork 556
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
[NODES] Simple math operations in numeric input fields #472
Comments
Blender has a great way of doing this, also allows other variable's to be used, (such as Such an expression could be: I can straight away think of a few very useful variables: With |
@alcomposer Yeah, I left it out for simplicity's sake, but yes — GIMP does that sort of thing too (e.g. 1000px + 2cm, or 700+2%), and it's useful indeed. 'frame', 'sframe', and 'length' look good to me :) |
Some more I can think of are However, one should think, how this would work (or not) with keyframes? And would it be animatable? (ex: compute |
@oc1024 obviously this is a long term idea. If you check out Blender, yes If this was to work with keyframes then there would need to be another keyword:
|
I think it would be convenient to do the simplest mathematical operations to change the time on the timeline when the video is being edited. Just as implemented in a blender VSE. |
This is where GLSL may be better as a scripting language because of its context of computing per frame pixel. While sin, cos, and tan may be interesting for some scenarios. Easing functions that handle tweening may be much easier to understand and implement than hard core inline math. This is the way that CSS went after having hardcore math in Flash. In the end most artistic types just weren't that handy with calculating computation. Easing functions were easier to understand... |
It's quite useful to have basic math operations in numeric input fields in cases when you know exactly by how much you want to change a value.
Here is how it works e.g. in GIMP:
The text was updated successfully, but these errors were encountered: