By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,131 Members | 2,055 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,131 IT Pros & Developers. It's quick & easy.

setting up OpenGL

P: n/a
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

Sep 26 '06 #1
Share this Question
Share on Google+
22 Replies


P: n/a
MC felon wrote:
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.

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Sep 26 '06 #2

P: n/a
MC felon wrote:
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.
cheers!
thanx!
yours,
The felon
Sep 26 '06 #3

P: n/a
"MC felon" <pa******@gmail.comwrote in message
news:11*********************@h48g2000cwc.googlegro ups.com
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
--
John Carson
Sep 26 '06 #4

P: n/a
"benben" <benhonghatgmaildotcom@nospamwrote in message
news:45*********************@news.optusnet.com.au. ..
MC felon wrote:
>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.
You're right, it's not. It's the GL Utility Toolkit.

Regards,
Stu
>cheers!
thanx!
yours,
The felon

Sep 26 '06 #5

P: n/a


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>)

Sep 26 '06 #6

P: n/a
MC felon wrote:
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...

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Sep 26 '06 #7

P: n/a

MC felon wrote:
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>)
Did you try the web forums at openGL.org? Looks well-frequented to me.

Sep 26 '06 #8

P: n/a
MC felon wrote:
>
>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>)
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.

Sep 26 '06 #9

P: n/a

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!

Sep 27 '06 #10

P: n/a
"MC felon" <pa******@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com
>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>)
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.

--
John Carson
Sep 27 '06 #11

P: n/a
MC felon wrote:
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

Sep 27 '06 #12

P: n/a

Divick wrote:
MC felon wrote:
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
yep it does!
i've started full operation in GD.net!
i get 2 replies as a standard everyday!
most obliging people too!

Sep 27 '06 #13

P: n/a
MC felon wrote:
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!)

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Sep 27 '06 #14

P: n/a
"Phlip" <ph******@yahoo.comwrote in message
news:cB****************@newssvr29.news.prodigy.net ...
MC felon wrote:
>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?!"
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
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!)

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!

Sep 27 '06 #15

P: n/a
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.

Sep 28 '06 #16

P: n/a
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..
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!)
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.

Sep 28 '06 #17

P: n/a
"MC felon" <pa******@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
>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..
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!)

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
Sep 28 '06 #18

P: n/a
MC felon wrote:
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.

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Sep 28 '06 #19

P: n/a

MC felon wrote:
I HAVE AS LESS TIME FOR YOU AS YOU HAVE FOR ME.
It does not seem so

Sep 28 '06 #20

P: n/a
i am very sorry sir. But fighting against all the odds, i'm staying up
late at night trying to learn this (rather tough) subject. And i get
biting replies. it's frustrating. any way, i believe an apology
is in order. sorry

Sep 28 '06 #21

P: n/a
MC felon wrote:
i am very sorry sir. But fighting against all the odds, i'm staying up
late at night trying to learn this (rather tough) subject. And i get
biting replies. it's frustrating. any way, i believe an apology
is in order. sorry
By way of accepting your apology, I won't start ragging on programmers
staying up late. Sleep is a good engineering technique!

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Sep 28 '06 #22

P: n/a
i'm sorry sir. i really couldn't bite that back. i'm staying up nights
trying to grasp something before returning to school. And i get
stinging replies. it really is frustrating.
sorry.

Sep 28 '06 #23

This discussion thread is closed

Replies have been disabled for this discussion.