• Welcome to Dark Bit Factory & Gravity.
 

[C++] Starting Out In Open GL

Started by Storm Trooper, March 11, 2010

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Storm Trooper

hello dbf forum,

you may of heard this question before.
i have been looking at nehe lesson on open gl. but the includes they use, etc, are missing or it looks like have been changed in vsc++2008. Is there an alternative way of working with open gl?

im interested in shaders, but don't really know how to make them. it looks to me like mixing per pixel effects like blending and blurring.

thanks for your valuable time,
Storm Trooper aka Trantor.


hellfire

Quoteim interested in shaders
You can find an introduction to glsl here.
A very simple example-source can be found here (at the bottom of the page).
You need to get glut from here and copy glut.h, glut32.lib & glut32.dll into the same folder.
Challenge Trophies Won:

Rbz

Quote from: Storm Trooper on March 11, 2010
...
i have been looking at nehe lesson on open gl. but the includes they use, etc, are missing or it looks like have been changed in vsc++2008. Is there an alternative way of working with open gl?
...
Do you mean gl.h / glu.h / glaux.h ?
I attached those here for you, just copy gl folder to your msvc lib folder.

Check this out:
http://www.dbfinteractive.com/forum/index.php/topic,2558.msg36157.html#msg36157
You will find a little shader framework, it might help you start with it.
Challenge Trophies Won: