This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

Source code: OCDobjects OCDCamera

Boxes light up when rolled over. They toggle to spheres when clicked on. This is all done by checking distance between the current mouse xyz position (mouseX,mouseY,0) and each object's xyz position as fed through Processing's screenX(), screenY() and screenZ() functions.

Use modifier keys to select camera mode: 'l' for lookaround, 't' for travel, 'f' for forklift, 'o' for orbit, 'z' for zoom, 'w' for walk. The 'a' key (for auto) toggles between automatically returning to 'lookaround' mode when you release a key, or staying in the current mode.

Mouse tracking ratio can be changed using the '-' and '+' keys. The higher you set it, the more quickly the camera moves, and vice versa.

Press 'h' (help) and 'r' (readout) to toggle readouts -- but note that the readouts disable object clicking. (This is probably because I'm using a second OCDCamera to enable the readouts, and it overrides the first one.)

Here's the whole project (including necessary font file) in a zip archive: OCDobjects.zip.

Built with Processing