When I attempt to load a simple 3D object, my window goes black.
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );
dbPrint ( "Please wait loading model..." );
dbSync ( );
dbSync ( );
dbLoadObject ( "Colonel-X.X", 1 );
dbPositionCamera ( 0, 50, -80 );
dbLoopObject ( 1 );
dbSetObjectSpeed ( 1, 40 );
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
This was written by TCG for a tutorial so it must be right. Perhaps something is not installed right, or something is left unconfigured? Colonel-X.X exists, and is in the correct folder.
Thanks.