Computer Hope

Software => Computer software => Topic started by: Eric1611 on May 27, 2010, 04:50:21 AM

Title: What does a "Engine" do ?
Post by: Eric1611 on May 27, 2010, 04:50:21 AM
I hear a lot about "engines",what does this exactly do ? Is it a program that makes your video-card work with the rest of your computer ? Is there a engine other than for video ?
I`d really like to know,I`m thinking of doing animation with my sound-studio.
I know a bit about computers,but I`m no guru !
                                            Greetz;Eric.

PS;With engine I mean,example;Cryengine 2.
Title: Re: What does a "Engine" do ?
Post by: BC_Programmer on May 27, 2010, 05:05:40 AM
If oyu mean things like game engines (like the quake, quake 2, doom, etc engines, half life 2, etc etc.

Consider the quake engine. It was used in Quake (duh)- but the same "engine" was also used in a number of other games. The engine is the way that game characters and actions are handled. For example, doors are handled by the game engine, as are enemy movement and models, AI, switches and so forth.

This is further illustrated by the fact that most game engines, even for the same genre, refer to the same things with different names or don't even have some things. for example, Duke Nukem 3d was created using the BUILD engine. Since the internal workings of the BUILD engine and how it renders the environment are completely different from quake, these differences are found also in the way effects are created. for Build, creating an effect such as flashing lights or a switch involves the setting of hitag and lotag values on sprites and walls as well as the creation of special "SectorEffector" sprites. Note that it is important to notice also that BUILD itself doesn't recognize most of the effectors used in Duke- Duke nukem itself recognizes a wide assortment and handles them. So while one game might use a Sector Effector sprite with a lotag of 7 as a teleporter, another might use it for something else.

The quake Engine, in contrast, being based on BSP (Binary Space partitioning) can be seen to have a number of concepts from that being used in dealing with the engine. For example, any 3-d Object in quake is a "Brush". Game items, such as ammo, health, enemies, etc, are "Edicts" I haven't mapped much with Quake so I have no idea how it makes various effects such as doors opening and touchplates.


Anyway, long story short- an engine basically let's the game programmer work in higher level concepts- instead of having to work with polygons and vertices, they can think in turns of models, weapons, and so forth. For example, they can deal in concepts such as players, items, objects, and vehicles rather then as a nameless bunch of triangles and vertices.
Title: Re: What does a "Engine" do ?
Post by: Eric1611 on May 27, 2010, 05:29:05 AM
Thanks for your very fine explenation.With only a little help from the web I now understand !
You know your stuff !!! After what you said;People who make engines are "artists".
It seems it`s a very specialized "corner" in game-programming.
I came to the question after Autodesk 3ds Max made some referances to it.
Thanks a lot for your reply,greetings;Eric...

PS;Forgive my English,I`m Dutch :)
Title: Re: What does a "Engine" do ?
Post by: +Asking on June 07, 2010, 05:44:18 AM
A engine is a software that the game is based on.