It's good to have another person working on a 3D tool. Let's see how far it goes.
- Model Editor: Added buttons for copy/pasting face colors (this was in 1.1.0 release notes but not actually implemented?)
- Model Editor: You can now press ZL to show vertex IDs for all vertices
- Model Editor: In Face Mode, added a white line to show face normal (only relevant for 3DO export)
- Model Editor: Added a button for exporting models in the 3DO format used by Star Wars: Dark Forces. You would then need to transfer the model to a PC using PetitModem or similar.
- Model Editor: The size of the current model (in numeric values) is shown in the upper-right corner. Each vertex is 3 values (x/y/z) and each face is 6 values (3 vert indices and R/G/B color channels).
- Model Editor: Added a Help button.
- Model Editor: Major fixes to Undo/Redo functionality.
- Model Editor: Other minor UX improvements.
- Added FIRSTPERSON example game. Move around and shoot targets as fast as possible. Demonstrates depth-sorting, 3D camera movement and rotation, and basic collision detection. 60 fps on a New 3DS
- (No engine changes)
- Added STARBLITZ example game. Fly your spaceship and avoid the obstacles. Demonstrates depth-sorting, 3D movement and rotation, and basic collision detection. 60 fps on a New 3DS
- Engine, Model Editor: Fixed numerous issues with axes being double-or-triple reversed
- Model Editor: Fixed vertex movement controls sometimes being reversed
- Model Editor: Reversed the z-axis. Now the coordinate system behaves like Blender 3D, as I had originally intended
- Model Editor: Added some parsing code for OBJ files (not tested; how would I get an OBJ file into SB in the first place?)
- Model Editor: Added buttons for copying and pasting face colors
- Many other minor bug fixes
- Fixed error if you deleted all faces from a model
- Fixed slider values being constantly reapplied until you tapped somewhere else on the touch screen
- Save/Load remembers the last file name you entered, so that you don't have to keep re-typing it each time you save
- Added an example model Pumpkin.3D
- Rewrote Poly3D into a compact common library that can be easily used by other programs
- Added Poly3D Model Editor v1.0 (compatible with New 3DS or Circle Pad Pro). This is a simple model editor with limited features, but should be good enough for creating simple models. - Create 3D models with colored faces - Save / Load 3D model files - Camera controls - In addition to the main camera, the model is displayed as a wireframe in three orthogonal views (Front, Left, Top) on the touch screen - Undo / Redo functionality
- Added a GUI library which can be used to draw interactive buttons, checkboxes, and sliders on the touch screen Note: I released this latest update much earlier than I was planning, so that others can use the included model editor. This version does not contain any other example projects. I am hoping to release another update sometime in the next month or so with additional examples of the engine in use, but can't make any promises. Hopefully I won't disappear for 3 years again! :)
Instructions:
Controls for Starblitz: D-Pad moves camera, Circle Pad moves ship Controls for FirstPerson: Circle-pad to move, touch-screen to aim, L or R to shoot Instructions for using the model editor: Load P3DModelEditor into Slot 0, and press Start. The model editor launches with a default cube model. The general idea is that you position points, called "vertices", and then connect them with triangles, called "faces". For example, a cube has 8 corners, so it has 8 vertices. Each side of a cube is a square, which requires two triangles to draw, so 12 faces in total. Controls: - A: Start moving vertex; confirm vertex position (Vertex mode). Confirm selected vertex (Add Face mode) - B: Cancel moving vertex (Vertex mode) - X: Select next vertex/face - Y: Select previous vertex/face - L: (hold) Increase movement speed (while moving vertex in Vertex mode) - R: (hold) Decrease movement speed (while moving vertex in Vertex mode) Touch screen controls should be mostly self-explanatory.- To create new vertices, press "Add Vert" while in Vertex mode.
- To create new faces, press "Add Face". Select the first vertex and press "A". Repeat for two more vertices. When three have been selected, a new face (triangle) is created that connects the three selected vertices.
- The RGB sliders can be used to edit the color of the selected face in Face mode. They have no effect in other modes.