Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,396 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,122 people online right now. Registration is fast and FREE... Join Now!




Intro to OpenGL

 
Reply to this topicStart new topic

Intro to OpenGL, I just need some basic advice.

Unbeliever
27 Sep, 2006 - 05:10 AM
Post #1

New D.I.C Head
*

Joined: 27 Sep, 2006
Posts: 9


My Contributions
I can program pretty well in non-graphic-using C++, with simple text-based games like NIM (pick up the sticks, get the last one and you win), where I programmed it so that if you screw up even once you are guaranteed to lose, but when it comes to graphics I am a total freakin noob. My book on OpenGL, which is the graphics library I plan to use in my games (I am a game programmer, not an app programmer) is really old and outdated. It also uses GLUT, which I can't get because my Internet connection is screwy. withstupid.gif I have tried for several months to get it to work without using glutWireCube() and the like, but it's not working. I have some questions to ask you guys.

1.) Do you have to create a window by using the code for Win32 API before you can put OpenGL in the window, or does using OpenGL code automatically create the window?

2.) Can you render shapes in OpenGL without using GLUT functions? If so, can you give me an example of how to do it?

3.) Is there any general advice people can give me on OpenGL programming? Specifically billboarding.

Thanks.
User is offlineProfile CardPM
+Quote Post

Nova Dragoon
RE: Intro To OpenGL
27 Sep, 2006 - 08:30 AM
Post #2

The Innocent Shall Suffer, Big Time
Group Icon

Joined: 16 Aug, 2001
Posts: 6,132



Thanked: 7 times
Dream Kudos: 515
Expert In: Python, Linux

My Contributions
Have you read the OpenGL Redbook

Its got some good stuff in there,
User is offlineProfile CardPM
+Quote Post

Unbeliever
RE: Intro To OpenGL
29 Sep, 2006 - 04:30 AM
Post #3

New D.I.C Head
*

Joined: 27 Sep, 2006
Posts: 9


My Contributions
Thanks Dragoon. But the Redbook is what I already have and it doesn't seem to work. At least not with Bloodshed Dev-C++ 4.9.8.0. withstupid.gif Thanks anyway. I just got a new editor/compiler so it might work now, but is there any way to not use GLUT in creating 3D shapes?

Whoa, this place has a lot of people posting on here, huh? Most programming sites I go to are 95% dead. ph34r.gif
User is offlineProfile CardPM
+Quote Post

burnsie
RE: Intro To OpenGL
29 Sep, 2006 - 04:53 AM
Post #4

New D.I.C Head
*

Joined: 28 Sep, 2006
Posts: 46


My Contributions
QUOTE(Unbeliever @ 29 Sep, 2006 - 05:30 AM) *



Whoa, this place has a lot of people posting on here, huh? Most programming sites I go to are 95% dead. ph34r.gif


I agree. If you look at the top and to the right of the banner near searach. Very impressive
Members: 14,849
Posts: 176,138
Online Now: 940

Sorry I'm a Uber noob with OpenGL, need to research it more.

This post has been edited by burnsie: 29 Sep, 2006 - 04:54 AM
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/5/08 02:56AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month