jit.gl.camera basics



jit.gl.camera is the camera object. It starts off at position 0, 0, 2. That's 2 units "out towards the screen". Z positive is out of the screen towards you. You can set the position using the @position attribute with floats. Or, you can drive the camera using WASD, QZ and the mouse. The default speed is a bit crazy, so you should probably lower it to about 10. 
@ui_listen lets you actively drive, @ease lets you tweak the easing of the motion. There are a few other parameters to tweak but these are the main ones.
@tripod stops the camera from twisting on the Z axis. 

Comments

Popular posts from this blog

displaying a jitter movie

hot cold inlets