next up previous contents index
Next: 3.4.2 External Interfaces Up: 3.4 Other User Interfaces Previous: 3.4 Other User Interfaces

3.4.1 3D

 

The standard VMD executable contains two three-dimensional components, called tools. Only two tools are available and they are hardwired to the first two sensors of the first enabled tracker. A tool can take on one of two types, a pointer or a grabber. In the future we will develop an external button input device to hook up to the trackers in order to provide controls separate from the keyboard. As it is now, we emulate the external device with the keys F1 through F4 for tool 0, while F5 through F8 are the equivalent keys for tool 1.

Each tool has a representation and several intrinsic properties: length, scale, detail, and offset. Changing the length controls the size of the tool's representation in only one direction, while changing the size uniformly alters the whole object. If the detail is 1, the representation is very simple; often just a few lines. If the detail is 10, the object is drawn as a solid with many polygons and material characteristics. We have found that we only use a detail of 10 so we will not have this option in the future. Finally, the offset is used to translate the tool in the scene, perhaps to better locate the tool in the scene.

A pointer is just that; it points to different parts of the scene in 3D. It looks like a cylinder with a cone on the end. The pointer control can be in one of three states, length, size, and detail, which defines which value can be changed. Pressing F2 loops through the list by one, e.g., from length to size to detail to length .... Pressing the F1 key alternates between either increasing or decreasing the current value. When released and pressed again, the direction will be reversed.

Our original intention was to make a 3D pop-up menu appear when the F3 key was pressed, and we wanted to emulate the 3 button pointing device used in the CAVE. From our experiments we have determined that more buttons should be used.

A grabber is used to pick up and move molecules, though the current implementation only controls translation. This tool looks like a cylinder with a cap at the end and is supposed to represent a bar magnet. It has only one control, F1, which turns the grabbing on or off.

We have done some work on interacting with objects inside the scene, though it is not compiled in the current version of the code. We have created boxes in space which, when ``clicked'' with a pointer, executed a text command. This allowed us to use the tools to do things like rotate the system. Working on this interface has brought up some design problems which imply the current tentative interface must totally be rewritten. In addition, we will probably build the new version as an extension to Tcl in a manner similar to Tk.


next up previous contents index
Next: 3.4.2 External Interfaces Up: 3.4 Other User Interfaces Previous: 3.4 Other User Interfaces

Sergei Izrailev
Fri Jul 25 17:07:27 CDT 1997