Skip to main content
Animated textured sphere. See Test006.cpp for more information about animations. This is another animation example that simply transforms a node matrix over a period of time. The underlying code in the ANSYSViewer extracts a quaternion from the matrix and interpolates between quaternions at the defined times. The animation in this example merely rotates the sphere about its Z axis. A custom shader is used that demonstrates the usage of a 2D texture coordinate. The 2D texture coordinates in this example are similar to latitude and longitude.