Sign in to follow this  
Oni Sephiroth

need some help with bitmaps

Recommended Posts

Can someone show me a decent function for loading and drawing a bitmap with the glDrawPixels function? I've tried using several from the internet and textbooks, none of them want to work. Does anyone have one they're willing to share that actually works?

Share this post


Link to post
Share on other sites
Since it's just for looking, I suggest you just jump into texture mapping. You'll have to do it eventually, and it's not rocket science. There are also a lot of tutorials for it (including NeHe, which I can recommend to learn the very basics - don't actually adopt any of it for program architecture - but your first stop should be the Red Book itself).

If you do want to stick to glDrawPixels, post your code and I'll try looking at it to see what could the the problem. Can't promise anything though, I'm not too familiar with how that function works.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this