DISABLE OBJECT ZWRITE This command will disable the Z write state of the object.
Syntax
    DISABLE OBJECT ZWRITE Object Number
Parameters
    Object Number
Integer Specify an object number between 1 and 2415919103.
Returns
This command does not return a value.
Description
The Z write state controls whether each pixel of the rendered object writes into the Z depth buffer. The default value is enabled, where the object writes pixels to the Z buffer only when a pixel of the object is successfully rendered to the screen. By deactivating this behaviour, the object does not affect the depth information on the rendered screen.
Example Code
    set display mode 800,600,32

    cls

    make object sphere 1,20

    DISABLE OBJECT ZWRITE 1

    do

    loop

    end
See also
BASIC3D Commands Menu Index