Is there a way to take an image and make a map grid that an array could take datafrom
I wish I knew the proper term for it because I know I've heard of something like a height map being created out of an image. My goal is to make a map that is created from data from an array. I want to use an image as a short cut to make the map as typing in the values to the arrayI know will take a lot of time. Also its nice to seethe whole map laid out before I code it in. It just seems like an easy approach.
If anyone can just give the term to search for to find more info on it I'd be grateful. Or just a way to analysis an image and get something of a text document or what ever form that an Array could take stuff from. I would be interested if there is a way that fusion could get color data from a pixel and then compare it to a value I could make my own analyzer.
The main goal is to have a grid map and use an image to layout the biomes. Green would =1 in the array and then the code creates a grass grid tile/map section. Gray=2= city grid. Then I can rearrange the roads with other code. My partner has made a very good random gen for roads but I'm trying to limit it so I can guarantee some grass, some city, and some highway.
Thanks for your time.