Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, AndrewAMD), 932 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Any up2date OpenGL tuts? #399042
04/10/12 15:48
04/10/12 15:48
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Hi there..
I wanted to learn how to use OpenGL with C++, but stuck in a little problem.
Many Online Tutorials are outdated (using unknown or not available headers and syntax)...

So my Question:
Do you know a good, beginner friendly, tutorial to start with?


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Any up2date OpenGL tuts? [Re: Espér] #399081
04/11/12 06:15
04/11/12 06:15
Joined: Apr 2005
Posts: 3,815
Finland
Inestical Offline
Rabbit Developer
Inestical  Offline
Rabbit Developer

Joined: Apr 2005
Posts: 3,815
Finland
unknown headers?
are you sure you just don't have them all?

NeHe.gamedev.net is very, very good.

the headers you need are:
GL/gl.h
GL/glu.h

optional:
GL/glut.h // Window stuff OR
GL/glfw.h // openGL FrameWork

also
GL/glew.h // new stuff support without address binding

You should start with OpenGL 2.0 (nehe is 1.2 to 2.0) and then when you're familiar with GL switch to OpenGL 3.0

Suggested reading:
OpenGL Redbook (programming guide)
OpenGL Bluebook (reference guide)
OpenGL SuperBible

OpenGL is a good api, but before you can dwell into 3.0 I suggest to understand the basics first.

Hope I could help laugh


"Yesterday was once today's tomorrow."
Re: Any up2date OpenGL tuts? [Re: Inestical] #399101
04/11/12 12:06
04/11/12 12:06
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
the Problem with Nehe, is their usage of the glaux.lib and glaux.h.. wich is totally outdated.. i can´t even find this two files in the internet.. it´s to old..

and without knowlege of OpenGL.. how to rewrite the glaux lines to a newer working one?


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Any up2date OpenGL tuts? [Re: Espér] #399143
04/11/12 15:46
04/11/12 15:46
Joined: Apr 2005
Posts: 3,815
Finland
Inestical Offline
Rabbit Developer
Inestical  Offline
Rabbit Developer

Joined: Apr 2005
Posts: 3,815
Finland
ahh I forgot it used them. No you don't need them. at all. ever.

Just download the "GLUT" version of the tutorials. Also you don't need to worry about making your window handle in windows. Just use GLUT. or GLFW if that's more your liking.


"Yesterday was once today's tomorrow."
Re: Any up2date OpenGL tuts? [Re: Inestical] #399157
04/11/12 17:06
04/11/12 17:06
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
alright - thx grin


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Any up2date OpenGL tuts? [Re: Espér] #399166
04/11/12 18:09
04/11/12 18:09
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
I highly recommend SDL. It's a low-level layer that lets you use the same code on Windows, Mac or Linux, letting you manipulate windows, access keyboard/mouse/gamepads, play sounds, interact with OpenGL, and so on.

It's used in a bunch of games, including (as I mention in the Future forums) Super Meat Boy, Dwarf Fortress, Lugaru, Overgrowth, Penumbra: Overture, World of Goo, Doom 3, FreeSpace 2, Quake 4, Unreal Tournament (and 2003 and 2004), Sim City 3000, and Amnesia: The Dark Descent.

Lazy Foo' has awesome tutorials that guide you through the entire setup process with specific information for whatever OS you use and whatever compiler you use. Then it explains a whole bunch of SDL specific stuff, but doesn't really get far into OpenGL.

Then go back to the NeHe tutorials and you can separate the general OpenGL stuff from the glaux stuff quite easily, for the most part.

Inestical is much more experienced with engine dev than I am, but I've been really happy with the SDL/OpenGL combo.


Formerly known as JulzMighty.
I made KarBOOM!

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1