Every time i try to build terrains my compiler crashes when teh program executes on the build terrain comment with a Accessviolation Exception. heres my code:
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );
dbMakeObjectTerrain(1);
dbSetTerrainHeightMap(1,"height.bmp");
dbSetTerrainScale(1,200,200,200);
dbSetTerrainSplit(1,10);
dbSetTerrainTiling(1,1);
dbBuildTerrain(1);
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
Your signature has been erased by a mod - please reduce it to 600x120