![]() ![]() Most of the code samples described below for GLUT are easy to translate into the LCL code, though you will have to find equivalents for the functions with the 'glut' prefix, for example instead of "glutSwapBuffers" we will use the LCL's "SwapBuffers" property to display our rendering. Since GLUT is deprecated, using the LCL is generally a good idea for a new OpenGL Lazarus project. Using LCL is typically the easiest way to access OpenGL with Lazarus. GLUT needs a dll under windows, where LCL typically runs out of the box, but a LCL executable is bigger.Ĭode samples Creating your first LCL program For example a 3D editor needs a few OpenGL windows and the rest is a normal application using normal buttons, comboboxes, windows, modal windows, etc. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |