Here is a spinning 3D cube, this was really just for the hell of it so enjoy! (It was just because i was bored)
box 0,0,640,480,rgb(0,128,0),rgb(128,0,0),rgb(0,0,128),rgb(128,128,0)
get image 1,0,0,640,480
save image "txd1.bmp",1
cls
make object cube 1,200
move camera -150
load image "txd1.bmp",1
texture object 1,1
cls
set ambient light 100
sync rate 30
color backdrop rgb(0,0,0)
do
set cursor 0,0
print "D3D Cube Demo"
print "CUBE Attributes..."
print "Object Number=1"
print "Object Size=200"
print "Texture='default txd1.bmp'"
print "COMMAND> DVX CUBE 1,200"
print "COMMAND> DVX ROTATE LEFT 1,1 : DVX ROTATE UP 1,2"
turn object left 1,1
pitch object up 1,2
turn object left 1,3
loop
suspend for key
Visit my site to get a DVX player too! And join my forums why not?
View my website![href] http://www.freewebs.com/directexecute/index.htm [/href]