This is an engine being developed through this year course as part of the Master Advance Programming for AAA Games at UPC. Link: https://github.com/MeriAlguero/Engine
Usage of the library Gltf to be able to implment 3D models
The engine uses the free library ImGui to showcase some options in the screen, like showing gizmos or the FPS. Right now trhough there are various windows:
- ABOUT: A few lines of text explaining what is the engine.
- Configuration: Shows the framerate of the engine and through this window you can check if the
GridandAxiswant to be visible - Transform Controls: In this window we can adjust the
positon,rotationandscaleof the model. - Phong Shading Controls: Here you can move the light so it hits the model differently, you can change the color of the
Light,Ambient,DeffiusseandSpecular. Also you can check if use texture or theShininessvalue.
To make navigation intuitive, the camera has been designed to reesemble Unity's Camera. The camera uses the following shortcuts:
- Movement: Use
WASDto pan through the screen. - Zoom: Use the
Mouse Wheelto zoom in and out. - Panning Use the
Left Mouse Clickto move the camera around the scene. - Focus Use
Fto focus on the object in the screen. - Speed Holding
Shiftthe movment of the camera will double the speed.
To create as somewhat realistic ilumination to the 3D model (a ducky) is being used BDF Phong, a shader that tries to imitate physic ligthning.