Teen Programmers Unite  
 

 

Return to forum top

3D engien in C++!!!

Posted by NUGGI [send private reply] at June 11, 2002, 08:32:24 AM

does anyboddy knows how to program a 3D engien (or knows where there is a tuturial tod so) or gnows how to use Quake 3's graphix engien??

Posted by metamorphic [send private reply] at June 11, 2002, 11:45:54 AM

an engine is basically just a graphics and physics handler for a game. It does all the maths that are needed. A good book if your using windows to make a 2D engine using directX is tricks of the windows game programming guru's. If you have never made a 2D engine before, i suggest starting there first.

Posted by CodeRed [send private reply] at June 11, 2002, 01:28:27 PM

deos nebodie gnows howe 2 spel!!!

Posted by RedX [send private reply] at June 11, 2002, 03:38:04 PM

Quake (1 to whatever) were written by programmers with a whole lot of experience. While the theory behind a 3D-engine is not *too* difficult (as easy as math goes), implenting one for a realtime first person shooter is. The easiest 3D-engine is a rotating cubes demo. While it looks quite simple it contains all the elements to draw your 3D-graphics.
I sugest you try that first. If you can draw and rotate several cubes (with backface removal, collision detection, texturing and lighting) then it's only a relatively small step to a walktrough 3D scene. however this is still miles away from what you see in Quake.

While it sounds cool to write your own 3D-game from scratch, without experience you'll fail (as many have done before). But if you start very simple (a cube demo) you'll actually have something nice to show after a few weeks of work and from that basis you can start thinking about writing a very simple quake look-a-like.

Some advice:
- Get a book about this.
- This kind of game involves lots of math, be prepared.
- start *very* simple.
- design before you program. See the quick start guide "How to write programs larger than 100 lines".

RedX

Posted by CViper [send private reply] at June 12, 2002, 02:44:20 AM

As for a book, i'd like to suggest "3D Game Engine Design" by David Eberly (hope i spelled the name right).

Posted by taubz [send private reply] at June 12, 2002, 07:49:54 AM

You could get involved in the development of a free open-source engine, like CrystalSpace. You'd probably learn a lot going through that code, and even helping out. :)

- taubz

Posted by metamorphic [send private reply] at June 12, 2002, 09:03:04 AM

Also might want to learn C++ first if your profile still stands.

Posted by NUGGI [send private reply] at June 12, 2002, 10:37:45 AM

hehe year im working on that :) Tuturials and so on!!!
(im also former Qbasic programmer... but i have forgotten most of it by now)

Posted by vexoid [send private reply] at June 12, 2002, 08:03:41 PM

You should check out the Crystal Space engine; very impressive. http://crystal.sourceforge.net/

Posted by taubz [send private reply] at June 13, 2002, 06:39:43 PM

Didn't I already say that?

Posted by vexoid [send private reply] at June 13, 2002, 08:49:17 PM

Oh. Yeah. Well.. I had a link. Nyah

Posted by vikram_1982 [send private reply] at June 14, 2002, 11:58:02 AM

** im also former Qbasic programmer... ***

But sorry Nuggi, but I hate it when people call Qbasic a "Programming" language.

Posted by metamorphic [send private reply] at June 14, 2002, 03:08:00 PM

well according to everyone else its a programming language

Posted by RedX [send private reply] at June 14, 2002, 05:49:37 PM

Qbasic is a programming language, just as Windows is an OS.
Besides Qbasic has it's uses. It can be used to try out algoritms and such or to teach someone the absolute and lowest basics of programming one can think of. And that's what makes qbasic usefull.
Hey, it's a tool, you don't complain you can't get a nail in a board by using a chainsaw. Chainsaws have their uses and nails need hamers. Don't mix them up, because a hamer used as a chainsaw makes a ridiculus horrormovie and chainsaws aren't very handy in drive nails into a board.

RedX

Posted by CodeRed [send private reply] at June 15, 2002, 12:11:15 AM

Same old shit....

Posted by metamorphic [send private reply] at June 15, 2002, 06:27:59 AM

no, but heads can drive nails into boards pretty good ;-)

Posted by vikram_1982 [send private reply] at June 15, 2002, 10:58:51 AM

yeah, but a guy who knows only A B C D , cannot call himself a Scholar. He just knows the basics of the English Language.that's the point I would like to make. Qbasic is a programming language - agreed. But to what level. It is really kindergarten stuff. So, calling a person who knows Qbasic a "programmer" is taking the person on par with people proficient with C, Java and the likes, which really isnt fair.

Posted by taubz [send private reply] at June 15, 2002, 11:17:39 AM

Where did fairness come in?

Posted by RedX [send private reply] at June 15, 2002, 05:25:12 PM

I would call a person who uses *only* qbasic a programmer, but that would be sarcastic ofcourse.

The universe isn't fair. It's the most unfair place there is. Compared with the universe a casino run by the mob, gives better chances of winning.

RedX

Posted by sphinX [send private reply] at June 15, 2002, 10:05:40 PM

If we've agreed that QBASIC is, in fact, a programming language, then one who uses it, by description of the English language, is a "programmer". We need to further define programmers as Amateur or Advanced, so that in fact we can make a distinction between a C programmer and a BASIC programmer. That's my thoughts anyway.

As for BASIC, it most certainly does have its uses. When I began doing Calculus I used it to quickly implement programs that would use the trapezoidal and simpson's rules of definite integration and compare them. It was invaluable to my understanding of the concepts.

Posted by vikram_1982 [send private reply] at June 16, 2002, 10:14:27 AM

Ok. I have my own opinions, and u guys have urs. So, we'll leave it at that.But, I kinda like what Sphinx said. Yeah, an amateur and an advanced distinction would be better.

Posted by CodeRed [send private reply] at June 16, 2002, 08:36:20 PM

Anybody who uses qbasic is a programmer. Programmers are already an elitest organization, why make the definition even narrower?

Posted by jay_dee [send private reply] at June 16, 2002, 09:20:29 PM

isn't it funny when someone posts a message and there are about 5 responces that are related the the question about 15 about something totaly diffrent..not that there is something wrong with it...i just found it amusing...

jay

Posted by sphinX [send private reply] at June 18, 2002, 01:20:06 AM

Well, when someone asks a question during a conversation there is only a small amount of time spent on the answer. That question then causes others to arise, and the topic changes. It happens irl, so why not on discussion boards too?

(Notice that you have just changed the topic too :-))

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.