In order to bake flowmaps for my last project i used a flowmap generator based in Unity. I only have Unity Free at the moment, so in order to get flowmaps my only options were to use a static heightmap for the generator. Since i wanted to quickly iterate on the scene and have constantly updated heightmaps, I wrote a simple heightmap baker for Maya. It bakes heightmap data to vertex colors, allowing you to export maps to your preferred image format.

I’ve extended it a bit here and hopefully it can be used for other purposes in the future, such as matching terrain to kitbashed areas. Often i find heightmap painting rather  restricting, so being able to just kitbash an area and then have the terrain be updated “auto-magically” is pretty cool. Im just uploading as is to get this section kicked off but please let me know any potential improvements you would like to see.

Source Code:

heightbaker.py
File Size: 17 kb
File Type: py

Download File


Leave a Reply

Your email address will not be published. Required fields are marked *