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 / image won't load

Author
Message
cyangamer
16
Years of Service
User Offline
Joined: 2nd Jun 2008
Location: Houston, TX, USA
Posted: 3rd Jun 2008 00:14
Hi. First post. Anyway, I'm using the trial version of DBPro, and here is the syntax I try to use to bring up my title image.


Actually, that's the code to the entire program so far.
I've looked at tons of tutorials and strangely enough, they all either don't mention image loading or go over very briefly. :/

Any help? When i run the program it just shows the black background and watermark.

a total noob.
Zergei
19
Years of Service
User Offline
Joined: 9th Feb 2005
Location: Everywhere
Posted: 3rd Jun 2008 01:13
Your missing a "Sync" command right after you paste the image.



Further on my stuff at...
TurboSquid.com
The3dStudio.com
4LCH3M157
16
Years of Service
User Offline
Joined: 31st May 2008
Location:
Posted: 3rd Jun 2008 04:07
make sure that the file you want is in the same file as the project or that you include a full location address for time being.

also you're eventually going to want to put that sync command into the main loop.
example:
Matt Drith
16
Years of Service
User Offline
Joined: 30th May 2008
Location:
Posted: 3rd Jun 2008 04:12
did you save the DBPro project file in the same folder as the image you have called Title.jpg?

you dont need the sync command.

Also you dont really need to set the the font to "Arial" unless you plan to later put some text on the screen.

thats all i can think of if that if that doesnt work i dont know what is wrong.
cyangamer
16
Years of Service
User Offline
Joined: 2nd Jun 2008
Location: Houston, TX, USA
Posted: 3rd Jun 2008 05:49
Thanks for the replies, but none of that helps. The image just refuses to show up for some reason, even with the full path and Sync command. :/

a total noob.
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 4th Jun 2008 15:12
Do it.

Attachments

Login to view attachments
Programmer of Power
19
Years of Service
User Offline
Joined: 22nd Aug 2005
Location: Home
Posted: 5th Jun 2008 06:11
I'd recommend taking a look at some of the example code in the projects included with your trial version. They've got commands for loading images and models [not that you need those yet] in working examples. If you copy what they're doing, that might further your understanding enough to load your image.

"I will work harder... if you ask me enough times... or give me enough coffee"
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 7th Jun 2008 02:53
The first sync is always wasted.



Login to post a reply

Server time is: 2024-11-25 23:29:31
Your offset time is: 2024-11-25 23:29:31