Skip to content

A second year graphics ICA to generate and tessellate terrain based on a heightmap.

License

Notifications You must be signed in to change notification settings

MrPeteypoo/UniversitySecondYearTerrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Triangulate My Terrain

The second task in my second year 3D Graphics Programming module. We were tasked to generate and tesselate terrain from a given heightmap, this included using a Bézier surface algorithm to upscale the low resolution heightmap and some noise functionality to create a more realisitic surface. Also we weren't allowed to use the geometry shader to accomplish this task.

My implementation contained a crude implementation of the Bézier surface algorithm utilising the quadratic Bézier curve algorithm. Bumpiness was given to the terrain in the form of fractional brownian motion and improve perlin noise. The only thing lacking from my implementation was frustum culling and spatial partitioning, hence why the application runs slowly. I ended up with a grade of 73% which I'm pleased with, though I was aiming for higher.

A Windows build is available here: https://github.com/storm20200/UniversitySecondYearTerrain/releases/latest

About

A second year graphics ICA to generate and tessellate terrain based on a heightmap.

Resources

License

Stars

Watchers

Forks

Packages

No packages published