|
DeleD Community Edition Forums
|
View previous topic :: View next topic |
Author |
Message |
adr Member
Joined: 23 Jul 2005 Posts: 165
|
Posted: Fri Sep 02, 2005 3:19 am Post subject: how to make your own 3d game engine |
|
|
Hi. I want to make a 3d game engine for Delgine, will kinda. I dont know how really^^; and want to know kinda how. I dont know what to look up or what to learn. Yes I have try looking up "how to make your own 3d game engine" but I didnt really finde anything. I am 15 soo i'm not no smart person XD but I kinda like to learn. I am poor too, lol, soo I kinda need free information or way of doing this. Thanks if you can help and I would share this if I can get it to work any. |
|
Back to top |
|
|
Daaark DeleD PRO user
Joined: 01 Sep 2004 Posts: 2696 Location: Ottawa, Canada
|
Posted: Fri Sep 02, 2005 3:21 am Post subject: |
|
|
What programming language do you know? |
|
Back to top |
|
|
trucker2000 DeleD PRO user
Joined: 11 May 2005 Posts: 1839 Location: Sacramento, California
|
Posted: Fri Sep 02, 2005 9:21 am Post subject: |
|
|
You'll need to learn a lot of stuff before making a game engine.
You will need the following components:
Graphics engine
Sound API
Physics engine
AI lib
Networking lib (if you want multiplayer)
and probably severall other thing I can't think of at 2am. _________________ Some day I will grow up and be a real modeler.
"Never give up! Never surrender!!"
Sys specs:
asus
8 gigs ram
Invidia gtx560 video card
Windows 8 (worst op sys Ever) |
|
Back to top |
|
|
Daaark DeleD PRO user
Joined: 01 Sep 2004 Posts: 2696 Location: Ottawa, Canada
|
Posted: Fri Sep 02, 2005 11:01 am Post subject: |
|
|
trucker2000 wrote: |
You'll need to learn a lot of stuff before making a game engine.
You will need the following components:
Graphics engine
Sound API
Physics engine
AI lib
Networking lib (if you want multiplayer)
and probably severall other thing I can't think of at 2am. |
You don't need a physics engine or a networking library.
The most important thing is programming knowledge. Learn to use your language of choice. If you are a new guy, look at c++ or c#. Both have good free compilers from microsoft. Then, when you know how to program well in your langauge, (amd only then) should you attempt to code a 3d engine.
Any reading you can do about 3d graphics will be a big help. |
|
Back to top |
|
|
adr Member
Joined: 23 Jul 2005 Posts: 165
|
Posted: Fri Sep 02, 2005 11:01 am Post subject: |
|
|
Ok, I am learning c++ <will trying too> and for trucker2000 is Delgine a graphics engine?
I'll look up the other things, but when I get all this stuff how would you put it all togather? I'm sorry^^; I am kinda new to this, and all the other engines I saw cost more then I have. I just don't see any "free" engines out there . So, i'll make my own and share it, lol. |
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Fri Sep 02, 2005 11:08 am Post subject: |
|
|
Delgine is no Graphics Engine, it's only the name of the Team, as I understood it. DeleD is a mapping program to make your maps.
There are numerous free engines out there. Take a look at Irrlicht, for example. _________________ Behold! The DeleD Wiki! Please help us expanding it
DeleD on IRC |
|
Back to top |
|
|
Daaark DeleD PRO user
Joined: 01 Sep 2004 Posts: 2696 Location: Ottawa, Canada
|
Posted: Fri Sep 02, 2005 11:12 am Post subject: |
|
|
Mr.Fletcher wrote: |
Delgine is no Graphics Engine, it's only the name of the Team, as I understood it. DeleD is a mapping program to make your maps.
There are numerous free engines out there. Take a look at Irrlicht, for example. |
While Irr is a good free engine, you won't do anything with it if you can't program. What are you using to learn C++? What have you done up to this point? I can recommend some free resources. |
|
Back to top |
|
|
adr Member
Joined: 23 Jul 2005 Posts: 165
|
Posted: Fri Sep 02, 2005 11:16 am Post subject: |
|
|
Hmmm, for c++ I have used a little for my 2d games. I have been just looking around here and there looking at the C++ things, getting how it works and what it does. If you can that would help very much. I also when to this site http://www.extremetech.com/article2/0,3973,594,00.asp and read most of it fo help and I got most of it. |
|
Back to top |
|
|
Daaark DeleD PRO user
Joined: 01 Sep 2004 Posts: 2696 Location: Ottawa, Canada
|
Posted: Fri Sep 02, 2005 11:24 am Post subject: |
|
|
The first THINKING IN C++ was put up for free on the web. I suggest you read it all. It helped me go from C to C++ when I was having trouble understanding parts of it.
http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html
I would advise you to wait on the game programming stuff, other then very small text games applying the tricks that you learn while learning C++. From experience, just like everyone else, when I first started I always wanted to jump into making something big, and it cost me a lot of wasted time, and made me take a lot longer to learn some things, because I was always pre-occupied with trying to make something with very little knowledge.
-edit- Posted the book link |
|
Back to top |
|
|
Il Buzzo DeleD PRO user
Joined: 12 Aug 2004 Posts: 271 Location: Italy
|
Posted: Fri Sep 02, 2005 1:08 pm Post subject: |
|
|
Hi All,
Ok as C++ programmer I must say that a lot of my knowledge (standard C++) is due to just a book that I can recommend:
C++ Complete Guide 4th Edition, Herbert Schildt, Mc-Graw Hill (in Italy it costs € 52, I don't know in other countries).
You can also use Eckel's free books on-line as suggested by Vampire_Dark, it's free and the result is the same (I didn't know when I first started to study C++ at University ).
But this is good if you intend to study C++, it will give you basis and means to develop something, then you need to pass to libraries as graphics engine etc...
At that point it's all on you, on your forces and imagination.....It's not so simple but results are better of those obtained by products like DarkBasic Pro (I use it, but just to create small and rapid preview or to fix some ideas that I then develop using C++).
I'll list here some of my favourite libraries:
-Irrlicht 0.12.0 (free zlib license) -> graphic engine
-Ogre (GNU GPL ) -> graphic engine
-Newton Physics Engine (freeware) -> physics engine
-Audiere (GNU LGPL) -> audio libs
-HawkNL (can't remember but free )->net api
-Lua (can't remember but free )->scripting
There are also a lot of free resources and articles over the net, so if you have problems just use google and at 99.99% you'll obtain wanted answers.
Anyway you can ask if you have problems and I think that all members of this community will help you within their knowledge .
So Bye guys . |
|
Back to top |
|
|
banshee777 Member
Joined: 10 Feb 2005 Posts: 37
|
Posted: Fri Sep 02, 2005 2:47 pm Post subject: ... |
|
|
1. Get your self devc++ it's free has linux type complier.
2. Use devc++ to setup a base, mabe SDL, it will have litte triangle or something. You might have to download sdl via the devc++ package updaters.
You could use GLUT, SDL, but i suspect SDL most likely the best way, for the future. Use opengl for graphic's. Directx might be easy, but it doesn't work on linux so it's worthless.
First thing to do is learn c++ learn loops, int float, char, string's, structures fileinputoutput. pointers, headers and all that stuff.
Learn opengl, you might might want to bypass, matrix's, and get precomplied base with a camera that you can understand. Learn textureing, muiltexturing.
Use deled for building's, and something like terrgen for terrian. I'm still learning, so it's going to me a while.
All the best. |
|
Back to top |
|
|
adr Member
Joined: 23 Jul 2005 Posts: 165
|
Posted: Fri Sep 02, 2005 9:00 pm Post subject: |
|
|
Soo... from what Il Buzzo said I need thes lib <any but something like thes libs> for a engine? If I am wrong just say:P |
|
Back to top |
|
|
Il Buzzo DeleD PRO user
Joined: 12 Aug 2004 Posts: 271 Location: Italy
|
Posted: Sat Sep 03, 2005 7:44 am Post subject: |
|
|
Hi guys,
Well adr, it's not strictly necessary, but if you don't want to realize your own graphic rendering routines, as well as other ones, I suggest you to do this. And owing to the fact that some engines and libs are multi-platform you can easily port your game to other machines non windows based.
I've just forgot another lib:
-Dev-Lib (GNU GPL) ->graphic engine.
Bye All . |
|
Back to top |
|
|
hpesoj DeleD PRO user
Joined: 16 Oct 2004 Posts: 184
|
Posted: Sat Sep 03, 2005 1:57 pm Post subject: |
|
|
I found getting started creating a 3D engine was easier than it sounded. If you actually want to make your own (which is a hard task in the long term, involving lots of learning and many re-writes ), then download Dev C++, SDL and OpenGL (XP comes with it already). Learn lots about OO programming, as it will make your job a LOT easier in the long run. I managed to create a demo with rotating cubes with alpha blending, fog and texture mapping . I'm sure I would've got much further if I'd stuck with it, but I get bored of things fairly quickly, and prefer using ready made engines .
If you are fairly new to programming (or fairly lazy ), I would recomment Delphi over C++. It is a lot more beginner oriented, and it too me a matter of weeks to become far better with it than I ever was with C++. I have to say I like Pascal syntax a lot more than C++, and I'm sure that it is just as simple to set up OpenGL in Delphi as it is in C++. Problem is Delphi costs a bomb (as does VC++) unless you are a student like me (£70!!!) .
EDIT
Oh yeah, for a wealth of OpenGL C++ tutorials go here...
http://www.gamedev.net/reference/list.asp?categoryid=31#217
I found the set up tutorials rather confusing, so I googled around and found some code snippets, but the further tutorials on how to render stuff were very useful. |
|
Back to top |
|
|
adr Member
Joined: 23 Jul 2005 Posts: 165
|
Posted: Sat Sep 03, 2005 4:39 pm Post subject: |
|
|
Lol, ok, i'll check on thes more , I found some libs Irrlicht 0.12.0 <graphic>, HawkNL <net api>, Newton Physics Engine <as the name says> . I'm looking up c++ still and I learn more and more every day, but I do have school witch slows me down. Hpesoj, I am fairly new to programming, but i'm not lazy. I am poor lol, I may have a job but I go out alot, so I dont have much to spend. Oh and for OpenGL C++ tutorials where do I start XD lol, I know only so much C++. I seem kinda dum now from how you all talk. Now for another thing. When I get all thos libs how do you put them all togather?
I know how long things take, i'm a 2d programer, but I didnt need to know c++ for my games. Something very simple and easy to learn. I made some perty big games and did some "fack" 3d looks for my games. My last one took 2years to make with other games I made on the side. It was sooo crapy I laugh from what I can do now. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|