Almas Baim (@almasbaim) 's Twitter Profile
Almas Baim

@almasbaim

Principal Lecturer, Computing & Robotics Lead at Brighton University. Author of #FXGL game engine. #Java #JavaFX #Kotlin open sourcerer. Computer Science PhD.

ID: 851155338078412801

linkhttps://github.com/AlmasB calendar_today09-04-2017 19:30:21

2,2K Tweet

1,1K Followers

97 Following

WhiteWoodCity (@whitewoodcity) 's Twitter Profile Photo

I made it, I made it Successfully use #vulkan to create a triangle and then export to the #javafx writable image to display it. souce code: github.com/chengenzhao/ja…

I made it, I made it
Successfully use #vulkan to create a triangle and then export to the #javafx writable image to display it.
souce code: github.com/chengenzhao/ja…
Almas Baim (@almasbaim) 's Twitter Profile Photo

#JavaFX #FXGL Song: Made with Suno and ChatGPT Just a quick test for entertainment purposes, but Suno is really awesome for a non-design person like me! youtu.be/0YR81_ft_s0?si…

Almas Baim (@almasbaim) 's Twitter Profile Photo

We've had FFI in Java for a bit of time now. Anyone got or planning custom shader support library for #JavaFX #FXGL? If not, then

Almas Baim (@almasbaim) 's Twitter Profile Photo

Now that the proof-of-concept works, the next thing is to try and get some use cases tested. This is a first example showing multiple shaders in a single scene graph. Eventually, we'll be able to store shaders in just a plain java String. #FXGL #javafx

Almas Baim (@almasbaim) 's Twitter Profile Photo

A sneak peek into shader support development: binding FXGL properties to GLSL uniform variables. This means devs not only compile shaders from Java layer, but also control shader behaviour from Java. #FXGL 25 DevStream: Adding Shaders to #JavaFX youtu.be/xHKnz9DQ2wA?si…

Almas Baim (@almasbaim) 's Twitter Profile Photo

A minimal example of the user code with 2 shaders and the resulting visual. Each GLImageView is driven by a GLSL shader. Using FXGL properties, any uniform variable can be set directly, at runtime. Those with a Windows box will be able to play with this shortly. #JavaFX #FXGL

A minimal example of the user code with 2 shaders and the resulting visual.

Each GLImageView is driven by a GLSL shader. Using FXGL properties, any uniform variable can be set directly, at runtime.

Those with a Windows box will be able to play with this shortly.

#JavaFX #FXGL
Almas Baim (@almasbaim) 's Twitter Profile Photo

Any shader resolution up to 1080p is now supported. Not particularly happy with performance (the demo below is 720p, an integrated Intel UHD), but I hope we can improve on that. Native code is up, Maven snapshot release tomorrow: github.com/AlmasB/FXGL/bl… #JavaFX #FXGL

Almas Baim (@almasbaim) 's Twitter Profile Photo

First public demo of #FXGL shaders is available: github.com/AlmasB/FXGL-Sh… If you are on Windows and feel bored, give this demo a try and play with different shaders. If anything fails / crashes / doesn't work, please report an issue on the main FXGL repo. #JavaFX Max Rydahl Andersen

First public demo of #FXGL shaders is available: github.com/AlmasB/FXGL-Sh…

If you are on Windows and feel bored, give this demo a try and play with different shaders. If anything fails / crashes / doesn't work, please report an issue on the main FXGL repo.

#JavaFX
<a href="/maxandersen/">Max Rydahl Andersen</a>
Almas Baim (@almasbaim) 's Twitter Profile Photo

There are some really cool shaders available online. Here's one from shadertoy.com/view/XfyXRV The demo shows a property bound to a shader variable, hence the ability to control the rotation speed. The glass effect and reflections are just🤩 #JavaFX #FXGL

Almas Baim (@almasbaim) 's Twitter Profile Photo

One of the use cases I envisaged for a combined JavaFX scene graph and OpenGL context. The majority of the game is rendered by JavaFX / FXGL, but some complex visual effects are done with OpenGL shaders. From performance point of view, this is also sensible. #JavaFX #FXGL

Almas Baim (@almasbaim) 's Twitter Profile Photo

#FXGL 25 will ship with an upgraded integration with MediaPipe hand tracking. The demo below uses a built-in laptop webcam. The demo consumes raw tracking data with no fine-tuning. So improved user experience results are certainly possible. #JavaFX

Almas Baim (@almasbaim) 's Twitter Profile Photo

Just a quick proof-of-concept demo running WebGL inside #FXGL Given native GLSL support is on its way, WebGL support is unlikely to reach production. #JavaFX