Multimedia
These demos are available for download in the Download page.
Demo Screenshots
Nuclear Magnetic Resonance
(From the old TkOGL site) NMR technology is the equivalent of the Magnetic Resonance Imaging (MRI) technology used to scan human bodies. It operates on the fact that nuclei of certain molecules show differing responses when immersed in a static magnetic field, which later exposed to a second changing magnetic field. Recording these responses provides a useful analytic tool. The visualization of NMR can sometimes be difficult because of its dynamic and 3D nature, so these scripts were created to demonstrate its various properties.

Utility Scripts
Below are two of the utility scripts that the NMR demos use. The first is a demonstration of the cross product showing the normal vector generated orthogonal to two arbitrary vectors. The second one is a demonstration of the dot product showing the projection of vector onto another.


Regular Demos
Quadric Demo
The quadric demo illustrates the use of different OpenGL shapes and display settings such as normals and polygon modes. It shows the effects of adding slices and stacks to a shape and how that effects the smoothness of the polygon.

Texture Map Demo
The texture map demo wraps the infamous OpenGL teapot on a cylinder quadric. It demonstrates the visual effects of cylindrical coordinates, object linearity, and eye linearity, which are specified during texture mapping.

Nurbs Surface Demo
The Nurbs Surface demo illustrates how polynomial orders and sampling tolerance could be used to generate nurbs surfaces.

Text Demo
The Text demo shows how Windows fonts can be used in an OpenGL context.

Fog Demo
The Fog demo demonstrates the different modes of GL_FOG_MODE ranging from exponential to linear fog. The user can also adjust the fog density which increases from left to right.

Bezier Surfaces
The Bezier Surfaces demo illustrates the use of glMap in creating smooth 3D surfaces. It has a user interface that controls the ambient components of the spotlight (RGB) and as well, the width of the cone surrounding the light source which controls the concentration of light directed at the surface. This particular demo also shows the use of multiple OpenGL contexts within a Tk Widget by allowing the user to click and move the two different objects or by pressing the start button to animate the movements.


Home | News | Download | Documentation | Multimedia | Related Links | Contact Info