I’m able to load up bitmaps and texture them to quads, and transform and zoom and size them just fine. What I want to do is simply display a bitmap in its original size in a window. This will be off to the side of the main window and not resizeable, etc…
So how do I display that bitmap in its original size and shape?!
Use glDrawPixels to draw the bitmap. glRasterPos will position the bitmap first, the location is transformed through the modelview & projection mtrix first though. It will appear provided it doesn’t get clipped.
Originally posted by dorbie: Use glDrawPixels to draw the bitmap.
Do I first have to load it into memory somewhere? I can’t find a glLoadBitmap() function/procedure anywhere! And the only advice I’ve gotten so far is to “display a bitmap as a texture on a quad.”
glRasterPos will position the bitmap first, the location is transformed through the modelview & projection matrix first though. It will appear provided it doesn’t get clipped.
be blessed, dorbie!
Originally posted by ZbuffeR: Bump read the docs.
I have and I’ve Googled the hell out of Google and still can’t figure out how to display a bitmap such that it takes up the full client rect of a window… or some less portion thereof.
<Bumping head against desk>
P.S. Could you at least direct me to a particular part of the docs? I don’t mind RTFM, as long as it’s friendly.
Originally posted by ZbuffeR: Did you actually read the doc for glDrawPixels (google glDrawPixels + I’m feeling lucky) ?
yes, I did. but… I’m a beginner! Thus, my trist into this forum.
And your simple ‘bump’ was not very polite.[/b]
I apologize, then, apparently not completely understanding the use of “bump” in a message board system. I had noticed people using a “bump” message as a way to repost a message without having to type it out, or get it back on the forum radar (putting it at the top of the list). What’s the polite use of “bump,” if not what I did?
Originally posted by Sonny Maou: …I had noticed people using a “bump” message as a way to repost a message without having to type it out, or get it back on the forum radar…
If nobody answers when you need more info, you can try to reformulate your question and show that you actually tried to understand things. If you give the impression of just waiting around pressing refresh button of the topic, it is not very motivating to do the actual work for you…
Some general quidelines are described here : http://www.catb.org/~esr/faqs/smart-questions.html#forum