[/b][b]I wrote the following code to test cube mapping
The images are a panoramic set of images but I understand that any image should work.
The system reports back with a "1" so my card supports cube mapping but all I get is a spinning white cube.
What other commands are needed for this feature?
ink RGB(0,0,0),RGB(255,0,0)
SET CAMERA RANGE 0, 32, 100000
color backdrop RGB(0,0,120)
set ambient light 80
sync on
sync rate 60
Load image "Lake1.bmp",1
Load image "Lake2.bmp",2
Load image "Lake3.bmp",3
Load image "Lake4.bmp",4
Load image "LakeSky.bmp",5
Load image "LakeWater.bmp",6
make object cube 1, 20
position object 1,0,0,0
set object specular 1,0
position camera 100,0,0
point camera 0,0,0,0
SET CUBE MAPPING ON 1,1,2,3,4,5,6
do
set cursor 10,10
Print " Cube Mapping Available : ",CUBEMAP AVAILABLE()
CONTROL CAMERA USING ARROWKEYS 0, 2,1
turn object left 1,1
roll object left 1,2
pitch object up 1,3
sync
loop
System
PIII 650 MZ H.P. Pavillion
394 Mem GeForce 4 400MX