OpenGL Beginner 3D Examples?

OpenGL Beginner 3D Examples?

Hi,

I am starting to get into 3D with SDL1.2+OpenGL.

I am having trouble with setting up a camera
to look/move around a simple 3D environment.
(changing values of gluLookAt() has no effect)

I’ve Google’d alot but have not found anything useful.
Can you suggest some SDL1.2+OpenGL tutorials with source code?
(examples must be cross-platform & I am using Linux on my main computer)

Thanks!

Jesse
16BitSoft®
Video Game Design Studio
www.16BitSoft.com

I’ve Google’d alot but have not found anything useful.
Can you suggest some SDL1.2+OpenGL tutorials with source code?
(examples must be cross-platform & I am using Linux on my main computer)

I think http://nehe.gamedev.net/ would be a good start?

HTH

Peter KOn 2010-06-29 12:40, Jesse Palser wrote:

Nehe isn’t bad…it was what I was going to suggest, but I’ll also warn you
that many people complain that nehe uses shifty code, and maybe not the best
practices.
Take care,
-AlexOn Tue, Jun 29, 2010 at 12:26 PM, pk wrote:

On 2010-06-29 12:40, Jesse Palser wrote:

I’ve Google’d alot but have not found anything useful.
Can you suggest some SDL1.2+OpenGL tutorials with source code?
(examples must be cross-platform & I am using Linux on my main computer)

I think http://nehe.gamedev.net/ would be a good start?

HTH

Peter K


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

Hi,

I looked at NeHe and found the sources confusing…

I need an SDL1.2+OpenGL 3D demo with sources.
The sources must be cross-platform.

Thanks…

JesseOn 06/29/2010 12:47 PM, Alex Barry wrote:

Nehe isn’t bad…it was what I was going to suggest, but I’ll also
warn you that many people complain that nehe uses shifty code, and
maybe not the best practices.
Take care,
-Alex

On Tue, Jun 29, 2010 at 12:26 PM, pk <peka at min-epost.net <mailto:peka at min-epost.net>> wrote:

On 2010-06-29 12:40, Jesse Palser wrote:

> I've Google'd alot but have not found anything useful.
> Can you suggest some SDL1.2+OpenGL tutorials with source code?
> (examples must be cross-platform & I am using Linux on my main
computer)

I think http://nehe.gamedev.net/ would be a good start?

HTH

Peter K
_______________________________________________
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

Hello !

I looked at NeHe and found the sources confusing…

I need an SDL1.2+OpenGL 3D demo with sources.
The sources must be cross-platform.

Look at :

http://www.libsdl.org/opengl/index.php

There you find the NeHe Sources using SDL.

CU

Hi,

The NeHe sources are written for Windows.
(I also find the NeHe sources to be confusing)

Need cross-platform example.

Looking for a simple demo with source
that displays a simple 3d world and allows player to move.

Thanks!

JesseOn 06/29/2010 01:11 PM, Torsten Giebl wrote:

Hello !

I looked at NeHe and found the sources confusing…

I need an SDL1.2+OpenGL 3D demo with sources.
The sources must be cross-platform.
Look at :

http://www.libsdl.org/opengl/index.php

There you find the NeHe Sources using SDL.

CU


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

Hello !

The NeHe sources are written for Windows.

The original sources yes, but the sources have been ported
using SDL by Sam Lantinga, i think :

http://www.libsdl.org/opengl/OpenGL-intro-1.1.1.zip

(I also find the NeHe sources to be confusing)

That is a different thing :slight_smile:

CU

Ya, those are definitely cross platform and ported to openglOn Tue, Jun 29, 2010 at 2:27 PM, Torsten Giebl wrote:

Hello !

The NeHe sources are written for Windows.

The original sources yes, but the sources have been ported
using SDL by Sam Lantinga, i think :

http://www.libsdl.org/opengl/OpenGL-intro-1.1.1.zip

(I also find the NeHe sources to be confusing)

That is a different thing :slight_smile:

CU


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

Hi,

Yes you are right, the NeHe sources on the SDL web site are cross-platform.
Looking through the examples now, thanks!

I’ve never done 3d before, so I wish to make something simple…

JesseOn 06/29/2010 02:27 PM, Torsten Giebl wrote:

Hello !

The NeHe sources are written for Windows.
The original sources yes, but the sources have been ported
using SDL by Sam Lantinga, i think :

http://www.libsdl.org/opengl/OpenGL-intro-1.1.1.zip

(I also find the NeHe sources to be confusing)
That is a different thing :slight_smile:

CU


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

OpenGL Beginner 3D Examples?

http://www.opengl.org/code/
http://www.opengl.org/wiki/Common_Mistakes
http://www.opengl.org/wiki/Tutorials
http://www.opengl.org/sdk/docs/tutorials/

http://nehe.gamedev.net/
http://nehe.gamedev.net/lesson.asp?index=01
http://nehe.gamedev.net/wiki/NewLessons.ashx

http://www.gamedev.net/reference/list.asp?categoryid=31
http://wiki.gamedev.net/index.php/Template:OpenGL:Tutorials

http://glprogramming.com/red/
http://glprogramming.com/dgs.php

Hi,

I am starting to get into 3D with SDL1.2+OpenGL.

I am having trouble with setting up a camera
to look/move around a simple 3D environment.
(changing values of gluLookAt() has no effect)

http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=10

I’ve Google’d alot but have not found anything useful.
Can you suggest some SDL1.2+OpenGL tutorials with source code?
(examples must be cross-platform & I am using Linux on my main computer)

Most examples are for Windows, but converting to Linux should be
simple enough. Just replace any wgl* calls with SDL, glx or Glut
code. You won’t see much wgl stuff except when setting up or shutting
down your window.On 29/06/2010, Jesse Palser wrote:

Hi,

Thanks for the links, I’ll take a look after work!

JesseOn 06/29/2010 09:06 PM, Kenneth Bull wrote:

On 29/06/2010, Jesse Palser wrote:

OpenGL Beginner 3D Examples?

http://www.opengl.org/code/
http://www.opengl.org/wiki/Common_Mistakes
http://www.opengl.org/wiki/Tutorials
http://www.opengl.org/sdk/docs/tutorials/

http://nehe.gamedev.net/
http://nehe.gamedev.net/lesson.asp?index=01
http://nehe.gamedev.net/wiki/NewLessons.ashx

http://www.gamedev.net/reference/list.asp?categoryid=31
http://wiki.gamedev.net/index.php/Template:OpenGL:Tutorials

http://glprogramming.com/red/
http://glprogramming.com/dgs.php

Hi,

I am starting to get into 3D with SDL1.2+OpenGL.

I am having trouble with setting up a camera
to look/move around a simple 3D environment.
(changing values of gluLookAt() has no effect)

http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=10

I’ve Google’d alot but have not found anything useful.
Can you suggest some SDL1.2+OpenGL tutorials with source code?
(examples must be cross-platform& I am using Linux on my main computer)

Most examples are for Windows, but converting to Linux should be
simple enough. Just replace any wgl* calls with SDL, glx or Glut
code. You won’t see much wgl stuff except when setting up or shutting
down your window.


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