I’ve been exploring using the Babylon JS 3D UI for webXR UI. It seems to be pretty much unusable as it’s missing a whole bunch of features(e.g. can’t add text to a panel only a button, can’t change the appearance of buttons, can’t add 2D UI to a 3D container, etc.). Is this just user error on my part or is the 3D UI basically just a stub that’s not really been implemented yet?
Is it being actively developed and used as UI by anyone ?
Ah I see, thanks. Is that recommended way of doing 3D UI? Could I use that to embed the 2D UI into something like HolographicBackplane (when I just swap out the plane for HolographicBackplate in your example, the 2D UI does not appear)
Those are 2D components, not 3D components. Is the recommended approach to add them to the 3D component via AdvancedTexture? I have been experimenting with that, but it doesn’t seem to work. At least not with the Holographic… 3D components I was hoping to use.
If I recall we either used and ADT on a plane or built meshes. You could build physical meshes to use though and deploy your own “buttons” that just swap out mesh states on interactions take a look at the section on how to make your own elements, I think most of that would just be handled in its build function.
Oh, I see what you mean now. I used the Holographic Button a couple years ago and you are right, there aren’t many holographic components (maybe only button and panel?)
As @Pryme8 mentioned, you might need to implement your 3d components.
@griffin@Deltakosh sure is usable and its awesome! We use it for the fender guitar customizer for spatially coherent UI elements that track with the 3D assets. Works really great and super easy/flexible setup. We dont currently have an XR setup but we’ve got some cool plans for that in the future!
Though even if you don’t stick to Holographic components there doesn’t seem to be enough types of 3D components (and functionality in the ones that exist) to implement very much. Like how would implement drop downs, labels, etc. in 3D components?