I've been searching everywhere for someone who can help me with a project I'm working on, hopefully someone here can help. I'm trying to make a game that loads a 3D map from a picture based on pixel color. All I need is to get this map part working, but I don't know the code to do it. The map is a grid, so it shouldn't be difficult, but I need to know the code for loading a material (wall, floor), and putting the material in the right place. Please note, I'm NOT looking for a finished product, just the code that will do these two parts. Any help would be greatly appreciated.