GLScene Compiling Instructions
To compile GLScene, after having installed all the necessary
units and updated your Delphi library paths (and after making
sure you have no duplicates or leftover units from other/older
packages), open and install the package appropriate to your
version of Delphi in the corresponding directory. If you checked
out from the CVS, compile issues are possible, it's the bleeding
edge, and it is not called "bleeding" without reason ;)...
Otherwise, check your Delphi paths for duplicates or old .pas/.dcu
that's where the problem lies 99% of the time.
Content of source directories
- Source : "core" GLScene units,
that define and implement all common objects and
behaviours that are GLScene specific. These cover all
platform-independant aspects of managing and rendering
the scene.
- Source\Base : base units, used by
GLScene. All code in this directory is not GLScene-specific
and can have other uses (no dependencies to core GLScene
units). Cover object persistence, maths, etc.
- Source\DesignTime : contains all design-time
units, property editors and experts. None of these units
should be linked with an end-user compiled executable (unless
you explicitly use these units).
- Source\FileFormats : fileformats
specific units, dedicated to loading/saving or describing
external (non GLScene) fileformats.
- Source\Platform : platform-specific
support units.
- Source\PlugIn : old plug-in support
units, currently in stasis/undefined state.
- Source\GameAPIs : game APIs interface
units (and DLLs). Placed here for convenience but not
really a part of GLScene, if you have issues with these,
refer to their owners.
- Source\SoundAPIs : sound APIs interface
units (and DLLs). Placed here for convenience but not
really a part of GLScene, if you have issues with these,
refer to their owners.
- Source\VideoAPIs : video APIs interface
units (and DLLs). Placed here for convenience but not
really a part of GLScene, if you have issues with these,
refer to their owners.
Compile options (activated/deactivated
in GLScene.inc, all
are inactive by default):
- GLS_Graphics32_SUPPORT : controls
support and dependency to Alex Denissov's Graphics32
library (http://www.g32.org),
once active, TGLBitmap32 will support assignments from
TBitmap32.
GLScene licensing in plain english
GLScene is distributed under Mozilla Public License (cf. http://www.mozilla.org), which
mean, in short, that it is free for both freeware and
commercial use. The code is still copyrighted (in that it isn't
public domain), but you can use it in products with closed or
open-source freely.
The only requirements (at least on my interpretation)
are:
- Acknowledge GLScene is used somewhere in your application
(in an about box, credits page or printed manual, etc.
with at least a link to http://glscene.org)
- Modifications made to GLScene units must be made public (no
need to publish the full code, only to state which parts
were altered, and how), but feel welcome to open-source
your code if you so wish.
Eric Grange
egrange@glscene.org