yupswing / TileCraft

Haxe/OpenFL 2.5D Modeling Tool (prototype, no longer mantained)
GNU General Public License v3.0
100 stars 14 forks source link

Feature Needed: Exporting of Heightmaps #8

Open h3rb opened 7 years ago

h3rb commented 7 years ago

If you could add the ability to export a heightmap (and alternatively a normal map), where the "height" of the object's Z is along an RGB luminance spectrum (greyscale, dark=floor, white=ceiling), you could cast shadows and do projections in the game engine in real time. You don't necessarily need to have normal map exporting, because other tools can convert a heightmap to a normal map. The effect would allow this tool to help 2.5D engines like this: https://www.youtube.com/watch?v=-Q6ISVaM5Ww

h3rb commented 7 years ago

h_cryotube

h3rb commented 7 years ago

This is super easy given that the XYZ information is already in the model, so why not have the option to export both the png and a _hm.png -- all you need is basically a ramp based on the model height as shown above, and that shouldn't be very hard. i can't get it to compile on my system, so i'm not able to attempt to add and create a pull request

yupswing commented 7 years ago

Hello h3rb, as you can imagine TileCraft was a prototype project and it is no longer on active development. If you like to develop new features you are welcome and they will be happily merged, but I have no time right now to work on it.