Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

dirkduck

OpenGL quick simple OpenGL question...

This topic is 6204 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well, im pretty new to C++ in general, and im learning quite a bit. IN the future, I plan to get into OpenGL, instead of DirectX. So, since now I only can do console C++ programming, OpenGL doesn''t work in console mode does it? I know GLUT does, but not OpenGL right? If so, where can I find some tutorials about basic Windows based programming? thanks a bunch.

Share this post


Link to post
Share on other sites
Advertisement
Don''t forget that "DirectX" refers to all of the Direct* APIs: DirectDraw, Direct3D, DirectSound, etc. Sorry to be so nitpicky, but sometimes this causes some serious confusion.

You probably already know this, but GLUT is a framework to make an OpenGL app without worrying about platform-specific issues such as window creation and input. That''s all it does. To do any drawing, you use OpenGL commands.

A console app can use OpenGL. If you use GLUT, you''re technically creating a console app. This is because GLUT does all of the window stuff itself, so making your GLUT app a windowed app might conflict with its use. Console apps can''t draw graphics in the console itself, so they create a separate window. Of course, you don''t need GLUT to create a window and all of that, but it''s lots easier. =)

So...tutorials on basic Windows programming, eh? Well, unfortunately, there isn''t lots of good info out there on that sort of thing anymore; I assume you''re talking about using the raw Win32 API as most game programmers do, as opposed to MFC. Most stuff out there in on MFC. There''s one site on the net with a few tutorials, but I forget the address. Check around in these forums for the link. But you won''t get very far with that, and there''s not much else, so you''ll just have to spend some time with it.

Share this post


Link to post
Share on other sites
Once upon a time, Satan wanted to program something and see what this computer hype was about. When he was finished, he called it MFC and released it to the world under his human-alias, Bill Gates.

MFC makes windows programming easier by adding an extra layer over the real API but it gives you less control and isnt as flexable. Basically, for games its not an option.

Share this post


Link to post
Share on other sites
Well it depends on the type of game. You are not going to make Quake 4 using MFC but you could certainly make a cool boardgame or turn-based strategy game using MFC.

Share this post


Link to post
Share on other sites
hey check my website and try my first two opengl tutorials.
they are both about using the WinAPI, the first one is VERY basic. I will make others pretty soon too if some people out there actually think they are worth it =)



www.gamedeveloper.f2s.com

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!