473,385 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

setting up OpenGL

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
22 2735
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
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
"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
"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


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

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

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

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

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

Sep 28 '06 #20
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Rick Muller | last post by:
I have a problem that I would like to get some advice on from other Pythonistas. I currently manage a (soon to be) open source project for displaying molecular graphics for a variety of different...
15
by: oracle411 | last post by:
Hi I'm new to OpenGL, but have an OpenGL application written in CPP that I would like to display on a web browser. Was wondering how this could be done? Thank you very much
3
by: john townsley | last post by:
Hi I want to do some OpenGl stuff with c++ on a winXP (home) machine. I have Borland c++ 5, MVS c++ 5 What C++ do you recommend (any others?)and where do you get the OpenGL stuff. thanks
10
by: Bad_Kid | last post by:
which is better for what?
13
by: Brett Baisley | last post by:
At school, we do all of our coding in emacs, but I am trying to get the example apps working at home using Visual C++.net. In the example, there are 4 .cpp files (canvas.cpp, main.cpp,...
4
by: tobfon | last post by:
I'm creating a scientific visualization application with rather high demands on performance. I've created a nice rendering engine for it in C++/OpenGL and a python interface to the rendering...
3
by: jg.campbell.ng | last post by:
I'm beginning learning Python and OpenGL in Python. Python fine. But difficulties with OpenGL; presumably with the installation of OpenGL. OS = Linux FC5. Python program gl_test.py: from...
9
by: Achim Domma | last post by:
Hi, I'm developing a GUI app in Python/C++ to visualize numerical results. Currently I'm using Python 2.4 with wx and PyOpenGLContext, but there are no windows binaries for Python 2.5 for quite...
3
by: Leon | last post by:
Hey, i am trying to develop a game, and I am using OpenGL and pthread. (on Ubuntu, so i also use the X library.) Now i have a problem. I have initialized OpenGL in the main thread, and i want to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.