setting up OpenGL

M

MC felon

hello.
i have a Dev c++ compiler (version 4.0). i wish to start on openGL. How
do i enable openGL programming in Dev c++? what exactly do i download?
assume me to be a complete fresher and please direct me step-by-step on
how to have a standard openGL setup on Dev c++.

P.S- i do have GLUT, but i reckon it's only part of openGL.
cheers!
thanx!
yours,
The felon
 
P

Phlip

MC said:
i have a Dev c++ compiler (version 4.0). i wish to start on openGL. How
do i enable openGL programming in Dev c++? what exactly do i download?

You will get the best answer on a forum devoted to DevC++. This one is only
qualified to answer questions about portable C++ usage. Things like "what's
std::string do?".

Fewer people here will be able to review any answer you get. The DevC++
mailing list will know much more.
 
B

benben

MC said:
hello.
i have a Dev c++ compiler (version 4.0). i wish to start on openGL. How
do i enable openGL programming in Dev c++? what exactly do i download?
assume me to be a complete fresher and please direct me step-by-step on
how to have a standard openGL setup on Dev c++.

In the traditional C++ compilation model, in order to use certain
library, you need to #include the header files to compile, and link to
certain static libraries to produce an executable.

Of course step by step set up can be easily found by googling subject.
P.S- i do have GLUT, but i reckon it's only part of openGL.

To my best knowledge glut is not part of OpenGL, but this is off topic here.
 
J

John Carson

MC felon said:
hello.
i have a Dev c++ compiler (version 4.0). i wish to start on openGL.
How do i enable openGL programming in Dev c++? what exactly do i
download? assume me to be a complete fresher and please direct me
step-by-step on how to have a standard openGL setup on Dev c++.

P.S- i do have GLUT, but i reckon it's only part of openGL.
cheers!
thanx!
yours,
The felon

Try

comp.graphics.api.opengl
 
S

Stuart Golodetz

benben said:
In the traditional C++ compilation model, in order to use certain library,
you need to #include the header files to compile, and link to certain
static libraries to produce an executable.

Of course step by step set up can be easily found by googling subject.


To my best knowledge glut is not part of OpenGL, but this is off topic
here.

You're right, it's not. It's the GL Utility Toolkit.

Regards,
Stu
 
M

MC felon

You will get the best answer on a forum devoted to DevC++. This one is only
qualified to answer questions about portable C++ usage. Things like "what's
std::string do?".

yes, but all those groups are low activity..
i've posted many messages everywhere (even in comp.graphics.api.opengl
or whatever)
and have recieved 0 answers.
its been 5 or 6 days... (<sigh>)
 
P

Phlip

MC said:
yes, but all those groups are low activity..

That's like saying, "yes, but I like to annoy as many people as possible."
i've posted many messages everywhere (even in comp.graphics.api.opengl
or whatever)

You are asking, "Hold my hand, and teach me everything." Asking just "how to
set up OpenGL" is an open-ended question, and nobody wants to get involved
with answering every detail. You should read a tutorial, try a little
experiment, (probably get Mesa3d for DevC++), and get stuck. Then ask a
specific question about where you got stuck. Someone will answer, with less
burden to think they must tell you everything.

Also try Ogre3d, for a good wrapper on raw OpenGL. It's more like a driver
layer...
 
S

shadowman615

MC said:
yes, but all those groups are low activity..
i've posted many messages everywhere (even in comp.graphics.api.opengl
or whatever)
and have recieved 0 answers.
its been 5 or 6 days... (<sigh>)

Did you try the web forums at openGL.org? Looks well-frequented to me.
 
R

red floyd

MC said:
yes, but all those groups are low activity..
i've posted many messages everywhere (even in comp.graphics.api.opengl
or whatever)
and have recieved 0 answers.
its been 5 or 6 days... (<sigh>)

I went to the butcher shop to ask about planting tomatoes, and they told
me to go to the garden store. I went there, and I was ignored, so I
went back to the butcher shop, because they should know.

Same argument.
 
M

MC felon

I went to the butcher shop to ask about planting tomatoes, and they told
me to go to the garden store. I went there, and I was ignored, so I
went back to the butcher shop, because they should know.

Same argument.
hey!
that's just my position...
i suppose everybody gives freshers and newbies a hard time..
but i know u like me! ha! ha!
 
J

John Carson

MC felon said:
yes, but all those groups are low activity..
i've posted many messages everywhere (even in comp.graphics.api.opengl
or whatever)
and have recieved 0 answers.
its been 5 or 6 days... (<sigh>)

You posted in comp.graphics.api.opengl yesterday (subject to the usual
margin of error due to different time zones). You won't be any good at
computer graphics if you can't count.
 
D

Divick

MC said:
yes, but all those groups are low activity..
i've posted many messages everywhere (even in comp.graphics.api.opengl
or whatever)
and have recieved 0 answers.
its been 5 or 6 days... (<sigh>)
I would suggest that you post your messages not to usenet newsgroups
but forums specifically dedicated for game programming / OpenGL / like
Gamedev.net , flipcode.com, http://www.devmaster.net/ etc.

Hope that helps,
Divick
 
M

MC felon

Divick said:
I would suggest that you post your messages not to usenet newsgroups
but forums specifically dedicated for game programming / OpenGL / like
Gamedev.net , flipcode.com, http://www.devmaster.net/ etc.

Hope that helps,
Divick
yep it does!
i've started full operation in GD.net!
i get 2 replies as a standard everyday!
most obliging people too!
 
P

Phlip

MC said:
i've started full operation in GD.net!
i get 2 replies as a standard everyday!
most obliging people too!

Another problem here: Game programmers are not noted for their indulgence of
complete newbs. They are familiar with hearing hundreds of kids yapping, "I
wanna write games! How can I write games?! I just thought of a kick-ass
idea! How do I break into the industry?!"

The advise to these guys is to get a game with published level editor, so
you can write scenarios within their game engine. That's much more
productive than the trillions of operations required to beat a full game out
of raw OpenGL!

(BTW you might try CygWin -> Mesa3d. It will come with the CygWin installer,
and will have a sample program, probably the Gears one!)
 
S

Stuart Golodetz

Phlip said:
Another problem here: Game programmers are not noted for their indulgence
of complete newbs. They are familiar with hearing hundreds of kids
yapping, "I wanna write games! How can I write games?! I just thought of a
kick-ass idea! How do I break into the industry?!"

Having said that, some games programmers can be surprisingly helpful. I
remember emailing Mike Abrash at one point when I was trying to understand
how potentially-visible sets were built for Quake and he took the time and
trouble to explain it to me.

I get the impression that it's not that games programmers are unwilling to
answer specific questions, it's just that generic questions like "How do I
write a game?" get old rather quickly. These things tend to have been
answered hundreds of times already. I think if you ask the right sort of
question you're much more likely to get an answer.

Regards,
Stu
 
M

MC felon

thanks. i have successfully set up opengl in my computer and have begun
operations. i am (even right now) reading the redbook and another
600-page book on opengl. i think i'm a fast learner and i hope to learn
the immediate basics atleast before school begins....
as for..
Another problem here: Game programmers are not noted for their indulgence of
complete newbs. They are familiar with hearing hundreds of kids yapping, "I
wanna write games! How can I write games?! I just thought of a kick-ass
idea! How do I break into the industry?!"
The advise to these guys is to get a game with published level editor, so
you can write scenarios within their game engine. That's much more
productive than the trillions of operations required to beat a full game out
of raw OpenGL!

if you're thinkin' me to be a complete new-2-comp's-world boy, you're
dead wrong. i've worked on Game Maker 6.0 and i've been in this game
for quite a long time (eversince i was 5 yrs old. i'm now 15). i been
here when doom 1 was out, doom 2 was out and quake 1. i completely
understand that i want to learn graphics programming and move on to
game logic,.. but if you're just another ****** on the net (as we know,
the net is filled with all kinds of friekazoids), i have as less time
as you have for me.
 
M

MC felon

Having said that, some games programmers can be surprisingly helpful. I
remember emailing Mike Abrash at one point when I was trying to understand
how potentially-visible sets were built for Quake and he took the time and
trouble to explain it to me.

I get the impression that it's not that games programmers are unwilling to
answer specific questions, it's just that generic questions like "How do I
write a game?" get old rather quickly. These things tend to have been
answered hundreds of times already. I think if you ask the right sort of
question you're much more likely to get an answer.

Regards,
Stu
thanks a lot. i'll try not to ask such ambiguous questions again. any
way,
i'm right now reading the red book and i have a couple or more e-books
and i hope to finish a little bit at least by the time my school
starts.

as for..
wise guy, i'd like to remind you that i 'aint no fresher to this game.
i been here for ten years (ever since i was 5 yrs old). i was here when
ID came out with doom1, doom2 and quake1. i been workin' on GAMEMAKER
6.0 till i was 14. i started programming soon enough, and i been
learning pretty fast. if you know-it-all-too-smart-to-answer
******s on da net wanna be smart on us freshers to OpenGL, have it your
way.
I HAVE AS LESS TIME FOR YOU AS YOU HAVE FOR ME.
 
S

Stuart Golodetz

MC felon said:
thanks a lot. i'll try not to ask such ambiguous questions again. any
way,
i'm right now reading the red book and i have a couple or more e-books
and i hope to finish a little bit at least by the time my school
starts.

as for..

wise guy, i'd like to remind you that i 'aint no fresher to this game.
i been here for ten years (ever since i was 5 yrs old). i was here when
ID came out with doom1, doom2 and quake1. i been workin' on GAMEMAKER
6.0 till i was 14. i started programming soon enough, and i been
learning pretty fast. if you know-it-all-too-smart-to-answer
******s on da net wanna be smart on us freshers to OpenGL, have it your
way.
I HAVE AS LESS TIME FOR YOU AS YOU HAVE FOR ME.

Can I give you a few of pieces of advice without you taking it the wrong
way?

Firstly, when you're replying to posts, it's best to reply to the actual
post you're criticising, rather than a reply to it. It took me a moment to
realise that your comments weren't directed at me...that's often just long
enough for someone to write a stinging retort.

Secondly, as someone who's been where you are now, who's been 15 and overly
sure of himself, please learn to cool it a bit. People who post here are
spending their own time trying to help. Sometimes you won't like their
advice; sometimes you'll take offence. It happens. But to take it personally
is silly - they don't know you, it's nothing personal! Whatever they write
can only be in response to what you yourself wrote. If they insinuate that
you come across as a newbie, it's because that's what your original post
conveyed to them. If you don't like that, you have to change what you write
so as not to convey that impression in the future.

Thirdly, ego aside, think about where you really stand in comparison to
programmers in the industry. They've maybe got several (possibly many)
published games under their belt, they write code five days a week and,
above all, they have experience that it has so far been impossible for you
to acquire because you're 15. I've been doing this for longer than you, but
compared to these people I am a comparative newbie. That leaves you in the
same boat. There's no shame in that - admitting it is the first step on the
ladder of learning. If you want to learn effectively, it's important to
treat the people who can teach you with respect.

I hope this helps a little. I'm genuinely trying to help you here, not
belittle or insult you. Your enthusiasm is laudable but you need to behave
in a mature manner if you want people to talk to you respectfully. One of
the biggest parts of growing up is realising that people treat you as they
see you, not as you are. Make sure they see you in a good light :)

Kind regards,
Stu
 
P

Phlip

MC said:
wise guy, i'd like to remind you that i 'aint no fresher to this game.

Well, I pointed out how your post, without your resume there, might not
appeal to CGI programmers who read similar posts all the time from people
with less experience. So you snipped my premise, then took offense at my
simulation of their conclusion.

Like Stuart said, learn to post respectfully, and you will get better
responses than threads that devolve into your flames.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,119
Latest member
IrmaNorcro
Top