Welcome to Pauls PureProject
 Home Online Reference Guide duplicated from http://cvs.purebasic.com  
 Online Resources
   · Reference

 Libraries
     2DDrawing
     Billboard
     Camera
     CDAudio
     Cipher
     Clipboard
     Console
     Database
     Date
     Desktop
     Engine3D
     Entity
     File
     FileSystem
     Font
     Gadget
     Help
     Image
     ImagePlugin
     Joystick
     Keyboard
     Library
     Light
     LinkedList
     Material
     Math
     Memory
     Menu
     Mesh
     Misc
     Module
     Mouse
     Movie
     Network
     OnError
     Packer
     Palette
     Particle
     Preference
     Printer
     Requester
     Sort
     Sound
     SoundPlugin
     Sprite
     Sprite3D
     StatusBar
     String
     SysTray
     Terrain
     Texture
     Thread
     Toolbar
     Window

 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

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



Hosted by Reel Media Productions Copyright©2001-2004 All Rights Reserved