BASIC 3D COMMAND SET

3D Object files that are stored in the X format can be loaded using this command set. You are able to store over sixty thousand 3D objects at any one time. Each object can have an infinite number of sub-objects known as limbs and an infinite number of textures. Limbs are used to define different parts of your object. If the object contains texture references, the textures will be loaded automatically. Not only can objects be positioned, rotated and scaled anywhere in your scene, but they can also perform animation if the object contains animation data. When using 3D objects, you are only limited by the speed and capacity of your machine.

Click on any commands for more information:

BASIC 3D OBJECT COMMANDS

LOAD OBJECT will load a 3D object file into the specified object number
SET OBJECT will set the internal properties of a specified object
MAKE OBJECT will construct a 3D object from a single mesh and image
MAKE OBJECT SPHERE will construct a 3D object using a sphere mesh
MAKE OBJECT CUBE will construct a 3D object using a cube mesh
MAKE OBJECT BOX will construct a 3D object using a box mesh
MAKE OBJECT CYLINDER will construct a 3D object using a cylinder mesh
MAKE OBJECT CONE will construct a 3D object using a cone mesh
MAKE OBJECT PLAIN will construct a 3D object using a flat mesh
MAKE OBJECT TRIANGLE will construct a 3D object using a triangle mesh
APPEND OBJECT will append all animation data in the file to the specified object
PLAY OBJECT will play the animation data contained within the specified 3D object
LOOP OBJECT will loop the animation data contained within the specified 3D object
STOP OBJECT will stop the object animation data from playing
HIDE OBJECT will hide the specified 3D object from view
SHOW OBJECT will show a specified 3D object that was previously hidden
TEXTURE OBJECT will texture a specified 3D object
POSITION OBJECT will place the specified 3D object in 3D space
ROTATE OBJECT will rotate the specified 3D object around it's X, Y and Z axis
XROTATE OBJECT will rotate the specified 3D object around it's X axis
YROTATE OBJECT will rotate the specified 3D object around it's Y axis
ZROTATE OBJECT will rotate the specified 3D object around it's Z axis
SCALE OBJECT will scale the specified 3D object to resize in all three dimensions
MOVE OBJECT will move the specified 3D object in the direction it is pointing
POINT OBJECT will point the specified 3D object towards a point in space
COLOR OBJECT will color the specified 3D object
SCROLL OBJECT TEXTURE will scroll the texture of the specified 3D object
FIX OBJECT PIVOT will permanently fix the specified 3D object to a new rotation
SET OBJECT FRAME will set the animation frame of the specified 3D object
SET OBJECT SPEED will set the animation speed of the specified 3D object
SET OBJECT INTERPOLATION will set the rate of animation frame interpolation
SET OBJECT ROTATION XYZ will set the order of rotation to default
SET OBJECT ROTATION ZYX will reverse the order of rotation
GHOST OBJECT ON will make the specified 3D object semi-transparent
GHOST OBJECT OFF will turn off the effect of ghosting on the specified 3D object
FADE OBJECT will make the specified 3D object fade to the ambient light level
GLUE OBJECT TO LIMB will attach the specified 3D object to another objects limb
UNGLUE OBJECT will detach the specified 3D object from any limb
LOCK OBJECT ON will lock the specified 3D object to the screen
LOCK OBJECT OFF will unlock the specified 3D object from the screen
DELETE OBJECT will delete the specified 3D object previously loaded into object number

SET OBJECT COLLISION ON will set the object to be included in all collision activity
SET OBJECT COLLISION OFF will set the object to be excluded from all collision activity
SET OBJECT COLLISION TO SPHERES will set the object limbs to sphere collision
SET OBJECT COLLISION TO BOXES will set the object limbs to box collision
SET OBJECT COLLISION TO POLYGONS will set the object limbs to polygon collision
SET GLOBAL COLLISION ON will allow the detection of collision with any two 3D objects
SET GLOBAL COLLISION OFF will turn off the influence of global collision

BASIC 3D LIMB COMMANDS

PERFORM CHECKLIST FOR OBJECT LIMBS will make a list of all 3D object limbs
HIDE LIMB will hide the specified limb within the 3D object
SHOW LIMB will show the specified limb within the 3D object
OFFSET LIMB will change the position of the specified limb within the 3D object
ROTATE LIMB will change the rotation of the specified limb within the 3D object
SCALE LIMB will change the scaling of the specified limb within the 3D object
ADD LIMB will create a new limb from a mesh and add it to an existing 3D object
LINK LIMB will link a newly added limb to the hierarchy of the main 3D object
TEXTURE LIMB will apply an existing image to the limb of a 3D object as a texture
COLOR LIMB will color the specified limb of a 3D object
SCROLL LIMB TEXTURE will scroll the texture of the specified limb of a 3D object

BASIC 3D MESH COMMANDS

LOAD MESH will load a single mesh file into the specified mesh number
DELETE MESH will delete the specified mesh previously loaded
CHANGE MESH will change the mesh of a specified 3D object
MAKE MESH FROM OBJECT will make a mesh from a specified object

MISCELLANEOUS 3D COMMANDS

FOG ON will activate the effect of fogging
FOG COLOR will set the color of the fogging effect
FOG DISTANCE will set the visible distance of the fog
FOG OFF will deactivate the effect of fogging
SET AMBIENT LIGHT will set the percentage level of ambient light

BACKDROP ON will turn on the fixed 3D backdrop
BACKDROP OFF will turn off the fixed 3D backdrop
COLOR BACKDROP will color the fixed 3D backdrop in any color
TEXTURE BACKDROP will texture the fixed 3D backdrop using an image
SCROLL BACKDROP will scroll the fixed 3D backdrop in any direction

DRAW TO FRONT will draw all 2D graphics over 3D renders
DRAW TO BACK will draw all 2D graphics behind 3D renders

The next commands will return a result:

OBJECT EXIST() will return a one if the specified 3D object exists
TOTAL OBJECT FRAMES() will return the last frame number of the specified 3D object
OBJECT SIZE() will return the unit size of the specified 3D object
OBJECT POSITION X() will return the X position of the specified 3D object in 3D space
OBJECT POSITION Y() will return the Y position of the specified 3D object in 3D space
OBJECT POSITION Z() will return the Z position of the specified 3D object in 3D space
OBJECT ANGLE X() will return the X angle of the specified 3D object
OBJECT ANGLE Y() will return the Y angle of the specified 3D object
OBJECT ANGLE Z() will return the Z angle of the specified 3D object
OBJECT VISIBLE() will return a one if the specified 3D object is visible
OBJECT PLAYING() will return a one if the specified 3D object is playing its animation
OBJECT LOOPING() will return a one if the specified 3D object is looping its animation
OBJECT FRAME() will return the current animation frame of the specified 3D object
OBJECT SPEED() will return the current animation speed of the specified 3D object
OBJECT INTERPOLATION() will return the current animation interpolation rate
OBJECT COLLISION() will return a one if the two specified 3D objects are overlapping
OBJECT HIT() will return a one if the two specified 3D objects hit each other

LIMB EXIST() will return a one if the specified limb of the 3D object exists
LIMB OFFSET X() will return the X offset of the specified limb of the 3D object
LIMB OFFSET Y() will return the Y offset of the specified limb of the 3D object
LIMB OFFSET Z() will return the Z offset of the specified limb of the 3D object
LIMB ANGLE X() will return the X angle of the specified limb of the 3D object
LIMB ANGLE Y() will return the Y angle of the specified limb of the 3D object
LIMB ANGLE Z() will return the Z angle of the specified limb of the 3D object
LIMB POSITION X() will return the world X position of the specified limb
LIMB POSITION Y() will return the world Y position of the specified limb
LIMB POSITION Z() will return the world Z position of the specified limb
LIMB DIRECTION X() will return the world X angle of the specified limb
LIMB DIRECTION Y() will return the world Y angle of the specified limb
LIMB DIRECTION Z() will return the world Z angle of the specified limb
LIMB TEXTURE() will return the image number used to texture the limb of the 3D object
LIMB VISIBLE() will return a one if the specified limb exists

MESH EXIST() will return a one if the specified mesh exists

CURVEVALUE() will return an auto-interpolated value based on a given speed
CURVEANGLE() will return an auto-interpolated angle based on a given speed
WRAPVALUE() will return a value that wraps any given value between 0 and 360
NEWXVALUE() will return the new x position value of an angled movement
NEWYVALUE() will return the new y position value of an angled movement
NEWZVALUE() will return the new z position value of an angled movement

ALPHABLENDING AVAILABLE() will return whether the 3D card supports alphablending
FILTERING AVAILABLE() will return whether the 3D card supports filtering
FOG AVAILABLE() will return whether the 3D card supports fog
3DBLIT AVAILABLE() will return whether the 3D card supports 2D in 3D