Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI System #23

Open
22 of 44 tasks
Syncaidius opened this issue Mar 20, 2022 · 3 comments
Open
22 of 44 tasks

UI System #23

Syncaidius opened this issue Mar 20, 2022 · 3 comments
Assignees
Labels
ui User-interface related issue
Milestone

Comments

@Syncaidius
Copy link
Owner

Syncaidius commented Mar 20, 2022

This issue is for tracking progress on the UI system. Feel free to post any suggestions here also.

Core:

Elements:

@Syncaidius Syncaidius added this to the Alpha 0.1 milestone Mar 20, 2022
@Syncaidius Syncaidius self-assigned this Mar 20, 2022
@Syncaidius Syncaidius pinned this issue Mar 20, 2022
@IceReaper
Copy link
Sponsor

Maui has some classes which reflect the CSS FlexBox and Grid layout systems. They are extremely powerful, but sadly most UI frameworks around only come along with the standard stack / row / column / table layouts. Might be worth a look to eventualy implement?

@IceReaper
Copy link
Sponsor

IceReaper commented Jun 12, 2022

Oh and before i forget it: It would be awesome if its possible to mix up render targets in the engine in some fancy way. Doom3 for example has awesome ui-as-texture implementations, which allow complex uis to be drawn and interacted in the world. Which means if there is a CamerComponent which is able to render the scene using a specific camera into a framebuffer which then is used on an security-camera-ui screen, which again is used as texture on a screen in the scene, which is fully interactible, it gets pretty mighty :)

@Syncaidius
Copy link
Owner Author

Syncaidius commented Jun 12, 2022

@IceReaper The Doom3 ui-as-texture system is something I've been specifically designing the UI to be capable of. There's no working example of it in Molten yet, but the engine is already capable of pulling this off.

Right now the way it would be achieved is by:

  1. Attaching a UIManagerComponent to a SceneObject - This lets you draw a UI into a Scene and will adopt the transform of it's parent SceneObject.
  2. Setup a CameraComponent with it's OutputSurface property set to the RenderSurface you wish to draw the UI to,
  3. Apply camera's RenderSurface to an in-world object/mesh.

Minus any bugs, that should give you an in-world UI.

Hopefully this will become easier over time. I'm glad there is someone else out there who wants Doom3-style in-world interfaces.😄

@Syncaidius Syncaidius added audio Audio-related issue ui User-interface related issue and removed audio Audio-related issue enhancement labels Aug 7, 2022
@Syncaidius Syncaidius modified the milestones: Release 0.9 , Release 0.10 Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui User-interface related issue
Projects
Status: Todo
Development

No branches or pull requests

2 participants