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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.