Twenty Two Elements

Sounds like the name of a rock band… Twenty-Two Elements.  And yes, they are basically rocks.

This week, I’ve hunted for various rock and stone 3D models on the good old ‘net.  After finding a bunch, I customized each one in an attempt to make them look like the 22 elements in the game that you can pick up using your terrain vehicle.

These elements are:

Aluminum, Antimony, Chromium, Cobalt, Copper, Endurium, Gold, Iron, Lead, Magnesium, Mercury, Molybdenum, Nickel, Platinum, Plutonium, Promethium, Rodnium, Silver, Tin, Titanium, Tungsten, and Zinc.

Of all these elements, two doesn’t exist in real life – Endurium and Rodnium.  For all of the others, I looked around for reference photos and tried to base my creations somewhat in reality.  Unfortunately, about 75% of the elements listed look like a silver rock.  So I tried to make some variations in the silver color and shine.

Here is a video of a test scene with all 22 of the elements laid out.  A few are easy to spot right away – such as gold, copper, and cobalt.

By |2019-02-02T09:01:33+00:00February 2nd, 2019|Starflight|4 Comments

Terrain Vehicle Mechanics

The most epic terrain vehicle journey ever.  That’s what this is.  Basically, I implemented simple controls for moving the terrain vehicle and then worked on the mechanics of how the wheels move.  The wheels display suspension and steering and acceleration.  The body of the terrain vehicle adjusts accordingly to the angles between the center of the T.V. and the front and rear wheels.

I took an approximately 15-minute video of a nice “stroll” through the planet in the first orbit in the Arth star system.  I start out at the higher elevations where there are mountains and snow and ice.  Then I meander down towards the valley where there are canyons.  Then I head towards the beach where there’s beautiful water glistening with wind-blown waves.  I then drive around the lake and head up into some more mountains.  I then shed a tear because it was all so beautiful.

The video does show one unexpected oddity – the T.V. itself drives on water at the correct height, but the rendered terrain drops below the T.V. according to the sea bed height.  Oops.  I know what went wrong, but I thought it was kind of funny to see the T.V. shadow “run away” from as you drive over water.

Microwave up some popcorn and enjoy this video!

P.S. Ignore the UI – none of the UI for the planetary disembarkment has been done, it’s just displaying the normal in-space UI.  Also, the “popping” that you can see in the distance sometimes is something that will be fixed.

By |2019-01-27T11:59:07+00:00January 27th, 2019|Starflight|4 Comments

The Terrain Vehicle

After some discussion with team members, it was decided that I should focus my attention on adding the ability to disembark from the ship onto planets.  In order to do that, I need to build a few assets.  The first and most important asset to build is the terrain vehicle (TV for short).  Here are some pretty images of the build in process.  I kind of glossed over how I made the body of the TV because I pretty much winged it and wasn’t entirely sure how it would come out.  Basically, it started out as a sphere (the cockpit) which was then sliced, scaled, extruded, chamfered, extruded, chamfered, scaled (with soft selection), and so on… until finally, it looked halfway decent.

Additionally, there is also a short video of how it looks inside Unity.  I placed the TV in a posed position on a planet’s surface and made sure to scale everything so that it looks as close as possible to how it will actually look when playing the game.  I am pleasantly surprised by the amount of detail on the surface of the planet – the camera is zoomed in quite a bit.  There’s hardly maybe 50 actual texels on the whole screen; most of the detail actually comes from a tiled normal map combined with some on the fly fractals generated by my shaders.

Anyway… exciting times!  It won’t be long now before we’ll all be able to drive around on planets.  Next up, I’ll need to build some assets for the mining part of the game.  Piles of rocks and so on.  And then there are the creatures that roam the surface… I have no idea how I’ll be making all of those.

Here are some beauty shots of the TV rendered using Arnold in 3D Studio Max.  I had exported a terrain grid out of Unity and imported it into Max for these shots.

And finally here is the in-Unity video as promised!

P.S. The mud flaps in the featured image at the top isn’t actually going to be part of the TV.  It was just for giggles.  🙂

By |2019-02-07T17:42:28+00:00January 26th, 2019|Starflight|3 Comments