DelphiGL.exe (Executable)
DelphiGL.pas (Source)
OpenGL.pas (OpenGL Delphi Headers)
Geometry.pas (Used by the OpenGL Delphi Header)
This small program shows how to quickly set up OpenGL under
Delphi and use it for rendering. This file can be useful
to OpenGL newbies who want to get something on screen fast.
I wrote it with Delphi 2.0 but it should also work with later
versions.
(I later found out that "hDC" is not accepted as a HDC Variable)
(by Delphi3, and I fixed some minor resource leackages, too)
1)
You do not need to install the OpenGL and Geometry Files, but
when you open DelphiGL, make sure that the Directory with the
OpenGL.pas and Geometry.pas Files is listed in the Search Path
for the Component Library !.
2)
You have to open the Source File as a PASCAL PROJECT,
not Delphi Unit !
Without hardware acceleration, the program will probably run slow.
MAILTO: jd185152@rcs.urz.tu-dresden.de
- 1
- 2
前往页