donotturnoff

LandscapeDemo

Introduction

This project came around almost a year after the original JavaScript one. When making this, I used my rendering engine to generate triangles and apply textures to them. Rock and grass textures are merged to make a gradual change from meadow to mountain.

The WASD keys can be used to look around and EQ can be used to zoom in and out. When running from the command line, two optional arguments can be specified, indicating the dimensions of the landscape.

Also, download and unzip the textures to the same place as the JAR file when running. The way that I made my rendering engine makes it difficult to load images from inside a JAR file (this wasn't something I knew about while making it and I don't want to go back and change it all now).

If you want to compile the source code, you'll also need to download JThree so that the net directory of JThree is in the same directory as the LandscapeDemo files. I'm aware that this is not the best method, but JThree isn't exactly intended for mass use, and I didn't think about this when making it!

Files

Screenshots

To do

Over this summer (2019) I want to learn to use OpenGL, and as a project to get started with, I'm thinking of remaking this, so I don't think I'll be adding any more to this program as it is

Related projects