Jump to content
  • Advertisement
Sign in to follow this  
Quat

Rotating heightmap

This topic is 3261 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 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!