Game Development Community

Need help understanding Torque engine source code

by Yujiao Guo · in General Discussion · 08/28/2007 (10:34 am) · 8 replies

Hi:

I bought many books on game programming, but most of the books offer very poor concluding game demos. That was why I bought TEG, with high expectation of understanding the engine, and making my own game demos for applying game programming jobs. However, after searching through this website and the torque engine itself, I found it extreamly hard to understand the source code. The documentation is probably enough for experienced developers, but not for me (just graduated from high school, but I have read more than 10 books on game programming and graphics).

Because it costs money and time, torque engine poeple don't provide very detailed explanation of the engine. However, because the engine itself is propriatory, no one is able to write books on the internals of the game engine. I found this very sad :{. There are two good books on torque engine, and I own them, but, as the author mentioned, he can't explain anything concerning the source code because of copy right suff.

Any ideas that can help me better understand the source code?

I will really appraciate any suggestions that helps.

Thank you in advance

Yujiao

----------------
bp2.blogger.com/_dJkGq6KV-3Q/RsHVKdXe4rI/AAAAAAAAAAs/mkPtXzOCjXI/s320/Picture+004a.jpgMy blog:
yujiaoguo.blogspot.com

#1
08/28/2007 (10:40 am)
One of the best places to start is to use the dOxygen output of the source code (online version can be found here for licensed users), and study the core hierarchy of objects.

You should scroll down to the "ConsoleObject" link, click it, and follow down the hierarchy, paying careful attention to the discussions as you move down the hierarchy.
#2
08/28/2007 (10:50 am)
Thanks a bunch. There seems to be a lot more explanation in ConsoleObject than the ones in the beginning.
#3
08/28/2007 (10:53 am)
Let's not leave out Open Engines.

if you desire to learn more about the idea of a Game engine and the components that make up 'the Engine'
you might find yourself in a better way to examine Open Projects.

the Open source will give you the ability to discuss and read documentation without the constraint of a propriety system.

ogre3d.org/
nebuladevice.cubik.org/
en.wikipedia.org/wiki/List_of_game_engines

Ogre is a clean well documented design, written in strong oop.
#4
08/28/2007 (10:57 am)
Thank you Badguy. That was an excellent idea. I never really looked at any piece of software as big as torque before, ogre might get me started. Actually, the first engine I looked at was Ogre, but since it was open, I thought it maybe better to get something more advanced so I don't waste time on it. Then I bought Torque haha.

A list of books I finished by the way:

Tricks of the 3D game programming gurus - excellent
Windows game programming gurus - excellent
Advanced Graphics Programming Using OpenGL - excellent
Game Programming Gems - excellent
OpenGL Programming Guide, 5nd Edition - good
Beginning C++ Through Game Programming - good
OpenGL SuperBible 3rd - good
3D Game Programming All in One - mediocre
Advanced 3D Game Programming All in One - mediocre
OpenGL Distilled - mediocre
3D Game Programming All In One - mediocre
Beginning OpenGL Game Programming - mediocre
C++ Advanced 3D Game Programming with DX3D9 - below average
#5
08/28/2007 (11:04 am)
Heh, nothing personal to Torque, but it is definitely not more advanced than Ogre!
:)

but you know that now as a Torque licenser.

Edit:
Also Graphics Gems are a good series that cover specific topics.
might want to have them around for good reference.

Edit:
also Mathematics for 3D Game Programming & Computer Graphics is a Must.
#6
08/28/2007 (11:14 am)
Well.. it was either because I was stupid or Torque guys was really good at advertising haha.
Anyway I don't regret buying TEG. The demo accompanied with it looks pretty amazing, at least to me.
#7
08/28/2007 (11:21 am)
No don't get me wrong, torque is not a bad purchase.
you will get good support and lots of information for a good price.

Ogre is easier to share and discuss, and can increase your learning potential.

Torque is complete and gives a good full picture with basically a turn key solution.

the design is quite different which again is good, to show diversity.

if you have truly grasped a share of what those books offer, then you are ready to study them both.
and can learn plenty from both of them.
#8
08/28/2007 (12:02 pm)
I totally agree.

I am going to college in Sep. Hopefully the many questions I had while reading these stuff will help me learn more in college.