Sign in to follow this  
Quat

Rotating heightmap

Recommended Posts

I have a heightmap that defines a surface in [0,1]^3. I want to rotate the surface about the x or z axis. However, when doing this, part of the surface will go outside [0,1]^3 and some "empty space" will be rotated in; this is OK, but I am wondering what the best way to reconstruct the rotated heightmap would be. Right now I am thinking: 1. From heightmap, rebuild (x,y,z) at each grid point. 2. Do Rotation 3. Rebuild heightmap from rotated grid points. Just wondering if there is a more efficient way I am missing.

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