Friday, March 18, 2011

More mouse event handling

Today, I was working on adding more mouse event handling to the rendering
engine, so that the operations using mouse can be much more elegant. Left
click remains the same to do add pints, slecet a control point, and all other
basic operations as usual. The middle mouse wheel scroll is to move a camera
(zoom in or zoom out). Its drag & drop is now being used to move camera to
four directions, Up, Down, Left, and Right, which is same as the operations
using Up, Down, Left and Right arrow key. The right mouse button drag & drop
is now used to rotate the knot objects in the scence.

No comments:

Post a Comment