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 / can't load bitmap

Author
Message
PAGAN_old
18
Years of Service
User Offline
Joined: 28th Jan 2006
Location: Capital of the Evil Empire
Posted: 2nd May 2006 16:10
it says it can't load bitmap. I placed it in the right directory and everything but i think i am doing something wrong.

anyone help?

dont hate people who rip you off,cheat and get away with it, learn from them
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd May 2006 16:25 Edited at: 2nd May 2006 16:25
Im guessing your on DBP

check the filename of the media object, make sure its a bmp and not a jpg.
make sure you have saved the DB files
there will be two project and source
check the path to the file, just make it relative, no full drive path.
DBP will handle the rest if you have saved the DB files.

for sanity and clarity load the texture then create the model and texture it.

change the position of the sphere to location 0,0,0 for testing and change its size to like 100.

dont rely on autocam

before your main loop add a camera snippet and point it to location 0,0,0
eg:

position camera 0,0,-100
point camera 0,0,0

you need to create a loop in your test source as well to hang the computer looking at what you want.

eg:


and delete your media and models afterwards.

If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself 
PAGAN_old
18
Years of Service
User Offline
Joined: 28th Jan 2006
Location: Capital of the Evil Empire
Posted: 2nd May 2006 16:47
all this to texture an object?

well guess what i figured it out without doing al that stuff

i had to load an image instead of a bitmap.

dont hate people who rip you off,cheat and get away with it, learn from them
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd May 2006 16:51
just safer with all those precautions, and easier to debug etc..
glad you solved it tho.

If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself 

Login to post a reply

Server time is: 2024-11-26 21:34:46
Your offset time is: 2024-11-26 21:34:46