Start3D()

Syntax

Result = Start3D()
Description
Start the 3D engine and setup it to display the 3D Sprites. This command must be called before using DisplaySprite3D() and Stop3D() must be called when all the rendering are done. If the 'Result' is 0, the initialize has failed and 3D sprites commands can't be used.

Note: Inside a Start3D() : Stop3D() block there should be no commands of the standard Sprite library (e.g. like DisplaySprite()), only commands of the Sprite3D library. The code inside the block should also be finished with a FlipBuffers().

Example:
  For a = 0 To 255 
    DisplaySprite(10, 0, 0)       ; display background image
    Start3D() 
      DisplaySprite3D(0, 0, 0, a) 
    Stop3D() 
    FlipBuffers() 
  Next 

Supported OS

Windows, MacOS X

<- Sprite3DQuality() - Sprite3D Index - Stop3D() ->