Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / 3D object tutorial

Author
Message
Red Rabbit
16
Years of Service
User Offline
Joined: 3rd Mar 2008
Location:
Posted: 3rd Mar 2008 11:44
Hi,

I've just installed DarkGDK and have started to work through the tutorials. The first tutorial (Hello World) was fine and but the 3D object tutorial doesn't seem to work for me.

I've entered the code as shown in the tutorial but when I run the program the window runs but then freezes with just a black screen.

I tried running the code that comes with the tutorial and got the same result.

The code is



If it matters I'm running Vista with a Geforce 8600M GT graphics card.

Thanks
MEE
16
Years of Service
User Offline
Joined: 3rd Mar 2008
Location: salem OR
Posted: 3rd Mar 2008 21:24
I tried your posted code and so far it's the only code that actually has worked for me in GDK.
I couldn't get the "Hello World" to work at all.
Are you sure you've got the model in the right folder?

Why do we BAKE cookies and COOK bacon?
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 4th Mar 2008 18:04
Yeah... missing file would do it.
Consider the dbFileExist("filename.x") command.
If your program just STOPS - You'll know why!



Also, I personally would try this is the FILE does seem to be there but still no SEE model!

1: Turn Off AutoCam
2: Set the camera range to MAMMOTH far.... say 100000... (just for this test)
3:adding the dbControlCameraUsingArrowKeys(??) command...

Red Rabbit
16
Years of Service
User Offline
Joined: 3rd Mar 2008
Location:
Posted: 5th Mar 2008 09:06
I'm pretty sure the file is in the correct place, but I'll try the dbFileExist() command tonight.

I hope I can get it to work.

Login to post a reply

Server time is: 2024-09-29 13:33:14
Your offset time is: 2024-09-29 13:33:14