xxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxx

BaseGraph Pascal - the easy entry to OpenGL

BGP is a compiler/IDE combination which uses Object Pascal to unify the power of OpenGL and ODE under it's hood. BGP uses the BaseGraph scene graph for this task, as well as an easy framework with sound and windowing functions. BGP is freeware and aims to be an easy entry in the world of OpenGL programming, without sacrificing the usefulness of the learned processes, since the generated code would work in Delphi with very little changes.

BaseGraph Pascal integrates the full OpenGL 1.5 core API, as well as ARB_vp/fp and GLSL extensions.

click on pictures to download demos

Getting started

enter your program in the editor
use the menu to start your program, press the corresponding toolbar button or press F9 when in the editor
click in the gutter (the gray area on the right with line numbers in it) or press <CTRL><B> to toggle breakpoints
press <STRG><SHIFT><0>..<9> to mark up to ten lines per page, use <STRG><0>..<9> to jump to those lines later on
enter or drag any variable into the watch window to inspect it's content or initialization state. Use <F7> to single step, <F8> to jump over sub routines.
if you managed to generate a syntax error, double click into the debug output window to jump directly to the offending position.
press <CTRL><SPACE> to activate the auto code completion proposal. If you need to know an attribute/method of a class instance write the separating point and wait a little bit.
use the context menu in the editor (right click in the editor window) to quickly insert predefined objects, textures, shaders and callback routines
right click on the header tabs to insert/delete pages or reposition them, double click to rename them
use the inspector to learn of types, constants, functions and class interfaces
use the resource editor to set the icon for your application and to remove any dependencies of external files (such as texture bitmaps or sounds)
check the type of the executable, if you need something special or want to save some disk space, before actually generating it

look at the news for updates and changes

check the forum regularly - your feedback is appreciated, and you can influence the direction of BaseGraph Development directly there, as well as make suggestions for new tutorials.