Pardon my ignorance, because I'm sure somebody's asked about this before, but I couldn't find an answer soon enough. I took the tutorial on 3D Objects and tried importing a DarkMatter model, but it doesn't seem to work. All I did was to replace ColonelX.x with H-GI-Static.x:
// Dark GDK - The Game Creators - www.thegamecreators.com
// whenever using Dark GDK you must ensure you include the header file
#include "DarkGDK.h"
// the main entry point for the application is this function
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("H-GI-Static.x",1);
dbPositionCamera ( 0, 50, -300 );
dbLoopObject ( 1 );
dbSetObjectSpeed ( 1, 40 );
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
I get a blue background, but no model appears. There are only .x files and a single .dds file. Ideas, anyone?
"I've contracted cancer! AAAHH!!"
"I'm getting eating by wild dogs! NOOO!"
[both
"CURSE YOU, PRINCE OF DEATH!"