TTeeOpenGL

TTeeOpenGL
Hierarchy     Properties     Methods     Events     

Unit
TeeOpenGL

Description
Use the TTeeOpenGL component to change the Canvas mode of a TeeChart panel (TChart or TDraw3D) to OpenGL.

Any Chart, DBChart, QRChart (also DecisionGraph), and the
TDraw3D component benefit of the new TTeeOpenGL component.
This non-visual component can be added to a Form at design-time, and by setting two properties it will instantly display a Chart or Draw3D using OpenGL 3D rendering engine:

When this component is Active, it replaces the TeePanel Canvas property with an instance of TGLCanvas class, which provides the methods to display graphical elements in 3 dimensions using the OpenGL API.

For Charts:

TeeOpenGL1.TeePanel := Chart1;
TeeOpenGL1.Active := True;


For Draw3D:

TeeOpenGL1.TeePanel := Draw3D1;
TeeOpenGL1.Active := True;


The OpenGL Canvas provides Light properties with Visible, Color and Position XYZ attributes, and other OpenGL related parameters.