Is there a way to specify the coordinates of the viewport and direction that the viewport faces without using a mouse or pointing device, in other words, by entering numbers somewhere.
You won't have fine-tuned control of the viewport without a mouse, but there are extensive options for controlling it via the keyboard:
- You can rotate the viewport using 2, 4, 6, and 8. You can also change between "Perspective" and "Orthographic" views by pressing 5.
- By holding ctrl and any of the above, you can pan the view.
- You can press / to switch between local and global view.
- You can use Shift 2 and Shift 6 to roll the view, as of Blender 2.69 (r59707).
- You can centre the view on an object by pressing "." on the number pad.
- You can zoom in and out of the view using + and -.
- You can access the current camera view with 0.
* Note: All of the number commands require that you either use your numberpad or enable "emulate numpad" in the preferences.
3d Navigation Addon
There is the 3d Navigation Addon which comes bundled with Blender, which I haven't seen mentioned here yet. I made modifications to this Addon that make it more convenient for me when I don't have a mouse and numpad connected to this laptop and don't want to mess up my key-bindings to compensate.
It would be easy enough to extend this to include an input area for manual input of the view matrix.
Stored Views Addon
This addon called Stored Views may be of interest to you too. It will let you import and export a list of view orientations and configurations.
By default you can't navigate by entering numeric values, in fact I'm wondering why you would want to do this at all.
Lock to an object
Since you ask - I would suggest that you use an object.
- Add an empty object
- You may need to press N to display the View properties panel
- Enable 'Lock to Object' (in the view properties panel)
- Rotate the view to align to this objects axis using Shift+1/3/7 (numbers on the number pad)
If you want to enter a number, you can using the object location/rotation. Or you can transform the object using numeric input.
Fly mode allows some keyboard navigation, Once you enter fly mode (Shift+F), you can move the view with WASD,RF keys for up/down. However you can't turn your head using this method, for that part you need the mouse.
Note: If you happen to have a file with numbers I think it would be better to write a script that loads the view-ports into camera objects.
Besides what RolandiXor has listed, if you need better viewport control than what the numberpad provides, you can write a python script/plugin to orient the viewport.
view_matrix is what controls the viewport orientation. You could, in theory...
- press the space-bar to bring up blender's command menu
- select your script/plugin's "Change viewport" command
- then enter the desired view coordinates from the plugin
Though, I doubt you'll be able to do anything else useful in blender without a mouse.
I found a way to rotate the view port on a laptop as if you were using a wheel and track ball on a regular pc.
Setup your user settings
Goto File>User Preferences( CtrlAltU )
Select With: Right Check: Emulate 3 Button Mouse Check: Emulate Numpad Orbit Style: Turntable
Goto bottom and again select: Turntable.
Save User Settings and close that window.
The Laptop's Mouse Pad
The Mouse Pad, Top Left Mouse Button, Top Center Mouse Button,
Top Right Mouse Button, and Bottom Left Mouse Button, and Bottom
Right Mouse Button.
Learning How to use it The first instinct is to press The Top Center Button and then slide your finger on the pad, it doesn't seem to work that way.
It worked for me when I first slid my finger on the pad and then
pressing on the Top Center Button while sliding your finger on the
pad. You have to slide your finger on the pad at a not-too-slow
rate and at a not-too-fast rate.
Move your finger in a circular way on the pad, not too fast and
not too slow, keep moving your finger on the pad, then press the Top Center Button of the Mouse Pad. You should be able to see the view tilt around. If not, release the Top Center Button, try moving your finger on the pad slower or faster until you find
that magic speed.