PDA

View Full Version : What do I need to download to get start?



Qiaowen
08-01-2011, 05:40 AM
Hello,everyone.I just begin to learn OpenGL.I am VC++ and C# user.My machine'processor is Intel,graphic card is Nvdia.It seems that I will need to download some libraries and some assemblies? I just come here and know nothing.Someone do me a favor please.

mhagain
08-01-2011, 07:07 AM
For C or C++ you need to download nothing; if you have VC++ then you already have everything (both installed and configured) on your machine that you need. It is however highly recommended that you use something like GLEW for managing extensions, which can be a little annoying otherwise.

So grab some tutorials and start coding.

I would however recommend that you at least familiarise yourself with the programming language (C or C++) before you start doing anything. OpenGL isn't a programming language, it's a library, and you need to know how to use a programming language first.

For C#, I don't have any experience integrating it with OpenGL so I'll leave that to someone else.

V-man
08-01-2011, 08:21 AM
http://www.opengl.org/wiki/Main_Page
click on "Getting Started" to get an idea of what to do.
but mhagain covered it well.

and in there, you will find http://www.opengl.org/documentation/red_book/

For c#, you can use opentk http://www.opentk.com/
which is some wrapper that some guys have done.

Qiaowen
08-11-2011, 02:04 AM
Hello,mhagain.I do not find anything on my machine as described.There is even no folder"C:\Program Files\Microsoft Visual Studio 9.0\VC\include\GL" exist on my machine.Terrible and horrible!Can anyone just ship me a copy of yours?Please include all the .h,.lib and .dll files.Thanks.
My e-mail:waterharbin@163.com

mhagain
08-11-2011, 03:28 AM
Better that I don't send you the stuff. Aside from it possibly being illegal, copying and pasting DLLs is the wrong way to set things up and will cause you pain and suffering in the future.

The include files for OpenGL should be here: C:\Program Files\Microsoft SDKs\Windows\v6.0A
Or here: C:\Program Files\Microsoft SDKs\Windows\v7.0A

Or - if you have a 64-bit machine - try C:\Program Files (x86)

Visual C++ will be already set up to use .h and .lib files from this path so you don't need to do anything.

Qiaowen
08-13-2011, 03:49 AM
Thank you.I will fix it up.Haha