Sign in to follow this  
coderchris

Fast method for raycasting a height-map?

Recommended Posts

I am writing a simple raytracer, and I want to render terrain using a height map. I can already turn the heightmap into a series of triangles and raytrace it normally, but I feel like there should be a fast way to raytrace the raw height map and avoid having to use triangles at all. I am aware of the many different pixel shader effects that basically 'raytrace' to give more surface detail (aka parallax mapping, relief mapping, ect..) However, correct me if im wrong, but it seems like those methods only work when the camera is above the heighest point on the heightmap. Iv done a bit of googling but havent found any concrete papers or non triangle based methods for raycasting how I want. Does anyone know of any algorithms I can investigate for this? Thanks, Chris

Share this post


Link to post
Share on other sites

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

Sign in to follow this