Simple Image on the screen?
Hi!
Maybe I complicated my question cause I still haven't got any response.
Well does anyone know how to display a simple image on the screen?
A BMP file.
thanks!
Well I just want to join so I can get som help.
Thanks!
But the image is displayed on the cube.
What if I only want to display the image?
Do I have to create an object and then paste the image on it to display it?
But the image is displayed on the cube.
What if I only want to display the image?
Do I have to create an object and then paste the image on it to display it?
Well I just want to join so I can get som help.
1. Remove all glRotate commands.
2. only render one of the faces, the one that is facing you(using trial 'n' error).
3. then use glTranslate to move it around untill it fit's the window as you see fit.
There is a better way of doing this but you have to learn some more OpenGL programming in order to understand it.
2. only render one of the faces, the one that is facing you(using trial 'n' error).
3. then use glTranslate to move it around untill it fit's the window as you see fit.
There is a better way of doing this but you have to learn some more OpenGL programming in order to understand it.
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement