User forums > Using Code::Blocks

Stupid Question

<< < (2/7) > >>

FlyingIsFun1217:
Ok, I'll look in-depth on that information.
To me, it doesn't matter whether or not I use wxWidgets, or some other windowing toolkit, as at this point I just want to learn OGL. Nothing more, Nothing less. Learn how to use it, that is all.
Eventually I of course want to do something with it (hopefully learn how to do culling and all the other stuff needed to make a simple landscape engine and what not), but like I said, easiest road is what I'm looking for :)

Thanks again for your help!
FlyingIsFun1217

courage:

--- Quote from: FlyingIsFun1217 on March 16, 2007, 05:32:48 pm ---So really, everything that I need for coding in OGL is the machine I already have? I assume that there would be more setup to it than that... :)

--- End quote ---

It's really, you can see your include and lib directories
if there are gl.h, glext.h, libgl.a or libopengl.a or opengl32.lib...etc, and it's the part of libraries.

And if you have a cheap nVidia or ATI video card and install the official hardware driver,
there is the hardware driver support for OpenGL.
If you use win95/98, you have to download opengl95.exe to setup.
If you don't use win95/98, you have to do nothing to setup.


--- Quote from: FlyingIsFun1217 on March 16, 2007, 05:32:48 pm ---I did see the NeHe tutorials, and they seemed great! The only problem I saw with them was that they all had refrences to the win32 API, which of course I wouldn't want to use.

--- End quote ---

There are many samples with different toolkits to download after each tutorial.
If you look at three or more sample codes,
you will find the principle of coding is the same. :)


--- Quote from: FlyingIsFun1217 on March 16, 2007, 05:32:48 pm ---but like I said, easiest road is what I'm looking for :)

--- End quote ---

I think there is no royal road to program RAW OpenGL program.  :wink:
But there are surely some frameworks like Ogre to help you to make a application quickly.
Nothing but you have to learn how to use these frameworks. :D

FlyingIsFun1217:
 :D
Glad everybody is so helpful :)
I think what I will try to do is use GLUT to do the windowing, and from there, it'll be easy to learn OGL.
Thanks for the help everybody! If I find anymore troubles... well, I'll be back ;P

FlyingIsFun1217 :)

FlyingIsFun1217:
Ok, went and downloaded the GLUT stuff, but... I'm not quite sure where to put it!
I read that you need to put it in your include directory, but C::B doesn't seem to have one. Where can I put these files so that I can use GLUT by including <GL/glut.h>?

Thanks again!
FlyingIsFun1217

Biplab:
It's simple. Simply paste your those files inside C:\MinGW\include folder. So after pasting, glut.h file should be inside C:\MinGW\include\GL folder. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version