by gilad_no » Apr 19, 2007 @ 10:57pm
If we take a simple implementation of a 3D game, we have a room and objects.
The room is static. It has walls (with tiles attached), doors, obstacles and so on.
Inside a room, there are objects: Boxes that the player can move, weapons he can pick up, other players, monsters and so on.
So a basic engine should be able to load a package file for a scene (which describe the details about the environment and the tiles to use). In addition, the programmer should be able to put objects inside the virtual space.
Then, inside OnNextFrame, there should probably be a call to render the scene, with details for the camera (position and direction). The engine should take care of everything then (clipping the invisible walls/objects for example).
You can contact me in private for additional details. I'm currently investigating 3D engines for our company, so I got involved in that field.