Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


quick simple OpenGL question...


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
8 replies to this topic

#1 dirkduck   Members   -  Reputation: 122

Like
Likes
Like

Posted 25 June 2001 - 11:58 AM

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.

Sponsor:

#2 Vetinari   Members   -  Reputation: 133

Like
Likes
Like

Posted 25 June 2001 - 12:04 PM

Most people go to nehe''s site.

nehe.gamedev.net



Mike

#3 merlin9x9   Members   -  Reputation: 174

Like
Likes
Like

Posted 25 June 2001 - 12:17 PM

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.


#4 dirkduck   Members   -  Reputation: 122

Like
Likes
Like

Posted 25 June 2001 - 02:59 PM

well, thanks for the help everyone, but what exactly is MFC? thanks

#5 Null and Void   Moderators   -  Reputation: 1087

Like
Likes
Like

Posted 25 June 2001 - 03:21 PM

MFC is Microsoft''s poorly made OO wrapper for the Win32 API. Don''t use it for games. See winprog.org for some Win32 tutorials. It doesn''t cover everything, but it''ll get you started.

You can also use SDL (as a more game oriented alternative to GLUT) to do the platform specific Window setup and stuff.

[Resist Windows XP''s Invasive Production Activation Technology!]

#6 ironfroggy   Members   -  Reputation: 122

Like
Likes
Like

Posted 25 June 2001 - 03:24 PM

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.



#7 kharris   Members   -  Reputation: 122

Like
Likes
Like

Posted 28 June 2001 - 04:47 AM

A good Win32 tutorial can be found at http://www.winprog.org

#8 Krippy2k   Members   -  Reputation: 134

Like
Likes
Like

Posted 28 June 2001 - 05:45 AM

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.

#9 mnok   Members   -  Reputation: 122

Like
Likes
Like

Posted 29 June 2001 - 09:40 PM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS