-
Oct 19th, 2003, 04:42 PM
#1
Thread Starter
Conquistador
Bitmaps and OpenGL
I was wondering if anyone knew how to load a bitmap from a resource file and then draw it on screen with opengl?
I've seen some examples around but they don't seem to cut it
[Edit]Or I can't get them to work properly :$[/Edit]
Thanks!
-
Oct 19th, 2003, 04:48 PM
#2
I'd use the SDL library to work with OpenGL.
Not exactly sure how to open the bitmap form a resource file though... why would you need to use a resource file anyway?
-
Oct 21st, 2003, 08:38 AM
#3
Thread Starter
Conquistador
so as to not have external files
-
Oct 21st, 2003, 11:30 AM
#4
Originally posted by da_silvy
so as to not have external files
What's wrong with external files?
-
Oct 22nd, 2003, 01:55 AM
#5
Thread Starter
Conquistador
That's not the point!
Forget the file loading method
How do I draw them !
-
Oct 22nd, 2003, 05:37 AM
#6
All the buzzt
CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 25th, 2003, 04:14 AM
#7
Thread Starter
Conquistador
they were theh examples that didn't cut it
thanks anyway D:
-
Nov 1st, 2003, 03:25 PM
#8
Addicted Member
forget opengl and use directx
-
Nov 1st, 2003, 11:25 PM
#9
Originally posted by abcdefg
forget opengl and use directx
Or how about no?
-
Nov 4th, 2003, 03:51 AM
#10
Thread Starter
Conquistador
-
Nov 4th, 2003, 06:13 AM
#11
I'll try and find a tutorial.
All the buzzt
CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 5th, 2003, 12:48 AM
#12
Thread Starter
Conquistador
thanks
-
Nov 5th, 2003, 04:52 AM
#13
Ok, I found something extremly simple here:
http://www.ncrg.aston.ac.uk/~cornfos...penglcode.html
The opengl2d*.c files show some basic 2d drawing in OpenGL. All you have to do is to set the texture to the image you want displayed.
All the buzzt
CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 5th, 2003, 05:01 AM
#14
All the buzzt
CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|