Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Beginner Needs OpenGL Help


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
4 replies to this topic

#1 SteelBlue   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 August 2001 - 12:35 PM

Hey, here is the deal. I just began tring out this OpenGL thing and i thinks its pretty sweet. The problem is i have no idea how to begin a opengl program. I have read a bunch of tutorials and even downloaded some samples but i still don''t know how to setup my own program. I''m using Visual C++ 6.0 and i opened a MFC AppWizard(exe), choose "single document", database support "none", i chose MFC Standard as my project type, and ''As a shared DLL. It then generated some code and then i went to "Project - Settings" and choose the LINK Tab. Under "Object\Library Modules" i typed in opengl32.lib glu32.lib glaux.lib and then hit ok. A lot of code got generated but i don''t know what to do next. when i compile i got a blank white "Untitle - MFC myprogramname" window. What do i do next to start drawing stuff in this window? Where is the Int Main of the program.? I need some help here. Also, if I know nothing about opengl what book do you recommend?

Sponsor:

#2 mittens   Moderators   -  Reputation: 1315

Like
Likes
Like

Posted 17 August 2001 - 03:58 PM

Create a win32 applicatoin for your project. I''d recommend just opening one of NeHe''s workspaces and messing around with it a bit though (http://nehe.gamedev.net).

------------------------------
Trent (ShiningKnight)
E-mail me
Shining Darkness- A division of Chromesphere Studios

#3 Lurking   Members   -  Reputation: 126

Like
Likes
Like

Posted 19 August 2001 - 02:05 PM

best thing is to go to the book store and pick up the "OpenGL Game Programming" book!

#4 Galileo430   Members   -  Reputation: 122

Like
Likes
Like

Posted 20 August 2001 - 11:16 AM

First, OpenGL in MFC is a pain to setup.. Everything has to be just right for it to work. I would stick to Win32 for now.

Second, Win32 is a pain when you first start looking at it. However you never have to touch it one you get OpenGL started. NEHE''s tutorial one is a great way to cut through this "Hard" time in your life.

Third, Don''t try to program Doom 3 right off the bat. OpenGL is a shinny hammer and just cause you have it does not mean you should go around hitting everything with it.

#5 Drizzt DoUrden   Members   -  Reputation: 100

Like
Likes
Like

Posted 20 August 2001 - 11:28 AM

Ok. First thing, you dont use MFC APP wizard you use win32 stationary, or whatever the VC++ 6 compiler uses, it will sday win32. Then, if you really want some good tutorials, www.winprog.org. The first 3 tutorials are the ones you should read. Notice I said read? You cant skim you have to read, word for word, and then type the code they tell you. Then, go to NeHe''s tutorial.

"I''''ve sparred with creatures from the nine hells themselves... I barely plan on breaking a sweat here, today."~Drizzt Do''''Urden




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