Advertisement Jump to content
Sign in to follow this  

Fast method for raycasting a height-map?

This topic is 3832 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!