Author Topic: [C++] Starting Out In Open GL  (Read 3562 times)

0 Members and 1 Guest are viewing this topic.

Offline Storm Trooper

  • C= 64
  • **
  • Posts: 45
  • Karma: 2
    • View Profile
[C++] Starting Out In Open GL
« on: March 11, 2010 »
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.


Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1294
  • Karma: 466
    • View Profile
    • my stuff
Re: [C++] Starting Out In Open GL
« Reply #1 on: March 12, 2010 »
Quote
im 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:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: [C++] Starting Out In Open GL
« Reply #2 on: March 12, 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:

Offline mziskandar

  • C= 64
  • **
  • Posts: 46
  • Karma: 1
    • View Profile