Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
EH!?!?!?!?!?
#1 i hit at full speed, (reminded me of when my aunt drove full speed into that speed bump up near our friend's capbin, i swear that seat belt streched a good foot or so...) i need a graphic library to put ANY images in c++! i have no clue what a graphic library is, only that it could potentially cost me a lot of money and a lot of brain stress trying to make it work. if anybody knows what a graphic library is, plz tell me, and i would really appreciate if it was free. I (foolishly, but hey, a guy can hope, RIGHT?) also wanted to do 3d stuff too... what would i need for that? After that bump i slowed down considerably... then i switched to BB3d, my own, comfortable language i know so well (only to start full speed and run into one of those stupid should-be-working bugs that have no reason to not work) and BAM! #2 i hit going at a medium speed, but the way it hit me, it might as well have been one of those spiky things that keep you from going that one way and blow holes in your tires when you try. all of my BB3d pograms were running CONSIERABLY s l o w e r oh yeah, and for a terrifying moment i thought i lost my rabbit... so... its been one of those up and down days... and my dad just got on the phone so the internet connections lost, so ill copy and past this and go back on when he gets of the phone..
cheers... ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
Brandon![]() Member Posts: 594 From: Kansas City, Mo, USA Registered: 02-02-2004 |
Hiya, I feel ya, I've had those types of days before! For free graphics libs yeah, there are plenty. But I only know of two that I can say are really good ones. There is Irrlicht and OGRE. I'd recommend Irrlicht for ease and power. And OGRE for power and a tough challenge! It uses OOP to an extreme degree. OGRE is better, but Irrlicht is way more simple. Oh, and I'm glad you found yer rabbit
[This message has been edited by brandon (edited August 16, 2005).] |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
thanks! yes im glad i found her to. i kept forgetting i let her out... ( i let her run around a protion of our backyard every once and a while for exercise and plain enjoyment) hm... Irrlichit and OGER eh? assuming their free of course... I was on CW (codersworkshop) and the poeple there reccomended SDL... now, to get MY computer connected to the internet.... or i could just download whatever-the-heck-i-want on THIS computer and transferr it to the OTHER computer. say, bradon, do those work ONLY for 2d images, or can you do 3d stuff too (being a BlitzBasic3d user FIRST, im probably expecting more than i should be. thanks again! PS: when i download these libraries, do they come with... well some sort of insturctions, so i konw how to use them?
kind of text, is their anyway to position it? ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
HanClinto![]() Administrator Posts: 1828 From: Indiana Registered: 10-11-2004 |
SDL is mainly used for 2D stuff (though you can do 3D stuff with OpenGL inside of SDL I think), but Irrlicht and OGRE are mainly for doing 3d things (though I think I saw one 2d game written with Irrlicht). SDL or Allegro are two of the more popular C++ 2D graphics libraries, and if you want 3D, there are many popular ones, and both OGRE and Irrlicht are very popular ones. Respectfully, ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
(getting very excited and beginning to squirm in seat) goodygoodygoodygoody! wait.... are they free? ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
eh?!?! hold up, its says OGER supports visual C++, but im using Dev C++ (and windows, will it sill work?) Just checked out Irrcilit, IM SO EXCITED!!!! ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. [This message has been edited by Realm Master (edited August 16, 2005).] |
||
Brandon![]() Member Posts: 594 From: Kansas City, Mo, USA Registered: 02-02-2004 |
Yep, both OGRE and Irrlicht are totally free. Also, there is a DevCPP pack for Ogre here Hope that helps some ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
Okay brandon, i could use some help! A: tried to get OGRE, for somereason it didn't work and the web page litterally turned into rubbish. B: got Irrlichit, HOWEVER: i know i have to somehow get it so Dev C++ can use the irrlichit.h (pardon the spelling... ) header, and the .dll, but what else? the HTML document only did the Virtual C++ way, I'VE go Dev C++! a little help plz? ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
Brandon![]() Member Posts: 594 From: Kansas City, Mo, USA Registered: 02-02-2004 |
Not sure what the prob. with OGRE could be... For Irrlicht, there is a tutorial for setting up your project here: http://irrlicht.sourceforge.net/tut001b.html Also, it might be good to look over some of the examples that came with it, maybe even modify them some. ------------------ |
||
D-SIPL![]() Moderator Posts: 1345 From: Maesteg, Wales Registered: 07-21-2001 |
quote: I personally think you may be a little over your head. You need to be fairly competant with C++ before you can even begin to look at 3D game engines. Maybe take some time out to learn a slower pace and really get a good grasp of it, before moving on --D-SIPL ------------------ |
||
firemaker103![]() Member Posts: 643 From: Registered: 07-13-2005 |
Make a text adventure like this:
------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
@firemaker: well,your probably gonna need to seed rnd that rand thing... and one of my problems IS getting that irrlichit.h file ot be included, i get an error. printf? i just include the iostream and use cont ! and for all the char's... just include the string file, and use string oh yea, and for that attack or defend (or whatever you called it) use a boolen value, (true or false) like so
and i don't have time to proofread the rest of your code, though it looks like it will definantly work! not@firmaker ( dont work D-SIPL, ill do what ill do and it wont be any of your faults thanks, RM PS: (HOLY SMOKES firemaker, you know C++ AND BB3d (and, apparently are better at both than i am) wow! howlong have you been programming??!?!) ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. [This message has been edited by Realm Master (edited August 17, 2005).] |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
No offense realm master...but I don't think your ready for irrlicht either. Its nothing like blitz 3d and programming games in C++ is a buttload of work. I think you should really take D-SIPLs advice. Check out www.cprogramming.com ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
WHO SAID ANYTHING ABOUT USING IT! I JUST WANTO TO GET TO <b> TO BE ABLE TO BE USED </b>!! yes yes, ill chekc out that link, but you should know i DO have a C++ book... ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
I do not reccommend books. I find most books compeltly useless. Those tutorials are the best you can get. Except for www.gameinstitute.com ------------------ |
||
cwc![]() Member Posts: 121 From: USA Registered: 07-30-2005 |
quote: What the...?!?!? I don't know if I am miss interpreting you or not but did you just say you do not recommend books and they are useless??? Anyways if you want to learn c++ I would get as many books as you can cause books go more into the details of things that you should know as a programmer. One thing that comes to mind is the different ways you could create a memory leak and don't relies it.
Anyways, I recommend BOOKs, get as many as you can cause they all teach you something different. God bless you all!!! [This message has been edited by cwc (edited August 17, 2005).] |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
im getting books, BUT I JUST WANT TO KNOW HOW TO USE THE STUPID GFX LIBRARY! *pant, pant, pant* can ANYONE help?!?!?! ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
firemaker103![]() Member Posts: 643 From: Registered: 07-13-2005 |
@realm_master About 6 and a half months. ------------------ |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
When I said I do not recommend books..I meant programming books. lol. I should have written that better. ------------------ |
||
firemaker103![]() Member Posts: 643 From: Registered: 07-13-2005 |
@realm the program works without your fixes, don't worry. alos notice that you won't get out until you do anything 50 times. ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
you make me very jealous firemaker... hopefully ill get over it, ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
CoolJ![]() Member Posts: 354 From: ny Registered: 07-11-2004 |
quote: ok! it compiled and ran for me. anyone knows why after copying and pasting I have to manually add return after every statement? everything comes out as 1 line in visual studio. btw, I made it out of the cave in 50 moves!!! pretty good eyh? |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
this is really nice and all, but i still have that Currently Useless Irrichilit gfx engine i REALLY WANT TO USE IT BUT AS OF YET NOBODY HAS BEEN ANY HELP!!!!!! CAN I PLZ LEARN HOW TO USE IT!?!?!?!?!? Or WAS it? plz, HELP! ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
Brandon![]() Member Posts: 594 From: Kansas City, Mo, USA Registered: 02-02-2004 |
I think the others have a point dude. Maybe you should try something a little simpler first. Then move on to a graphics engine. If you want to testdrive the engine then look in the "examples" folder, and there are some sample projects there. You don't need to compile them because there are the exe's in the "bin\Win32-VisualStudio" directory. Just click em' But if you insist, this tutorial should help you out as far as setting up your projects. ------------------ |
||
D-SIPL![]() Moderator Posts: 1345 From: Maesteg, Wales Registered: 07-21-2001 |
quote: If you can't even compile it, then seriously (you can ignore this advice To be honest i'm not a huge fan of books, they are good for the basics, but i like to then pick a project that interests me, and just learn how to write it. For instance, when I was learning Python, I was really interested in making a console based IRC client. Within a week I had one written. If i had stuck to books, I would have probably just been touching the surface of GUI stuff, instead i was dong socket stuff and writing interfaces in ncurses. The hands on imperative works best for me. Here's a quote from Eric Raymond, one of my top hackers.
quote: No flaming please, just my 2 cents --D-SIPL ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
A: books wasn't my first choice, my first choice was a class at a jr. colledge, but for some incredibly stupid reason (if i havn't already mentioned...?) if i get to many credits or whatever in my highschool, then i get kicked out, booted out, watever. adn just winging it, well, it would HELP if i knew all of the functions in all of the include files. for instance, BB3d has a very well documented Command Refference. Dev C++, as far a i know, has none, so i gotta learn what everything means SOMEHOW! B: ....wait, holdon, i forgot what 'B' was... i have to go ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
Nomad Member Posts: 63 From: Registered: 06-29-2004 |
Realm: If you really want easy graphics, go to www.libsdl.org. They have lots of tutorials, very complete reference, all that. And, no, Dev-C++ is not like Blitz in that it has tons of built-in commands. For C/C++/C# commands, you need libraries. Like the Standard Template Library, say. Sites like www.cplusplus.com have a basic listing, and for most rudimentary stuff Dev-C++ does have something in its help files. [This message has been edited by Nomad (edited August 18, 2005).] |
||
cwc![]() Member Posts: 121 From: USA Registered: 07-30-2005 |
As I site here and read all about this graphic stuff, I think I might try and build my own 2d graphic lib with c++ and the win32 api. I think I could make my own 2d graphic lib but I don't think I have the math skills just yet to build my own 3d graphic lib, so 2D it is!!!! Anyways Realm Master. Did you try this God bless you all. |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
what? ![]() sorry bradon, i guess i accidentally skipped your post! REALLY sorry! thanks, now at least it will be GOOD for SOMETHING... depending on if i EVER get good enought to use it. (Spent 2 days trying to get a class function to work, and it wasn't because i was doing
instead of
... course, that was nothing compared to the time in BB when i didn't even know how to MAKE a function.. that lasted a whole week (not including Sat. and Sun.)) thanks, and sorry again that i didn't see that bradon. ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
You dont have to know too mucuh C++ to use irrlicht. Just the basics ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
EH!!!!!!????!?!?! NOW WHAT DID I DO WRONG! in the tut, it said to add these librarys, but however, the irr engine i hAve DOSNT HAVE A WAAA!! WHY DOES oops, caps lock was on... why does this always seem to hapen to me??? i only found 1 version to download, so i downloaded that... what is the most recent, and where can i get it. i do belive mine is irrichilit 0.11 or something like that... apwe8q-987fusiafpaewoir7u2085werpouqf98532yqwe!! (yes, that was intentional) ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
The dev-C++ folder is not in the irrlicht folder. It is in the dev-C++ folder in your program files ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
soo.... then what to i... eh??? ill look at that tut again... ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
For release 0.3, we can find the files we need in "irrlicht-0.3\lib\DevCpp. There are three files of interest:
libjpeg.a -- the Independant JPEG group library libz.a -- the zlib compression library
agophae... just when i thought it was safe to relax.... (dun- dunt... dun- dunt.. dun-dunt, dun-dunt, DUN-DUNT, DUN-DUNT) DUN DUN DUHHH!!! ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Why the heck did you download irrlicht release .3? download .11 ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
.11, thats what i have! the tut is for verson .3 thou... so my irrchilit dosn't have the DevCpp lib folder. ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
There should be one in the dev-C++ folder ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
...so... ah phohey! ill figure it out myself! ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
I'm sorry but I dont use Dev-C++ ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
not too surprised... not many do, despite the fact that its free... i mean, not many people i know... ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Actully alot of people use Dev-C++. And so did I. But, I then purchased a copy of C++ Builder. And I like that more ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
ookay, probelm! what do i need to include to use irrichilit? can i get some help with this last part (im really sorry im so drn helpless, but i hope (and am praying) that i will learn and will acutally be able to help other people, instead of vise versa. ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Well, I can try to help you. But not here. Either PM me, or you can instant messenge me on AIM at h00cdawnfawncs. I'm on most of the time so yeah. Or you could e mail me at reaganmeister@gmail.com In Christ ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
Reagan? Sure, i will. (AIM? Aol Instant Messenger? don't got one of those...) ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Alright well just e mail me or somethign and we'll get something worked out. Later ------------------ |
||
cwc![]() Member Posts: 121 From: USA Registered: 07-30-2005 |
Realm Master, I have never used that graphic lib but I do use DEV-CPP, I just downloaded the graphic lib and I got it working in 5 min. Anyways, If you still need help with it let me know and I will tell you here what you have to do to get it to work with DEV-CPP. Its pretty simple really. This is where you need to know the basics of programming and you will only learn that through some good BOOKs or a teacher. Anyways just let me know if you still need help and I will be glad to tell you how to do it. Also Realm Master, Get ICQ messenger from God Bless you ALL [This message has been edited by cwc (edited August 19, 2005).] |
||
cwc![]() Member Posts: 121 From: USA Registered: 07-30-2005 |
Realm Master, I have never used that graphic lib but I do use DEV-CPP, I just downloaded the graphic lib and I got it working in 5 min. Anyways, If you still need help with it let me know and I will tell you here what you have to do to get it to work with DEV-CPP. Its pretty simple really. This is where you need to know the basics of programming and you will only learn that through some good BOOKs or a teacher. Anyways just let me know if you still need help and I will be glad to tell you how to do it. Also Realm Master, Get ICQ messenger from God Bless you ALL [This message has been edited by cwc (edited August 19, 2005).] |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Oh really? Hey CWC maybe we can talk to? ------------------ |
||
cwc![]() Member Posts: 121 From: USA Registered: 07-30-2005 |
quote: Sure, no problem. |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
And we are talking now... ------------------ |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
quote: sure, i could still use some help! plz! ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
cwc![]() Member Posts: 121 From: USA Registered: 07-30-2005 |
Ok Realm Master, did you get ICQ at http://www.ICQ.com by chance? If so whats your number or id so I can add you. it would be best that I explain this to you over messenger so I don't have to write a whole tutorial. But to cut it short you can use the tuttorial that brandon gave you, you just have to change a few things. One thing to cut out is libjpeg.a -- the Independant JPEG group library you do not need them, all you need is this file is located at somewhere\irrlicht-0.11.0\irrlicht-0.11.0\lib\Win32-gcc
Add the "irrlicht-0.11.0\irrlicht-0.11.0\bin" directory from Step 1 to your PATH. or Also add the somewhere\irrlicht-0.11.0\irrlicht-0.11.0\include to the directory as the tutorial shows you. or do this
Hope this helps, if you have question ask. Also note I am using Dev-Cpp 5 beta |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
quote: no i didn't what is my PATH? step 1 didn't mention aything about the bin directory... can you elaborate? ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
cwc![]() Member Posts: 121 From: USA Registered: 07-30-2005 |
quote: Your Path is where your compiler looks for files, by defualt it will look into your windows/system32 folder. But you can also set your path variable. To set your path variable, it depends on what windows os you are running. Microsoft Windows NT, 2000, and XP
Get ICQ, It will allow me to be able to help you better. And we can go through this step by step. God bless [This message has been edited by cwc (edited August 19, 2005).] |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
yes, step by step as i run upstairs and back down switching my computers from the one with internet connection to the one with C++ on it... ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
cwc![]() Member Posts: 121 From: USA Registered: 07-30-2005 |
quote: Do you have MSN messenger then??? |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
i have no internet connetction upstairs... how do I get the ICU or IQU or whatever it is? its better than nothing ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
cwc![]() Member Posts: 121 From: USA Registered: 07-30-2005 |
i have no internet connetction upstairs... how do I get the ICU or IQU or whatever it is? its better than nothing
[This message has been edited by cwc (edited August 20, 2005).] |
||
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
waht? it wasn;t a smart remark, i just forgot! i didnt' mean to inslult you! sorry! ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |
||
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Realm...why didnt you e mail me? I could help you out.. ------------------ |
||
cwc![]() Member Posts: 121 From: USA Registered: 07-30-2005 |
You did not insult me, I just took it as, you where not being serious. Well, if you and en do not figure it out, just let me know, but before you let me know get ICQ so I can help you so I don't have to write a tutorial myself. Anyways, everything you need to do is here in this forum and the tutorial that brandon gave us.God bless |