This page serves as a starting point for discussion of the new prototype Editor for generating 2D meshes for Nek5000. A new Editor in NiCE will be created, and it will use jMonkeyEngine 3 to create 2D meshes.
Eclipse Views
jMonkeyEngine 3
Primary Components
Below are the primary components the user sees and/or interacts with in the jME display.
- Player - The player is restricted to the terrain grid. When the player moves, the camera should move with the player. You can consider the player to be at the very center of the camera's frustrum.
- Camera - Centered on and locked to the player, the camera looks down on the xz-plane. It can be zoomed in and out.
- Cursor - The cursor is the primary interaction tool available to the user. It can be moved freely, but it should generally be visible to the camera.
- Grid - The grid is the backdrop. You can think of it as the terrain upon which the player moves.
- Element(s) - These are the geometric figures (quads or hexes) the user can generate and manipulate.
Notes
Player
Camera
Cursor
Grid
Elements
Open Questions
This section is for unanswered questions that need to be addressed in the prototype.
- What is the best way to handle turning element edges into curves? We need to consider hit-testing between the cursor and the edge and how to present the change to the user, e.g., Visio-style markers that you can drag from the two end-points to alter the curve.