Rotate
This demo is useful as a starting point for other applets/applications that wish to view data at different view angles. The function displayed renders, when rotated, at different levels of detail controlled by the user. Due to the variable nature of computers, Java interpreters and Jit compilers, this demo allows for viewing complex data at different angles at reasonable speeds for everyone across the internet.
Click and drag the mouse to rotate the function.
Note that it is always rotated about x, y or z relative to the screen.
Controls
Action |
Press Key |
Rotate about X |
1 |
Rotate about Y |
2 |
Rotate about Z |
3 |
Rotate as Solid |
s |
Rotate as Wire |
w |
Rotate as Box |
b |
Java Source
rotate.java
C++ Source
rotate.cpp
( GoGlutInterface.h, GoGlutInterface.cpp )