animation not smooth
Hello,
I'm trying to do some animations in Jitter, but the problem I'm having is that what renders in the window is not rendering smoothly (and my computer should be fast enough). I tried changing the metro to 1 or a bigger number, but it doesn't help. It seems like its stopping in very small intervals.
Why is that and how to fix it so that animation will be smooth?
I'm attaching my setup
Thank you!
Hi,
The first thing is to setup your render like in "jit.gl.render.help" or better you could use "jit.world" .
After that if you still have problems, you could post a patch ;)
Hard to say without an example but I guess you have some banding issues in that gradient.
You can avoid that by adding a tiny bit of 1d noise. Havea look at jit.gl.pix.
I'm sharing the example. Does that help?
Like Matmat is suggesting, you should have a look at how a render context is managed in Jitter (tutorials).
And then you might want to play around with jit.gl.pix for drawing that gradient in a efficient way...
use jit.world:
Thanks for this, but I'm not quite sure if I understand it.
The animation (counter) is not working with the patch that you posted. Why is the metro replaced with git.world?
Thanks for your help
I had to restart max msp and now it seems to work. My question is: how can I affect the speed of animation? Right now the counter is being banged by jit.world and I have no idea how to affect it to make the animation faster or slower?
Thank you!
Use the "fps" message to jit.world to define the rendering speed.
hi Kundi,
i strongly recommend you check out the jit.mo project from the Package Manager, for these types of animations.
https://cycling74.com/forums/announcing-jit-mo-package/