0

Game engine, and few question

Someone could offer some literature that simply explains the structure of a 2 / 3D game engine, and someone could suggest a technology / framework that makes it easier to build such an engine. I am also in a programming language dilemma as c++ is a good language to build such an engine, but if anyone could recommend a framework that is compatible with other programming languages ​​I would also welcome

29th Oct 2021, 2:44 PM
Domonkos Gyömörey
Domonkos Gyömörey - avatar
1 Réponse
+ 4
In many ways a 2D game and a 3D are identical. You need input, entities to represent the game world, a rendering loop and so on. But... 3D requires a different set of disciplines to make the art assets and get them on screen. 3D art needs geometry, which is then UV-wrapped in textures. To render the scene needs a more sophisticated scene hierarchy (probably a tree). The representation of orientations needs matrices or quaternions (or both). We need to consider lighting in a different way. We need a 3D API like OpenGL to leverage hardware rendering. And there are problems to solve relating to the size and complexity of the world. In a 2D screen, only a segment of the world is visible, in a 3D setup it is possible to imagine a location from where the entire world is visible. Drawing everything could be bad for performance.
29th Oct 2021, 5:23 PM
Arun Jamson
Arun Jamson - avatar