For some reason the camera wont set up like I want it to. I want the camera to be positioned 0,0,-500 and then create spheres that are located at 0,0,0 but for some reason:
1) The camera wont move back or wont show my objects
2) The object appears higher than it should be.
#include "DarkGDK.h"
void DarkGDK ()
{
dbSyncOn ( );
dbSyncRate ( 60 );
dbMakeObjectSphere(1,10,10,10);
dbPositionObject(1,0,0,10);
dbPositionCamera(0,0,-500);
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
}
See attached image for screenshots.