z.glNav1

designed by Zachary Seldess

www.zacharyseldess.com


MOVEMENT:


Use the mouse/trackpad to control your lookat point. 

Use the keyboard to move the camera


MESSAGES:

-xzspeed $1 ---> sets speed along the x-z plane 

-yspeed $1 ---> sets speed along the y axis

(speeds defaults to 1 world unit / second)

-camera $1 $2 $3 ---> set camera (list: camera x y z - default 0. 0. 2.)

-lookat $1 $2 $3 ---> set lookat point (list: lookat x y z - default 0. 0. 0.)

-easing $1 ---> sets easing value (default 0.1)

-lens_angle1 $1 ---> sets normal lens_angle (default 45.)

-lens_angle2 $1 ---> sets zoom lens_angle (default 10.)

-roll $1 ---> 0/1 turns roll on/off (default 0)

-roll_strength $1 ---> sets strength of roll as you turn (0=minimum roll, 1=maximum roll - default 0.85)

-constrain_lookat $1 ---> turn horizontal lookat constraining on/off (default off)

-lookat_angleh $1 ---> change horizontal lookat angle (min 0., max 360. - default 360.)

NOTE: only applicable when constrain_lookat is on

-lookat_center $1 ---> change center of lookat rotation (0.=along negative z axis / 90.=along positive x axis / 180.=along pos z axis / 270.=along neg x axis / etc. - default 0.)

NOTE: only applicable when constrain_lookat is on

-lookat_anglev $1 ---> change vertical lookat angle (min 0., max 172. - default 172.)

NOTE: THIS WORKS REGARDLESS OF CONSTRAIN_LOOKAT

-forward $1 ---> turn keyboard control on/off for forward movement (default 1)

-backward $1 ---> turn keyboard control on/off for backward movement (default 1)

-left $1 ---> turn keyboard control on/off for left movement (default 1)

-right $1 ---> turn keyboard control on/off for right movement (default 1)

-up $1 ---> turn keyboard control on/of for up movement (default 1)

-down $1 ---> turn keyboard control on/off for down movement (default 1)



In this version of the patch (z.glNav1), moving forward/backward/left/right = moving parallel to the x-z plane. You can look up or down while moving forward/backward/left/right, but this will not affect your movement on the y axis. Moving up/down = moving along the y axis. You can look around as you move up/down, but this will not affect your movement along the x and z axes. I find this to be the more convenient way to navigate and view gl space.


'w' moves camera forward

's' moves camera backward

'a' moves camera left

'd' moves camera right


COMBINE THE ABOVE KEYS FOR DIAGONAL MOVEMENT


'r' moves camera up

'e' moves camera down



OTHER CONTROLS:


'k' toggles navigation mode on/off (off by default)

-movement, zooming, bullseye and coordinate display can only be changed while navigation mode is on

'b' toggles bullseye on/off (off by default)

'c' toggles camera coordinates on/off in the jitter window (off by default)

'z' zooms the camera view in