Should SDL_opengl.h include glu.h?

Should SDL_opengl.h include glu.h? Do people expect it? Want it? Want it
removed?

See ya!–
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

I’d apply KISS here. Does SDL_opengl.h require glu.h, for example by using
data types declared in glu.h? If so, add it. Otherwise, leave it out and let
coders who need it include it in their own code.________________________________
From: slouken@libsdl.org (slouken)
Subject: [SDL] Should SDL_opengl.h include glu.h?

Should SDL_opengl.h include glu.h? Do people expect it? Want it? Want it
removed?

See ya!

-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Please do not add it. I do not want to use GLU myself at all. Or is GLU a
dependency of SDL? I didn’t think so.

With kind regards,

JosFrom: sdl-bounces@lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Mason Wheeler
Sent: woensdag 19 januari 2011 23:58
To: SDL Development List
Subject: Re: [SDL] Should SDL_opengl.h include glu.h?

I’d apply KISS here. Does SDL_opengl.h require glu.h, for example by
using data types declared in glu.h? If so, add it. Otherwise, leave it out
and let coders who need it include it in their own code.


From: slouken@libsdl.org (slouken)
Subject: [SDL] Should SDL_opengl.h include glu.h?

Should SDL_opengl.h include glu.h? Do people expect it? Want it? Want it
removed?

See ya!

-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3390 - Release Date: 01/19/11

noOn Wed, Jan 19, 2011 at 10:54 PM, Sam Lantinga wrote:

Should SDL_opengl.h include glu.h? Do people expect it? Want it? Want it
removed?

See ya!

-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

If you are using GL3+ I would say no, but if someone wants to use GL2.1
and lower than I would say go ahead and keep it for legacy support…
Some people may want to use gluLookAt() with the old model of OpenGL vs.
the new GL3+ you manage all the matrix stuff yourself.

Thanks!On 1/19/2011 5:15 PM, Ren? Dudfield wrote:

no

On Wed, Jan 19, 2011 at 10:54 PM, Sam Lantinga <slouken at libsdl.org <mailto:slouken at libsdl.org>> wrote:

Should SDL_opengl.h include glu.h?  Do people expect it?  Want
it?  Want it removed?

See ya!
-- 
    -Sam Lantinga, Founder and President, Galaxy Gameworks LLC

_______________________________________________
SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Which thus means, do not include it in the SDL_opengl header
Users can do
that themselves
It is not an dependency.

Please spend your time on adding the windows-mousebutton patch. JFrom: sdl-bounces@lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Mars_999
Sent: donderdag 20 januari 2011 0:26
To: SDL Development List
Subject: Re: [SDL] Should SDL_opengl.h include glu.h?

If you are using GL3+ I would say no, but if someone wants to use GL2.1 and
lower than I would say go ahead and keep it for legacy support… Some
people may want to use gluLookAt() with the old model of OpenGL vs. the new
GL3+ you manage all the matrix stuff yourself.

Thanks!

On 1/19/2011 5:15 PM, Ren? Dudfield wrote:

no

On Wed, Jan 19, 2011 at 10:54 PM, Sam Lantinga wrote:

Should SDL_opengl.h include glu.h? Do people expect it? Want it? Want it
removed?

See ya!

-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3390 - Release Date: 01/19/11

Nope. I would not expect it nor want to link to GLU if I’m not using it.

Jonny DOn Wed, Jan 19, 2011 at 6:26 PM, Mars_999 wrote:

If you are using GL3+ I would say no, but if someone wants to use GL2.1
and lower than I would say go ahead and keep it for legacy support… Some
people may want to use gluLookAt() with the old model of OpenGL vs. the new
GL3+ you manage all the matrix stuff yourself.

Thanks!

On 1/19/2011 5:15 PM, Ren? Dudfield wrote:

no

On Wed, Jan 19, 2011 at 10:54 PM, Sam Lantinga wrote:

Should SDL_opengl.h include glu.h? Do people expect it? Want it? Want
it removed?

See ya!

-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I’ve had joyous times trying to eradicate the glu library from a game engine once (which out of courtesy I will not name).

The only functions in glu that anyone cares about are the matrix functions gluPerspective, gluLookAt, gluProject (genuinely useful!) and gluUnproject (even more useful!), but these can be solved by a
general purpose matrix library of the user’s choosing.

Wandering off-topic a bit, I’d argue the need for an SDL_Matrix library to assist in the creation of the myriad of 3D games that are continually appearing, especially OpenGL3+ games, after all,
DirectX provides a matrix library, why not SDL? Note that a matrix library has uses outside of graphics, particularly collision detection and game code.

I’m sure someone other than Sam can worry about this aspect, so back to the point:
No glu.h!On 01/19/2011 02:54 PM, Sam Lantinga wrote:

Should SDL_opengl.h include glu.h? Do people expect it? Want it? Want it removed?

See ya!

 -Sam Lantinga, Founder and President, Galaxy Gameworks LLC

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


LordHavoc
Author of DarkPlaces Quake1 engine - http://icculus.org/twilight/darkplaces
Co-designer of Nexuiz - http://alientrap.org/nexuiz
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged demo." - James Klass
"A game is a series of interesting choices." - Sid Meier

Actually forget the math lib for SDL just use CML, http://cmldev.net/

Concentrate on getting SDL2.0 or whatever its going to be called out…On 1/19/2011 6:09 PM, Forest Hale wrote:

I’ve had joyous times trying to eradicate the glu library from a game
engine once (which out of courtesy I will not name).

The only functions in glu that anyone cares about are the matrix
functions gluPerspective, gluLookAt, gluProject (genuinely useful!)
and gluUnproject (even more useful!), but these can be solved by a
general purpose matrix library of the user’s choosing.

Wandering off-topic a bit, I’d argue the need for an SDL_Matrix
library to assist in the creation of the myriad of 3D games that are
continually appearing, especially OpenGL3+ games, after all, DirectX
provides a matrix library, why not SDL? Note that a matrix library
has uses outside of graphics, particularly collision detection and
game code.

I’m sure someone other than Sam can worry about this aspect, so back
to the point:
No glu.h!

On 01/19/2011 02:54 PM, Sam Lantinga wrote:

Should SDL_opengl.h include glu.h? Do people expect it? Want it?
Want it removed?

See ya!

 -Sam Lantinga, Founder and President, Galaxy Gameworks LLC

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

No. If they need to use it, they can include it in their project.

And with GL3+ core it’s useless…

2011/1/20 Mars_999 > Actually forget the math lib for SDL just use CML, http://cmldev.net/

Concentrate on getting SDL2.0 or whatever its going to be called out…

On 1/19/2011 6:09 PM, Forest Hale wrote:

I’ve had joyous times trying to eradicate the glu library from a game
engine once (which out of courtesy I will not name).

The only functions in glu that anyone cares about are the matrix functions
gluPerspective, gluLookAt, gluProject (genuinely useful!) and gluUnproject
(even more useful!), but these can be solved by a general purpose matrix
library of the user’s choosing.

Wandering off-topic a bit, I’d argue the need for an SDL_Matrix library to
assist in the creation of the myriad of 3D games that are continually
appearing, especially OpenGL3+ games, after all, DirectX provides a matrix
library, why not SDL? Note that a matrix library has uses outside of
graphics, particularly collision detection and game code.

I’m sure someone other than Sam can worry about this aspect, so back to
the point:
No glu.h!

On 01/19/2011 02:54 PM, Sam Lantinga wrote:

Should SDL_opengl.h include glu.h? Do people expect it? Want it? Want
it removed?

See ya!

-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I vote for a separate header, SDL_glu.h, which includes glu.h just as
SDL_opengl.h includes gl.h. Personally, I use glu, but I use glew
instead of SDL_opengl.h for OpenGL access.On 1/19/2011 15:54, Sam Lantinga wrote:

Should SDL_opengl.h include glu.h? Do people expect it? Want it? Want it
removed?


Rainer Deyke - rainerd at eldwood.com

Okay, removed!

Thanks guys! :)On Wed, Jan 19, 2011 at 2:54 PM, Sam Lantinga <@slouken> wrote:

Should SDL_opengl.h include glu.h? Do people expect it? Want it? Want it
removed?

See ya!

-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC