Chapter 20. Core Examples

Table of Contents

Overview
File Listing

Overview

X-Forge Core examples and tutorials are located in the core_examples directory. Core examples are simple programs which show the usage of X-Forge Core in different basic usages: a normal rotating cube, textured cube, blending, octagon (triangle fans) and particle systems. Tutorials are the example code used in the X-Forge Core 'Getting started' chapter.

File Listing

core_examples/build/        Makefiles for Linux and WinCE
core_examples/data/*.*      Content used in the core examples and
                            CFL-tutorial
core_examples/graphics/     Examples for X-Forge Core 3D graphics usage
    blending.cpp            Blending example
    cube.cpp                Rotating cube example
    glow.cpp                Rotating cube example showing changing of render target surface
    hexagon.cpp             Triangle-fan example
    particles.cpp           Particle system example
    texture.cpp             Rotating cube which uses textures
core_examples/imageloader   Example of extending the image loader
core_examples/mfcembed      Example of embedding X-Forge into MFC application
core_examples/tutorial      Example source code for very simple
                            X-Forge applications used in the tutorials in
                            the 'Getting started' chapter.