Forums > Jitter

Camera Angles?

May 9, 2006 | 12:29 am

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.


May 9, 2006 | 5:39 am

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.


May 9, 2006 | 5:47 am

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 //

http://www.vade.info
abstrakt.vade.info

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
God Plutonium.

In fact, YOU WILL NOT BE SAVED!


May 10, 2006 | 5:28 pm

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?)

-ev


May 10, 2006 | 6:27 pm

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.

-Randy


Viewing 5 posts - 1 through 5 (of 5 total)