Lisa Grecco
05-04-2005, 09:13 AM
Hello.
I’m new at this opengl stuff – so thanks for any help you can offer.
What I simply want to do is display an image using a texture. (Visual C) :)
I have a data array (pixel data) (256x128).
I want to display this on the screen.
I want this texture to be displayed at the same 256x128 resolution. (1 to 1 relationship)
I am able to display the texture but I do not know how to get the exact 256x128 screen resolution - the 1 to 1 data pixel to screen pixel relationship.
How do I get a 1 to 1 data pixel to screen pixel relationship for a texture?
Thank you,
- lisa
I’m new at this opengl stuff – so thanks for any help you can offer.
What I simply want to do is display an image using a texture. (Visual C) :)
I have a data array (pixel data) (256x128).
I want to display this on the screen.
I want this texture to be displayed at the same 256x128 resolution. (1 to 1 relationship)
I am able to display the texture but I do not know how to get the exact 256x128 screen resolution - the 1 to 1 data pixel to screen pixel relationship.
How do I get a 1 to 1 data pixel to screen pixel relationship for a texture?
Thank you,
- lisa