Deltakosh

Announcing Babylon.GUI

Recommended Posts

Hey all,

I'm really pleased to announce the availability of Babylon.GUI.

http://doc.babylonjs.com/overviews/gui

In a nutshell, Babylon.GUI is a GUI layer which can be used inside your scene. It is an alternative to DOM or Canvas2D.

Please try it and give me any feedback :)

Share this post


Link to post
Share on other sites

button with only a image ?

must more easy, not must use text, for internacionalicity of gui (languages)

a icon can more expressive... 

babylonGui.png

the images/graphics more easy that text (programer art ;) )

Share this post


Link to post
Share on other sites

I like it so far.

In the future, would it be possible to be able to dynamically scale the elements based on distance from the camera?

Or is this functionality already present? If it has a width and height of, let's say, 40px and a distance of 20 units from the camera, I would like to scale it to 0.5, or maybe set the h/w to 20px, when the units increase to 20. And of course everything in between.

Share this post


Link to post
Share on other sites

I had not seen. It's cool. And for a selector of options and text fields as the textarea in html?

I forget the progress bar can be done as a slider bar but without the cursor.

Share this post


Link to post
Share on other sites

Great work on the GUI so far @Deltakosh!

I have a small enhancement request. Would it be possible with radios and checkboxes to make the corresponding label also clickable, same as it is in HTML when <input> is wrapped with <label> or <label> uses "for" attribute?

This would provide a larger hit target for radios and checkboxes, which is especially important in a VR environment.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.