PureBasic - Sprite3D

Overview

The Sprite3D library is a small 3D engine used to display 2D sprites while using the new 3D hardware capatibility like real-time zomming, transform, blending (transparency) and more. To know more about sprites, just read the 'Sprite' documentation. A new graphics card is highly recommanded to get the full power of these functions (with 3D acceleration). 3D Sprites are provided to allow uncommon effects to be achieved easily but remember than there are slower than regular sprites and more restrictive (regarding the size for example).


Windows: DirectX 7 is used for sprite handle which allow to use the hardware blitter chip if available. The commands of this library don't use the OGRE 3D-Engine, so their relating Dll's are not needed. The Sprite3D commands don't run under Windows NT 4, because at least DirectX7 is needed.

MacOS X: OpenGL is used to manage the sprites. This allows to use hardware acceleration if available.

Command Index

CreateSprite3D
DisplaySprite3D
FreeSprite3D
InitSprite3D
IsSprite3D
RotateSprite3D
Sprite3DBlendingMode
Sprite3DQuality
Start3D
Stop3D
TransformSprite3D
ZoomSprite3D

Example

Sprite3D.pb

Supported OS

Windows, MacOS X

Reference Manual - Index