Afterwarp Framework

Please take your time to check our new 2D/3D framework for industrial and enterprise applications.
The framework is located on our new web site:

This product has reached End of Life and is no longer supported. For more information, please look at our list of currently supported products.


Logo Asphyre Sphinx is the latest framework for developing 2D/3D video games and interactive business applications. It aids the developer with resource management, displaying 2D and 3D graphics in real-time, capture keyboard, mouse and joystick input.

This release supersedes all previous Asphyre releases and is under continuous development. It requires BDS 2006, Turbo Delphi, BDS 2007, Delphi XE or Lazarus (FreePascal).

The applications powered by Asphyre Sphinx can use either DirectX 7, DirectX 9 or OpenGL providers for displaying real-time graphics. The developer can decide whether to use one of the mentioned providers or let the user choose the provider at run-time. This feature is particularly useful for casual game developers where the game is required to run on the majority of consumer hardware. No external files and DLLs are required for Asphyre Sphinx applications to run. Two optional providers are included: experimental Software Rasterizer and OpenGL ES wrapper (on Windows runs in Software mode).

2D Graphics Features

2D Features

  • Image transformation including rotation, skew, mirroring and so on.
  • Alpha-blending with multiple effects such as add, subtract, multiply, shadow among others.
  • Buffered drawing calls deliver extremely high rendering performance in real-time.
  • Many different drawing primitives such as rectangles, ellipses, arcs, ribbons and holes.
  • Multiple image pixel formats to maximize quality and minimize video memory consumption.
  • Images can be loaded from compressed ASDb archives, external files and streams.
  • Patterns (small sub-images) can be distributed among different textures to reduce memory footprint.
  • Dynamic textures allow fast pixel access for effects such as plasma and destructible terrain.
  • Rendering targets allow dazzling visual effects such as motion blur, glows and other effects.
  • Proper handling of lost devices, surviving Alt+Tab, Win+L and other rare events.
  • Bitmap text drawing with Unicode support, color gradient tags and alignment options.
  • Integration with Vampyre Imaging Library for loading many different image formats.

3D Graphics Features

3D Features

  • Easy to use 3D mesh drawing even for inexperienced developers.
  • Mesh instancing for improved performance when many small meshes are drawn.
  • Illumination models including Phong, Blinn-Phong, Minneart, Cook-Torrance, Oren-Nayer, Isotropic and Anisotropic Ward.
  • Optimized 3D pipeline with hidden surface removal and triangle sorting.
  • Transparent support for DirectX 7, DirectX 9 and OpenGL providers.
  • Billboard rendering for particle effects, explosions and smoke.
  • Load meshes from 3D Studio Max using the conversion tool, which can read 3DS and ASE formats.
  • Mesh generation code for 3D planes, spheres, round boxes, torus, torus knots and super ellipsoids.

Other Features

  • Capture the state of all keyboard keys, read multiple joysticks and mouse displacement.
  • Store all images, sounds and other files using LZ77 compression in a single ASDb archive for easier deployment.
  • Set password for ASDb archive to encrypt the contents using XTEA 128-bit cipher so nobody else can open your media files.
  • Complete set of mathematical types with operator overloading for 2D and 3D vectors and matrices.
  • High-precision timer for independent graphics rendering and object movement.


Asphyre Sphinx v1.1.0 - Complete Package (01-Jan-2011)

This is a complete Asphyre Sphinx package, which contains source code, examples and tools - all you need to start the development.

Vampyre Imaging Library - Optional Add-On

Click here to visit the official web site.

This package is required if you want to load external images such as PNG, TIFF and so on. You can either download the latest version from the official web site or get it from the links above.