for some reason, i cannot load an object, or any object for that matter. here is the code i have condensed it to:
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );
dbMakeCamera(1);
dbAutoCamOff();
dbSetCurrentCamera(1);
dbPositionCamera(1, 0, 10, 0);
dbRotateCamera(1, 90, 0, 0);
dbLoadObject("Cursor.X", 1);
if(!dbFileExist("Cursor.X"))
int q = 1;
dbPositionObject(1, 0, 0, 0);
if(!dbObjectExist(1))
int r = 1;
dbPositionMouse(320, 240);
// our main loop
while ( LoopGDK ( ) )
{
//mouseActions();
// update the screen
dbSync ( );
}
// return back to windows
return;
}
attached is a picture of what it is in 3d canvas, and its position in the folder. i have a breakpoint on the line "int q = 0" and "int r = 1". neither are ever tripped, so the file exists, and the file loads. i have rotated the camera 360 degrees in all directions, and cannot see it.
-to the optimist, the glass is half full. to the pessimist, it is half empty, to the engineer, it is twice as big as it needs to be.