Media Project Week - 3 and 4

  

Creating Infinite Worlds in Unreal Engine: A Dive into Triangles and Vertices


Creating infinite worlds holds a special attraction in the area of game development. It signifies unending exploration and diversity that sustain player interest and curiosity for long periods. At the core of this intriguing process lies the delicate waltz between triangles and vertices; indeed, these elements form the very basis of 3D landscapes.

Triangles: Weaving 3D Realms Triangles stand as the simplest polygon able to delineate a plane within three-dimensional space. In Unreal Engine, they unify to create the mesh representing the surface of our never-ending world. Every individual triangle consists of three vertices— bare the simplest polygon that can't it is not their number that matters most, but rather their specific configuration which defines not only the shape but also the contour of the entire landscape we perceive.

Geometry without Vertices: An Impossible Reality Vertices are more than mere points in 3D space; they represent the essence of our triangles' existence at their corners. With each manipulation made to these infinitesimal components through position changes, we give rise to the undulating forms that define our virtual landscapes— be it majestic peaks standing as sentinels between earth and sky, or verdant valleys cradled by surrounding hills. Even plains stretching towards an infinite horizon find genesis here. In the realm of infinite world generation, no area replicates another precisely because each vertex finds its position dynamically through procedural algorithms. 

Bringing It All Together The process begins with the creation of a ‘chunk,’ a segment of the terrain. As the player moves through the world, new chunks are generated around them, each with its own set of vertices and triangles. This seamless generation is what creates the illusion of an endless world.

Optimization: A Balancing Act While the concept is straightforward, the execution requires careful consideration. Performance is key; generating too many triangles can strain the system, leading to lag and a poor player experience. Developers must find the sweet spot, where the world is rich and detailed but still runs smoothly.

Conclusion The creation of infinite worlds in Unreal Engine is a testament to the power of triangles and vertices. These simple shapes, when combined with the engine’s robust tools and a developer’s creativity, can give birth to vast, unending landscapes that captivate and inspire.

All credits to fettis GameDev - YouTube, the YouTube helped me really understand how procedural generation can be implemented.


Create Triangles Function


Create Vertices Function


Comments

Popular posts from this blog

Media Project Week - 10

Media Project Week - 9

Media Project Week - 5