SDL + GL. lots of doubt!

Is openGL hard to work with?
What should I know to start opengl programming with
SDL.
I know too little about opengl?
How can I use SDL, opengl and DevCpp?
Is there any tutorials?
Thanks, I think I?ll stick to opengl.
Does an Opengl program made with SDL in a Geforce4TI,
work good on an cheap onboard GL supporting chip? Will
it even run?
Can I use Pixel Shadders in Opengl through SDL?
Can you tell me where can I find all this information
without bugging you? (sorry!)

A good life for you all!__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/

Nehe’s OpenGL tutorials are very popular:

http://nehe.gamedev.net/

I’d advice you to start out learning OpenGL in combination
with a utility windowing/input/output library called GLUT,
which is really simple to use. Glut is available from

http://www.xmission.com/~nate/glut.html (dev. files)

Here is a GLUT/OpenGL tutorial, just googled it don’t know
if it’s great:

http://www.cs.arizona.edu/classes/cs433/spring02/opengl/

After you’ve become accustomed to OpenGL/GLUT, it’s really
much simpler to work with the SDL/OpenGL combination.

/Olof

Romulo Gnomo: “[SDL] SDL + GL. lots of doubt!” (2004-04-02 23:22)

#Is openGL hard to work with?
#What should I know to start opengl programming with
#SDL.
#I know too little about opengl?
#How can I use SDL, opengl and DevCpp?
#Is there any tutorials?
#Thanks, I think I?ll stick to opengl.
#Does an Opengl program made with SDL in a Geforce4TI,
#work good on an cheap onboard GL supporting chip? Will
#it even run?
#Can I use Pixel Shadders in Opengl through SDL?
#Can you tell me where can I find all this information
#without bugging you? (sorry!)#
#A good life for you all!

#__________________________________
#Do you Yahoo!?
#Yahoo! Small Business $15K Web Design Giveaway
#http://promotions.yahoo.com/design_giveaway/

#_______________________________________________
#SDL mailing list
#SDL at libsdl.org
#http://www.libsdl.org/mailman/listinfo/sdl

Nehe’s OpenGL tutorials are very popular:

http://nehe.gamedev.net/

I’d advice you to start out learning OpenGL in combination
with a utility windowing/input/output library called GLUT,
which is really simple to use. Glut is available from

http://www.xmission.com/~nate/glut.html (dev. files)

Here is a GLUT/OpenGL tutorial, just googled it don’t know
if it’s great:

http://www.cs.arizona.edu/classes/cs433/spring02/opengl/

Just a note: NeHe’s original basecode and the actual tutorials are actually
written for GLUT, but the source for both has (most of the tutorials,
atleast. Come of the latter ones might not have the SDL port yet [I didn’t actually check]) been ported to SDL.

After you’ve become accustomed to OpenGL/GLUT, it’s really
much simpler to work with the SDL/OpenGL combination.

I’ll kinda agree to this, yes. GLUT/GL is a very good basis for learning to
use OpenGL. SDL, however, shouldn’t be overlooked as a good starting
platform for OpenGL learning, as it has a couple features that GLUT just
wasn’t designed for – like threaded input events – that might make it a
bit easier to work with shortly after you get going. The only reason I can
see for not just starting out with SDL/GL is the lack of SDL/GL specific
tutorials out there, and that can be pretty much ignored if you realize it’s
the setup part that’s SDL or GLUT specific, and not the actual OpenGL code
(and thats what most OpenGL tutorials cover).
In other words, if you grab NeHe’s SDL Basecode, you can follow the
tutorials almost verbaitim (the only change should be when they write code
to load images).

Anyways, just my two cents.

  • Silicon

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.644 / Virus Database: 412 - Release Date: 3/26/2004

----- Original Message -----
From: objarni@dd.chalmers.se (Olof Bjarnason)
To:
Sent: Saturday, April 03, 2004 9:09 AM
Subject: Re: [SDL] SDL + GL. lots of doubt!

Is openGL hard to work with?

No.

What should I know to start opengl programming with
SDL.

Just look at the SDL documentation to see how to initialise an OpenGL
display.

How can I use SDL, opengl and DevCpp?

Download the SDL template for devcpp and use it to create a new project.
Then you’ll see in the project options everything that needs to be set
for a SDL+OpenGL project. You’ll probably need to find and download the
mingw32 version of the SDL dev kit too.

Is there any tutorials?
Thanks, I think I?ll stick to opengl.

Are you talking to yourself? :slight_smile:

Does an Opengl program made with SDL in a Geforce4TI,
work good on an cheap onboard GL supporting chip? Will
it even run?

It depends on what your program does… If you don’t use any OpenGL
extension, and your textures aren’t too big, then it should work. There
is a way to get the maximum textures size anyway, so you can make your
program adapt the textures sizes automatically if necessary. (for
example, old Voodoo3 cards only support 256x256 textures)

Can you tell me where can I find all this information
without bugging you? (sorry!)

Dunno… You can ask programming questions on www.flipcode.com :slight_smile: .On 03/04/2004, Romulo Gnomo, you wrote:


Please remove “.ARGL.invalid” from my email when replying.
Incoming HTML mails are automatically deleted.