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.

Newcomers DBPro Corner / Models won't load

Author
Message
Ben Hartnett
13
Years of Service
User Offline
Joined: 16th Dec 2010
Location:
Posted: 19th Jun 2011 09:50
Hi all.

I am new to DB PRO. Everytime I try to load a model I get a run time error that says the file does not exist. The file is in the correct directory I made sure of it. What am I doing wrong? There is no error where the file is located and there is no error in the code. How do I properly load a 3d model and show it on the screen?
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 19th Jun 2011 21:21
Whatever the current directory is for your program, is where it will look for files to open. In the first instance, that current directory is the same directory as where the EXE is located.

Try this:
1. Create your project directory
2. Put your model in that directory
3. Open up DBPro, and save both the source file (.dba) and the project file (.dbpro) in that directory
4. Add your code, compile and run.



Later, you can move your media files into subdirectories to make things a little more organised.

Login to post a reply

Server time is: 2024-11-22 18:50:27
Your offset time is: 2024-11-22 18:50:27