Cbexamples Collection of C++ Builder examples and applications

Quality code samples, tutorials and applications

1. Basic 2D OpenGL

Basic 2D OpenGL example in C++ Builder. This example shows how to initialize OpenGL on a form, how to display basic 2D shapes and how to change the colors and aspect ratio. Source code.

2. Draw a line using a mouse in OpenGL

OpenGL example that shows how to draw anti-aliased lines using a mouse in C++ Builder. Full source code.

3. Circles and rectangles using a mouse in OpenGL

OpenGL C++ Builder tutorial on how to draw circles and rectangles using a left mouse button.

4. 3D OpenGL example

OpenGL tutorial on how to initialize 3D world and how to display, move and rotate 3D objects in C++.

Have questions?