Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - OpenGL | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Deleted User Banned Level: 8 Posts: 1/12 EXP: 1736 For next: 451 Since: 01-23-01 Since last post: 13089 days Last activity: 21 days |
| ||
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? | |||
neotransotaku Baby Mario 戻れたら、 誰も気が付く Level: 87 Posts: 1088/4016 EXP: 6220548 For next: 172226 Since: 03-15-04 From: Outside of Time/Space Since last post: 11 hours Last activity: 1 hour |
| ||
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. |
|||
Xtreme984 Koopa Level: 18 Posts: 2/111 EXP: 25164 For next: 4733 Since: 07-27-04 Since last post: 116 days Last activity: 58 days |
| ||
in what language are you wanting to use the openGL code? | |||
neotransotaku Baby Mario 戻れたら、 誰も気が付く Level: 87 Posts: 1090/4016 EXP: 6220548 For next: 172226 Since: 03-15-04 From: Outside of Time/Space Since last post: 11 hours Last activity: 1 hour |
| ||
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. | |||
Monsty Newcomer Level: 5 Posts: 3/6 EXP: 357 For next: 172 Since: 03-21-04 From: USA Since last post: 426 days Last activity: 335 days |
| ||
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. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - OpenGL | | | |