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 issues

Author
Message
Vigneaux
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 22nd Oct 2008 21:26 Edited at: 23rd Oct 2008 08:54
Hey!!

Ok, so i'm just starting 3D game programming and i'm doing the tutorials that come with the Dev Kit.

I'm doing fine... but I can't understand a couple of things, perhaps someone could be kind enough to enlight me!!



Then, I don't know about you guys, but I noticed that when compiling this project, it takes considerably long to load a model, than to load a whole level or even a terrain... any resonable explanation for this?

thanks in advance!!
sydbod
16
Years of Service
User Offline
Joined: 14th Jun 2008
Location: Just look at the picture
Posted: 23rd Oct 2008 07:32
Quote: "I can't undertand why are these "dbSync" needed for in this part of the code, or at least, why TWO of them"


This video information is double buffered, so you require these 2 "dbSync" commands to move the text information through the buffers into the display screen.
Vigneaux
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 23rd Oct 2008 08:56
Thank you very much for your answer, it makes sense, but I can't see how the command parses the text in order to show it through the screen...
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 23rd Oct 2008 11:40
dbSync updates everything on the screen including 2D text & 3D models. You only need to call it once.

Vigneaux
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 23rd Oct 2008 21:57
It makes sense to call it just once... but then again when you run the code, nothing will happen unless you call it twice, wich is weird.... try it out... maybe it's just me...

Login to post a reply

Server time is: 2024-09-30 09:24:46
Your offset time is: 2024-09-30 09:24:46