When I run the game, the object is black.
I attached a picture. The object is a concrete tile, with a brick wall and a sofa on it.
The object was built in 3d World Studio.
In 3d world studio, the object has graphics.
In the games folder I included everything 3D World Studio exported.
My video card is an ATI HD3450. Int
#include "DarkGDK.h"
// the main entry point for the application is this function
void DarkGDK ( void )
{
dbSyncOn ( );
dbSyncRate ( 60 );
dbLoadObject("map.x",1);
while ( LoopGDK ( ) )
{
// display some text on screen
dbText ( 0, 0, "Use the up and down arrow keys to move the camera\nUse the control key to pitch the camera down & Shift key to pitch it up");
if (dbShiftKey() ) dbPitchCameraUp(0,10);
if(dbControlKey()) dbPitchCameraDown(0,10);
if(dbSpaceKey()) dbRotateObject(1,1,0,0);
dbControlCameraUsingArrowKeys(0,10,2);
dbSync ( );
}
dbDeleteObject ( 1 );
// and now everything is ready to return back to Windows
return;
}
[img]null[/img]