Player controls: Make sure "EditorMode" is 0 for the best experience. -WASD to move -Left and right arrows to look around -Space to jump (you can also double jump) Editor controls: !!! MAKE SURE "EditorMode" IS SET TO 1 !!! -> 1 means true, 0 false You will see several dots pop up, formally called vertices. If you hover over a vertex, you'll see that the vertex gets highlighted. That will be the "selected vertex". -Press g to delete the selected vertex -Press e to make a triangle; you'll need three vertices. Follow the instructions on the screen. -Press t to generate new textures; these are just arbitrary colours assigned to every triangle. (not exclusive to EditorMode) -Press r to delete a certain amount of vertices and triangles; these are the most recently created vertices and triangles. If you want to "undo" a few things, this is the way to go. -Press c to create a new cube; the instructions will ask you to define the dimensions and the cube's origin.
This is a small demonstration of the 3D render engine I've been working on for a while. The code is everything but optimal, and so is the editor mode. I'll try to polish the project further in terms of cleaner, faster, and more intuitive code. In the meantime, I hope you enjoy the small demo!