PDA

View Full Version : Displaying a Background BMP



Osyrus
02-01-2001, 09:51 AM
Can someone help me out and tell me how I can display a BMP as a background in an OpenGL scene? Essentially what I have are a bunch of primitives in the foreground and I can move (the camera) around them using the arrow keys, I would like to have a background that will always be visible no matter what direction I'm viewing. Is there a simple way to do this in OpenGL?

Thanks,
Osyrus

chennes
02-01-2001, 10:04 AM
The typical solution is to texture map a polygon. You can then draw the polygon before you do your matrix transforms for viewing, and it will always be there.

Chris

Eric
02-02-2001, 01:05 AM
You really should check the board before creating a new thread: http://www.opengl.org/discussion_boards/ubb/smile.gif http://www.opengl.org/discussion_boards/ubb/smile.gif http://www.opengl.org/discussion_boards/ubb/smile.gif
http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/002780.html

Regards.

Eric