Jump to content
  • Advertisement
  • entries
    18
  • comments
    8
  • views
    9979

Random Progress - May 2018

Sign in to follow this  
nukomod

312 views

I've being progressing a few random things.

Generators That Don't Make Models 

First up I added a JSON visualiser so I can browse the output of generators that don't create 3D models. There will be plenty of these kicking about.

682702822_charactergen.PNG.133d8abe1fa0a59fc1a04a4dd0655d09.PNG

I'm using JSONViewer by Roman Makudera to do this for now. In the future I may roll my own version though that can have knowledge about unit types. For example, in the image above "age" is in years, and the height values would be in metres. That kind of information is lost with the current viewer.

Height Map

I've also started playing with generating a height map. I'm not planning on doing any terrain work with height maps but I just wanted to see how easy it was to do in ThreeJS. Below is a totally random terrain with random vertex colouring. It was quite straight forward to setup - nice one ThreeJS :)

39829710_terrainheightmap2.png.853f063a34588620fa047afa07c0f327.png

Voxels

I want to build my actual terrain using voxels so I can get more realistic results. It's a lot more complicated but it'll be worth it.

1267159072_voxelterrain1.PNG.f875879c2feb4b6787f6e473bbf84181.PNG

Above is simply a cube space filled randomly with voxels. I'm not doing anything clever in the rendering yet for generating the mesh. Each voxel is it's own ThreeJS cube. Ultimately the terrain is going to be more like no mans sky than minecraft - that is it's represented with voxel data but the mesh generation won't render it all with just cubes.

Next

I'm going to continue playing with the terrain generation using voxels, so I'll likely implemented some 3D noise generators. I have a bunch of terrain generation articles bookmarked from over the years so it'll be loads of fun to finally play with making some of my own :)

Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!