ScenePartition Tool Interface #7

Open
opened 2023-06-30 03:59:19 +02:00 by max · 2 comments
Owner

Move all logic from ScenePartitionSO into either ScenePartition or the ScenePartitionEditor.
The editor can detect the open scene to work with (this also prevents having the user having to select the right data).

ScenePartitionSO would then be used for scene specific data that needs to be stored by version control like:

  • 'AlwaysLoadedIds' this could be a simple array or something with layers/groups
  • ...

ScenePartitionEditor would then be the interface to use with the tool

  • Automatically loads/generates based on the active scene (only check active and focus on one for if multi scene is used)
  • Load/Save/Unload etc. buttons
  • 2D grid to load cells/chunks
  • Any debug info
  • Automatically finds the corresponding ScenePartitionSO file
Move all logic from ScenePartitionSO into either ScenePartition or the ScenePartitionEditor. The editor can detect the open scene to work with (this also prevents having the user having to select the right data). ScenePartitionSO would then be used for scene specific data that needs to be stored by version control like: - 'AlwaysLoadedIds' this could be a simple array or something with layers/groups - ... ScenePartitionEditor would then be the interface to use with the tool - Automatically loads/generates based on the active scene (only check active and focus on one for if multi scene is used) - Load/Save/Unload etc. buttons - 2D grid to load cells/chunks - Any debug info - Automatically finds the corresponding ScenePartitionSO file
max added this to the ScenePartition POC project 2023-06-30 03:59:19 +02:00
Author
Owner

image

Maybe create the base user interface as a scene menu. this way the users don't have to keep an separate window open and everything is quick to access. I think we still need the dedicated window to show detailed info when needed, but a lot can be done just though a few buttons.

Buttons needed:

Button Info
Create Opens popup to create a new scene partition for the current scene. Only visible when the current scene is not yet setup, all other buttons will be hidden as well.
Load Loads the entire scene.
Save Saves the scene.
Unload Unloads the scene.
Reload Reloads the scene.
Generate Grid Generateds the scene grid. With size input (simple uint).
![image](/attachments/2d017125-97bf-4d77-aa99-c602bb4e3b8b) Maybe create the base user interface as a scene menu. this way the users don't have to keep an separate window open and everything is quick to access. I think we still need the dedicated window to show detailed info when needed, but a lot can be done just though a few buttons. Buttons needed: | Button | Info | | --- | --- | | Create | Opens popup to create a new scene partition for the current scene. Only visible when the current scene is not yet setup, all other buttons will be hidden as well. | | Load | Loads the entire scene. | | Save | Saves the scene. | | Unload | Unloads the scene. | | Reload | Reloads the scene. | | Generate Grid | Generateds the scene grid. With size input (simple uint). |
4.3 KiB
max self-assigned this 2023-07-28 00:57:30 +02:00
Author
Owner

Split into 2 tasks #12

Split into 2 tasks #12
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: max/ScenePartition#7
No description provided.