This command does not appear to function.
Exclude Object Off.This was posted here before but has since vanished.Did i miss something? When the command is called and the screen is synced the objects do not reappear. Anyhow here is an example that was in the bug fixes for 5.8.Written by Lee Bamber, i think.
REM Project: ExcludeObjectSpeedup
REM Created: 30/03/2005 02:10:20
rem Set objects to create sharing vertex and index buffers
SET GLOBAL OBJECT CREATION 1
rem init
sync on : sync rate 0
rem create objects
omax=1000
for o=1 to omax
make object cube o,10
position object o,rnd(1000),rnd(1000),rnd(1000)
next o
rem position camera away from them (not visible)
position camera 1000,1000,1000 : point camera 500,600,500
do
`
rem prompt
set cursor 0,0
print "Shows use of SET GLOBAL OBJECT CREATION to speed up if many objects"
print "Shows how EXCLUDE OBJECT is as effective as deleting them"
print "1. hide objects 2.Exclude Objects 3.Delete Objects 4.Return All"
print "screenfps=";screen fps();" polys=";statistic(1)
`
rem controls
if inkey$()="1" then position camera 99999,99999,99999
if inkey$()="2" and ex=0
ex=1
for o=1 to omax
exclude object on o
next o
endif
if inkey$()="3" and del=0
delete objects 1,omax
del=1
endif
if inkey$()="4" and ex=1
ex=0
position camera 1000,1000,1000 : point camera 500,600,500
for o=1 to omax
exclude object off o
next o
endif
`
rem update screen
sync
`
loop
AMD 2.2ghz/512mb DDR ram/GeForce Fx5200 128mb/W2K pro/DBPro