User | Post |
Monsty
Posts: 3/6 |
If you already know the basics of using OpenGL, I believe all you'll need to do is set a 2D orthogonal projection matrix. If not...well, I'll get back to you. More of a DX guy, myself!
I haven't looked, but http://www.gamedev.net usually has the goods on such subjects in the articles section.
Maybe search for how people display menus and HUDs in OpenGL-that stuff is 2D so it should work similarily. |
neotransotaku
Posts: 1090/4016 |
There aren't that many languages he can use--it is either C or C++ (Java has a version but it is best to stick with their Java2D and use its OpenGL-based pipeline to do the work). Not sure if there are any other languages that can use OpenGL. |
Xtreme984
Posts: 2/111 |
in what language are you wanting to use the openGL code? |
neotransotaku
Posts: 1088/4016 |
i see...well, 2d is a special case of 3d so I'm not sure why you need an exclusive 2d tutorial.
Anyways, if you can figure out how to load textures into OpenGL, then all you need to do is to draw a planar polygon and set as it's fill to be the texture. |
Deleted User
Posts: 1/12 |
I've been searching for ages for a 2D OpenGL tutorial. All I can find is 3D tutorials. All I want to do is place tiles on a map etc.. Does anyone here know where I can learn this? |