Dev Update #21: Alternated Triangles

Dev Update #21: Alternated Triangles

Heyo folks!

Today’s update is about to make terrain building more interesting!

If you’ve paid attention so far, you may have realized that the terrain mesh we’ve been using is composed of simple quads, all in the same order, in the same direction and whatnot.

Which is workable, and how most games do it. But I decided to change, influenced by my time playing Transport Tycoon, which used a form of alternating the triangles in the grid to make some more interesting and well connected terrain. So now, the triangle strip looks like below:

tristriping

What does this mean?

It means that, before, each vertex could be connected to 6 other vertices at most:
-Top, Bottom, Left, Right, and two diagonals one on the same direction.

Now, as you can see below, each vertex can connect to up to 8 vertices, one in each Cardinal and InterCardinal directions. This gives you more freedom to shape the terrain in interesting ways, which is great!

A simple experiment with just random heights:

triThings

Once I’m done reintegrating the new terrain, I’ll make a new update with some interesting terrain possibilities!

Stay tuned!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s