-
TLVertex in OpenGL
hello.
In Microsoft DirectX, we often use TLVertex for 2D background image rendering.
In OpenGL, how do I render 2D background image? What kind of vertex can I use?
If you know solution, I'm glad to listen the solution.
sorry, my broken English.
thanks.
-
Member
Regular Contributor
Re: TLVertex in OpenGL
2 solutions :
1/Use glDrawPixels
2/Use a textured quad (with proper projection matrix, ie orthographic projection)
-
Re: TLVertex in OpenGL
I try to get 2D image by textured quad and glOrtho function. And I got 2D image.
I'm glad to hear your advice.
Thank you very much.
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