Has anyone come up with effective random camera angles? I’d control it myself but it is too much to do while playing music.
It would be cool to make camera sweeps that go along with the music but I’m not going to hold my breath.
I suppose you mean in OpenGL? If that is the case, you need to look into the "lookat" and "camera" messages to jit.gl.render. See the jit.gl.handle helpfile.
In case you already new that, you need to define "effective". If you want to synch your camera movements to audio, snapshot~ will likely be very useful.
my solution is to use a set of 3 breakpoint editors and a line object
to make ‘keyframe’ animations for the cameras X Y and Z coordinate.
its easy to make ‘sets’ of keyframes, or use ‘random’ to populate
them. plus, you can easily add them/modify them by hand.
it works pretty well.
v a d e //
I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I
LIVE! I LIVE! I LIVE! I LIVE!
You will not be saved by the Holy Ghost. You will not be saved by the
In fact, YOU WILL NOT BE SAVED!
i do sort of the same thing, using pattr/pattrstorage
store some presets for your favorite angles, and it will interpolate
between them. the nice thing about pattrstorage (ah, there are so
many) is that you can change the interpolation method, which is good
because linear interp looks crappy a lot of times with camera angles,
you may want exponential or some other sort (table-lookup?)
The classic starting point for camera movement is the smoothstep or
"ease" function defined on [0-1] as 1/2-(cos(PI*x)/2). This
symmetric function is approximated very well by the inexpensive
equation 3x^2 – 2x^3.