Hello.
Ive been using DBP for quite some time now, and i just bought the DGDK.NET, and Im having trouble loading objects.
When I load them and compile, the models wont show up.
I dont know if im missing a step or something, so Im posting the code in hope that you guys could help me.
Thanks.
float camx = 0;
float camz = 0;
oDBCore.SyncOn();
oDBCore.SyncRate(5);
oDBCamera.BackdropOff();
oDBImage.LoadImage("hound.dds", 2);
oDB3D.LoadObject("dog.x", 1);
oDB3D.PositionObject(1, 0, 2, 0);
oDB3D.TextureObject(1, 2);
while (oDBP.LoopGDK)
{
if (oDBInput.RightKey() == 1)
camx += 0.5f;
if (oDBInput.LeftKey() == 1)
camx -= 0.5f;
if (oDBInput.UpKey() == 1)
camz += 0.5f;
if (oDBInput.DownKey() == 1)
camz -= 0.5f;
oDBCamera.PositionCamera(camx, 1, camz);
oDBCore.Sync();
}