Here's what my editor looks like so far. As you can see it's heavily influenced by maplet. Making a room is exactly the same too, drag out the floor then raise the walls up. There's no UI atm because I totally started over. My first attempt was just too sloppy and just looking at the code made me wanna puke.
Each room is one mesh comprised of 6 surfaces. I did it this way to make it easier to implement basic CSG funcions. The texture algorithm keeps the floor and wall textures seamless no matter where you start drawing on the grid. I really need to get that carve function in there. In my first editor i was dragging out rooms and they walking through it and removing triangles manually (it sucked). Also you can preset the floor, wall, and ceiling texture before you make the room so when you drag and click, it's totally textured and ready to go.
It took me about 2 min to make all the rooms below!
Each room is one mesh comprised of 6 surfaces. I did it this way to make it easier to implement basic CSG funcions. The texture algorithm keeps the floor and wall textures seamless no matter where you start drawing on the grid. I really need to get that carve function in there. In my first editor i was dragging out rooms and they walking through it and removing triangles manually (it sucked). Also you can preset the floor, wall, and ceiling texture before you make the room so when you drag and click, it's totally textured and ready to go.
It took me about 2 min to make all the rooms below!