B4J Question WebGL

luke2012

Well-Known Member
Licensed User
Longtime User
Hi all,
I have a project based on WebGL library. Is it possible to porting it within a desktop (and tablet) app using OpenGL library (or other supported B4J libraries) ?

Thanks in advance for your help.
Luca.
 

max123

Well-Known Member
Licensed User
Longtime User
@luke2012 I'm happy to inform you that now the B4J WebGL library is out, I wtote it and release on the forum probably today.

Note that with this library you cannot show a 3D render on JavaFX form, instead it expose the scene over HTTP server and you can access with any browser,
this is because native JavaFX WebView do not expose WebGL.

I'm happy to inform you that I even developed the same library for B4A and here, because Android WebView support natively WebGL, the 3D scene can be viewed on it inside the app, in fullscreen or fully resizable, it use a WebView like a canvas but fully 3D accelerated.

These libraries are based on full THREEJS implementation, fully exposes WebGL1, WebGL2 and WebGPU, completely hardware accelerated and they can do incredible things with an incredible power.

To know what you can do with it, you can try some original examples here, they all works on my WebGL library.
https://threejs.org/examples/#webgl_animation_keyframes

Stay tuned....
 
Last edited:
Upvote 0
Top