FGL is high performance 3D graphics application framework based on OpenGL, SOIL (Simple OpenGL Image Library), Assimp, Freetype and OpenMesh.
FGL is aimed for VFP developers who interested in adding interactive 3D visualization features in their applications.
Short demo of FGL based application
- easy to use scene graph object-oriented interface
- user interaction (mouse, keyboard events)
- rendering performance optimization features like spatial culling, Level Of Details (LOD), vertex buffers and instancing
- material and light system
- text rendering with TrueType and OpenType fonts
- multiple viewports
- skeletal animation
- loading 3D models and textures in wide variety of formats, see
FGL is part of VFPX
1) Download latest FGL release from http://fgl.codeplex.com/releases
2) Copy file fgl.fll
to the root folder of your project.
3) Copy _FGL
folder to the root folder of your project.
- _FGL/fgl.vcx - wrapper around fgl.fll
- _FGL/fglc.vcx - FGL controls library
4) Download and install
"Visual C++ Redistributable Packages for Visual Studio 2013"
1) Integrate library to your project
SET LIBRARY TO "fgl.fll" ADDITIVE &&FGL API library
SET CLASSLIB TO "_FGL/fgl.vcx" ADDITIVE &&wrapper around fgl.fll
SET CLASSLIB TO "_FGL/fglc.vcx" ADDITIVE &&FGL controls library
- Create new form and put FGLC.fglc_main container on it
2) Compile your project and try to execute it. If there is no any errors you can start to use FGL.
Of cause, you can also take a look at samples applications.
- API documetation
- transparent materials rendering
- allow define custom shaders for materials
- layered textures
- bump mapping and parallax occlusion mapping