How Rendering Works inside a Game Engine

Subscribers:
146
Published on ● Video Link: https://www.youtube.com/watch?v=qNrjMNrp3MA



Duration: 5:09
33 views
1


Instagram - https://www.instagram.com/timesofgame/

in thisvideo we are going to talk about the game camera that exists inside a game engine and howdoes it render anything on the screen.Sounds interesting, right?So let's just hop into it.So let's start by understanding the game camera.then to understand how does the rendering takes place. we take an example of a cube . when you have a cube and we put a camera inside the game engine. what you will see is that you will see only a small portion of the cube being visible on your screen.and rest of the cube will be clipped away. so what is happening is that the camera is actually projecting everything that it can see inside a certain frustum and this frustum has certain properties.
The game camera is nothing but a view frustum, which is defined by a near clipping plane and a far clipping plane, which are perpendicular to the line of sight. The near clipping plane is the closest distance from the camera at which an object can be rendered, and the far clipping plane is the farthest distance from the camera at which an object can be rendered. Anything that lies outside of this frustum is clipped, and anything that lies inside of this frustum is rendered on the screen.The game engine uses a technique called projection to render the 3D world onto a 2D screen.







Tags:
games