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 / How do I fix this

Author
Message
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 30th Mar 2004 00:38

I had the back drop on and everthing was surrounded by blue, and then I
off and everthing was sort of distorted. How do fix this.

Also how do I glue an image to the screen?

I've included my source..

Also, everything you see up there right now is a layout for the remake im doing... I'm abvioulsy not going to have their logo's up there. Its all going to end up 3d too... I just need to model and texture...

DANGIT NEO, YOU CHANGED THE CODE AND NOW THE MATRIX WONT TEXTURE RIGHT.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 30th Mar 2004 02:04
If you are using dbpro you should use the texture flag when loading images.
eg.
load image "Media\Bucket Kaboom.bmp",bucket,1
load image "Media\front veiw.bmp",front1,1
load image "Media\kaboom robber.bmp",rob,1

It stops db from bluring the images
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 30th Mar 2004 02:24
If a blue background is not what you want, this at least works in DBP.

color backdrop rgb(0,0,0)

Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 30th Mar 2004 15:18
@The Winch
Most of the distortion went away... What did that do anyway?

DANGIT NEO, YOU CHANGED THE CODE AND NOW THE MATRIX WONT TEXTURE RIGHT.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 30th Mar 2004 15:27
From the help
Quote: "LOAD IMAGE Filename, Image Number, Texture Flag

Texture Flag of zero will treat the image as a texture and load to fill a texture surface in memory. A value of one will preserve the image without adding mipmaps, scaling or filtering and so retaining its pixel perfect quality."
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 30th Mar 2004 17:20
Oh, that makes sense. Im making a habit of asking people why things work, not just how to do it. That way ill understand the code im writing a 100 time better.

DANGIT NEO, YOU CHANGED THE CODE AND NOW THE MATRIX WONT TEXTURE RIGHT.
Scouseknight
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Bootle, Merseyside, UK
Posted: 31st Mar 2004 01:16
Ah nice one I was wondering about distortions myself - cheers fellas.

Login to post a reply

Server time is: 2024-09-22 02:54:34
Your offset time is: 2024-09-22 02:54:34