Skip to content

Latest commit

 

History

History
75 lines (42 loc) · 1.93 KB

readme.md

File metadata and controls

75 lines (42 loc) · 1.93 KB

DelFEM2 C++ Examples using Legacy OpenGL and Glad

These demos use OpenGL version 2.1 and GLSL shaer version 1.2 which are depricated in many environment. But still it is convenient to use legacy functions such as glBegin(), glEnd().

How To Build

These demos depend on the GLFW library to open an OpenGL window. If you haven't install glfw in your computer, please read following Document to set up GLFW.

With glfw installed, you can build the demos simply by

mkdir build && cd build
cmake ..
cmake --build .

Simple Demo

VBO

Shader