Hacker News new | ask | show | jobs
by snake_case 3924 days ago
Great post!

A few months ago, my partner and I finished a 6 month long project over the course of our final year of Game Programming. We developed an island survival game made for Oculus Rift and Razer Hydra. I did the island and environment generation including animal AI for finding the player while avoiding any of the 40 000 trees that may be in the way.

I used most of the techniques in the post except for the moisture map. I actually ended up generating rivers by accident (which turned out great) just by rearranging the order of masks that I applied to the height map. I used around 4 masks I believe to get the island to be the way I wanted. Unity took care of the rendering, I just applied my height map to the terrain.

I'm planning on writing a post soon about my experiences, but here's a video of the final version for now: https://www.youtube.com/watch?v=CTYT3fU-Cek

1 comments

Hey snake_case, glad you like my post!

Can you share the height map you created with the rivers? Currently for river generation I am basically picking a coordinate at random around the centre and go downwards until it gets to a sea or a lake.

I should probably edit the post and mention this but didn't want to make it too long.

Love the fact your project is for the Rift and Hydra. I've set up a VR station with the Hydra at the office, maybe I can give it a go next week :)

I'll dig through my project to see if I have any screenshots of my height maps left. I believe I do somewhere.

I'd be happy to send you a build! I'll contact you on twitter.