Is it possible to create a login form with the 3d engine without using CEgui?

Everything related to 3D programming
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 772
Joined: Fri Dec 04, 2015 9:26 pm

Is it possible to create a login form with the 3d engine without using CEgui?

Post by skinkairewalker »

hello everyone !
Is it possible to create a login form with the 3d engine without using CEgui?

I would like to create my own interface for my game, without using CEGui.
User avatar
minimy
Enthusiast
Enthusiast
Posts: 551
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: Is it possible to create a login form with the 3d engine without using CEgui?

Post by minimy »

Hello, i think you can create it with sprite, using like a canvas.
If translation=Error: reply="Sorry, Im Spanish": Endif
miso
Enthusiast
Enthusiast
Posts: 406
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: Is it possible to create a login form with the 3d engine without using CEgui?

Post by miso »

It's possible, but I'm short on time at the moment, so not going to provide an example right now. (maybe later) There was some foreshadowing, that something is in the kitchen though. Just wait a little longer until it is cooked properly ;)
Post by pf shadoko » Fri Oct 18, 2024 7:49 pm
look forward to the next version of PB
It should bring a new sprite-based UI (so 3D compatible)
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 772
Joined: Fri Dec 04, 2015 9:26 pm

Re: Is it possible to create a login form with the 3d engine without using CEgui?

Post by skinkairewalker »

miso wrote: Mon Feb 10, 2025 8:28 pm It's possible, but I'm short on time at the moment, so not going to provide an example right now. (maybe later) There was some foreshadowing, that something is in the kitchen though. Just wait a little longer until it is cooked properly ;)
Post by pf shadoko » Fri Oct 18, 2024 7:49 pm
look forward to the next version of PB
It should bring a new sprite-based UI (so 3D compatible)
yes, I'm excited to get to this, I can't stop thinking about this feature xD
Nituvious
Addict
Addict
Posts: 1027
Joined: Sat Jul 11, 2009 4:57 am
Location: United States

Re: Is it possible to create a login form with the 3d engine without using CEgui?

Post by Nituvious »

If you want to make your own UI library (WARNING!!! this is extremely addictive) I would suggest looking over the IMGUI source code to get a feel of how event handling would work.
Generally you would want to render your windows/ui components into a single sprite (similar to batching) and only recreate the sprite when a change has occurred(such as a blinking cursor, or the user has hovered over a button) to minimize the amount of draw calls from the cpu to the gpu.

Good luck if you do this, it's extremely fun and you probably won't get much work done for a while. :mrgreen:
▓▓▓▓▓▒▒▒▒▒░░░░░
Post Reply