Where can i find information on how to program openGL with SDL. I looked
on the SDL web page but all it had was a copy of NeHe’s tutorials for
windows.
Where can i find information on how to program openGL with SDL. I looked
on the SDL web page but all it had was a copy of NeHe’s tutorials for
windows.
The source code for the tutorials use SDL.
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
I don’t know if i am look in the right place then. I looked in the
OpenGL intro and it looked like windows code to me. This is an example
from lesson 7 (http://nehe.gamedev.net/tutorials/lesson7.htm).
#include <windows.h> // Header File For Windows
#include <stdio.h> // Header File For Standard Input/Output
( ADD )
#include <gl\gl.h> // Header File For The OpenGL32 Library
#include <gl\glu.h> // Header File For The GLu32 Library
#include <gl\glaux.h> // Header File For The GLaux Library
HDC hDC=NULL; // Private GDI Device Context
HGLRC hRC=NULL; // Permanent Rendering Context
HWND hWnd=NULL; // Holds Our Window Handle
bool keys[256]; // Array Used For The Keyboard Routine
bool active=TRUE; // Window Active Flag
bool fullscreen=TRUE; // Fullscreen Flag
All that the OpenGL intro page seems to do is link to the lessons on
gamedev.com. Is this something that needs to be fixed? If i am looking
in the wrong place, please direct me to the correct one.
Sam Lantinga wrote:>
Where can i find information on how to program openGL with SDL. I looked
on the SDL web page but all it had was a copy of NeHe’s tutorials for
windows.The source code for the tutorials use SDL.
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Newsgroups: loki.open-source.sdl
Where can i find information on how to program openGL with SDL. I looked
on the SDL web page but all it had was a copy of NeHe’s tutorials for
windows.They’ve been ported over to SDL on that page (I did number 19, I don’t know
if it’s up yet, though), so that’s a good bet. You might also want to try
out my wonderful OpenGL documentation, which is included in the SDL docs, or
take a look at the testgl source.Damn! I still need to do that thing! Bugger.
Nicholas
Nicholas Vining “While you’re out there struggling
vining at pacificcoast.net with your computer, I’m naked,
icq: 20872003 clueless, and feeling good!”
- Ratbert----- Original Message -----
From: parasite@cooper-mtn.com (Andy Howe)
To: sdl at lokigames.com
Date: Tuesday, April 04, 2000 10:20 PM
Subject: [SDL] Probably my stupidity but…
Newsgroups: loki.open-source.sdl
I don’t know if i am look in the right place then. I looked in the
OpenGL intro and it looked like windows code to me. This is an example
from lesson 7 (http://nehe.gamedev.net/tutorials/lesson7.htm).The pictures link elsewhere, to NeHe’s real site… try the big tarball at
the top of the page.Nicholas
Nicholas Vining “While you’re out there struggling
vining at pacificcoast.net with your computer, I’m naked,
icq: 20872003 clueless, and feeling good!”
- Ratbert----- Original Message -----
From: parasite@cooper-mtn.com (Andy Howe)
To: sdl at lokigames.com
Date: Tuesday, April 04, 2000 10:51 PM
Subject: [SDL] Re: Probably my stupidity but…
Never mind, i figured it out. I guess i just hadn’t tries everything.
Sam Lantinga wrote:>
Where can i find information on how to program openGL with SDL. I looked
on the SDL web page but all it had was a copy of NeHe’s tutorials for
windows.The source code for the tutorials use SDL.
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software