TGLSceneViewer

Page history last edited by PBworks 4 yrs ago

Is the actual viewer used to display a scene on a Delphi application. Without this component on the Delphi application a scene cannot be viewed (unless created runtime). A scene viewer is connected to a TGLCamera. A TGLCamera (or multiple cameras) is part of a TGLScene where the camera is viewing objects defined in the TGLScene.

This is a more formal defintion:

Component where the GLScene objects get rendered.

This component delimits the area where OpenGL renders the scene,

it represents the 3D scene viewed from a camera (specified in the

camera property). This component can also render to a file or to a bitmap.

It is primarily a windowed component, but it can handle full-screen

operations : simply make this component fit the whole screen (use a

borderless form).

This viewer also allows to define rendering options such a fog, face culling,

depth testing, etc. and can take care of framerate calculation.

Important TGLSceneViewer properties:

camera TGLCamera The camera used to view a TGLScene

buffer TGLSceneBuffer Used mainly for defining fog

Unit: GLWin32Viewer

Descends from TWinControl.

Comments (0)

You don't have permission to comment on this page.