2D Sprite Tutorial in OpenGL

DJBlufire
Unregistered
 
Post: #1
I'm having trouble getting started in this and I need some direction. None of the stuff on NeHe really provides exactly what I'm looking for. Can anyone recommend a good tutorial or something that demonstrates how to work with 2D images or sprites in OpenGL?
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
Do, like, the first tutorial (where you draw a triangle or a square or something), then skip right on ahead to the texturing tutorial. Then type [font=monaco,courier]man gluOrtho2D[/font] into your terminal.
Quote this message in a reply
Patrick
Unregistered
 
Post: #3
Also, you might want to check out SpriteWorld 3.0b1's source code, which has a working hardware implementation using OpenGL.
http://www.pairlist.net/pipermail/swml/2002/001805.html
Quote this message in a reply
DJBlufire
Unregistered
 
Post: #4
Thanks Patrick, I think I found what I needed from the OpenGL code in SpriteWorld.

Also, this page was a big help, in case anyone else ever asks. Smile
Quote this message in a reply
Sage
Posts: 1,232
Joined: 2002.10
Post: #5
Or you could just look at how Apple does it:

http://developer.apple.com/samplecode/Sa...Rocket.htm
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Sprite game with OpenGL/GLKit InvisibleMoustache 6 7,768 Oct 10, 2012 09:20 AM
Last Post: OneSadCookie
  Sprite transparency in OpenGL? Guest! 26 28,186 Feb 17, 2012 09:24 AM
Last Post: Skorche
  OpenGL Sprite Structure Stalin55 2 4,157 Aug 18, 2006 03:40 PM
Last Post: AnotherJake
  SDL + OpenGL Sprite Loading Problem Greywhind 3 4,842 Jun 29, 2006 04:44 PM
Last Post: OneSadCookie
  Cocoa OpenGL Tutorial Site (Yay) Justin Brimm 9 5,411 Mar 31, 2003 02:18 PM
Last Post: codemattic