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 / load objects

Author
Message
why789
14
Years of Service
User Offline
Joined: 17th Feb 2010
Location:
Posted: 18th Feb 2010 19:31
ok guys... this is probably the noobiest question in dark GDK universe but... how the heck do i load a .x model into the game?!
im almost a total noob in c++ i put in dbLoadObject(COLONEL-X.x,1); and i build and run the program and i get a black screen...... i wait for a while and i still dont get anything!
i took the code from the 3d objects tutorial and pasted it into a clean cpp file and i still got the black screen!!! i didnt even get the loading model text that i told the computer to print!

any help guys?

thanks,
why789
Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 18th Feb 2010 20:46
Is the model x-file in the same folder as your main.cpp for that project?

why789
14
Years of Service
User Offline
Joined: 17th Feb 2010
Location:
Posted: 18th Feb 2010 21:51
no it wasnt... im so stupid sorry lol!!!!
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 18th Feb 2010 23:07
you dont have to say im stupid, im noob, noob question blabla... to get an answer..

why789
14
Years of Service
User Offline
Joined: 17th Feb 2010
Location:
Posted: 18th Feb 2010 23:11
lol i know... could you maybe give me some help with matrixes... ive built a matrix in matedit and not sure how to put it in my project

Login to post a reply

Server time is: 2024-11-20 03:41:23
Your offset time is: 2024-11-20 03:41:23