EXAMPLE

Please read the "test" package in "easim3d.zip" (downloadable from http://www.geocities.com/gzcliu/projects.htm) for examples of how to use this EASIM 3D.

HOW TO CONTROL THE USER INTER-ACTIVE INTERFACE

concepts:

(1) viewCenter: the center location of the space, the observer will rotate around it.
(2) viewPoint: the point where the observer is located.
(3) up: the up direction of the observer
(4) front : front direction facing the viewCenter.
(5) viewBall: a ball centers at viewPoint with radius equal the distance betwenn viewCenter and viewPoint.
(6) viewPlane: a plane perpendicular to the front direction and centered at a point between the viewPoint and the viewCenter (very close to the viewPoint).

keyboard functions:

(1) | reset position.
(2) + makes viewPoint closer to viewCenter.
(3) - makes viewPoint farther away form viewCenter.
(4) up (arrow key) move the viewPoint on viewBall in the up direction.
(5) down (arrow key) ...
(6) left (arrow key) ...
(7) right(arrow key) ...
(8) < change the up direction anti-clockwise.
(9) > change the up direction clockwise.
(10) alt+up (arrow key) move viewCenter and viewPoint forward.
(11) alt+down (arrow key) move viewCenter and viewPoint backward.
(12)  move the viewCenter to the selected node.

mouse functions:

(1) move : highlight a node, display the user-defined message of a node.
(2) click : select a node
(3) drag : move viewPoint on the viewBall.
(4) wheel : change the distance between the viewPoint and the viewCenter.
(5) right-click : show user-defined popup menu.

keyboard+mouse functions:

(1) ctrl+alt+click : create/delete a node. If a node is highlighted by the mouse, it will be delete.
                     Otherwise a node will be created on the mouse position and on the plane paralelled to the viewPlane and containing the viewCenter.
(2) ctrl+drag : move the highlighted node on the plane paralelled to the viewPlane and containing the node.
(3) ctrl+wheel : move the ighlighted node forward or backward along the line between the node and the viewPoint.
(4) alt+wheel : move viewCenter and viewPoint forward or backward.
(5) alt+click : select a node and move the viewCenter to the selected node

    Source: geocities.com/gzcliu_proj/easim3d

               ( geocities.com/gzcliu_proj)