Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (799)
Games in Android Showcase (237)
games submitted by our members
Games in WIP (865)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  LWJGL3FX - A sneak peek  (Read 41851 times)
0 Members and 1 Guest are viewing this topic.
Offline whitewoodcity

Junior Devvie


Medals: 3
Projects: 1



« Reply #30 - Posted 2018-10-07 23:33:07 »

Last I heard (I can't find a link atm, but it was from JavaFX maintainers), they're considering a native Metal backend on macOS. They'd have to ship with MoltenVK for a Vulkan backend and I don't think they're interested in that. However, unless Apple decides to suddenly kill all OpenGL apps out there, the current OpenGL support on macOS is more than enough for what JavaFX needs. It's not like they'll magically gain performance from Metal, without refactoring the frontend.

On LWJGL3FX, I've had a nightmarish summer and a hellish September at work (worth it though). The little free time I had left went to LWJGL maintenance. I'll report any real progress asap.

In other news, CEF's #1006 was finally merged a few days ago. D3D only for now, but one can hope...

Hi Spasi, you said "I had written a Prism backend (the part of JavaFX that does the actual rendering) using LWJGL 3. "
Would you mind sharing this part of code in Github?
It would be helpful for other people who is interested in expanding prism implementation e.g. me Smiley
Offline Spasi
« Reply #31 - Posted 2018-10-08 08:03:59 »

Would you mind sharing this part of code in Github?

I'm not comfortable with sharing it just yet, because the current implementation is based on JavaFX 8, which is not GPL-licensed like OpenJFX. Once the migration to OpenJFX is done, there will be a public fork under the LWJGL organization.

edit: Just heard of another effort underway, from BestSolution:

Quote
currently doing a PoC to integrate native rendering (OpenGL and D3D) into OpenJFX.

So far our progress is very good and we hope we can share something very soon.
Offline hanslovsky

Junior Newbie





« Reply #32 - Posted 2018-10-12 14:40:40 »

That's great news. We have a visualization tool for 3D data (2D cross sections and mesh rendering) that is written in JavaFX and we think that one of the bottle neck is copying textures onto the Graphics Card in the application thread (as far as we understand) as well as the lack of texture sharing between different image views/3D. This sounds very exciting!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline whitewoodcity

Junior Devvie


Medals: 3
Projects: 1



« Reply #33 - Posted 2018-12-06 11:07:20 »

https://tomsondev.bestsolution.at/2018/12/04/announcing-efxclipse-driftfx-integrating-native-rendering-pipelines-into-javafx/

seems like e(fx)clipse provides an very nice alternative solution?
Offline princec

« JGO Spiffy Duke »


Medals: 1128
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #34 - Posted 2018-12-06 13:04:42 »

Hmmm interesting. I think we'll be needing it to be part of OpenJFX 11 to take it properly seriously though.

Cas Smiley

Offline Displee

Junior Newbie





« Reply #35 - Posted 2019-02-12 20:26:52 »

What's the current status?
Offline Spasi
« Reply #36 - Posted 2019-09-08 20:20:15 »

The lwjgl3 driftfx branch now includes bindings for DriftFX, can be used like this: HelloDriftFX. WIP and performance is bad (see this post for details), but it works.
Offline orange451

JGO Kernel


Medals: 544
Projects: 8
Exp: 8 years


Your face? Your ass? What's the difference?


« Reply #37 - Posted 2019-09-09 19:24:36 »

@Spasi
Although heavily WIP, will this work on Mac? If not now, is it possible in the future?

First Recon. A java made online first person shooter!
Offline Spasi
« Reply #38 - Posted 2019-09-09 19:58:44 »

Yes, DriftFX has a macOS/CGL implementation. One issue is that currently DriftFX creates an OpenGL 4.1 core+debug profile context on all platforms and there's no way to change/configure this.
Offline orange451

JGO Kernel


Medals: 544
Projects: 8
Exp: 8 years


Your face? Your ass? What's the difference?


« Reply #39 - Posted 2019-09-09 20:01:41 »

Does this mean that the window is managed by DriftFX(JavaFX)? instead of GLFW? If so, that's pretty interesting. I'll have to prepare my engine for this. I really hope I can adopt JavaFX!

First Recon. A java made online first person shooter!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Spasi
« Reply #40 - Posted 2019-09-10 06:50:04 »

Yes, GLFW is not involved at all. The window is managed by JavaFX. DriftFX provides a node (DriftFXSurface) that you can add to a JavaFX scene, with an associated OpenGL context and a "framebuffer" texture. The context is supposed to integrate with the JavaFX rendering backend (even Direct3D on Windows), copying the framebuffer to JavaFX without leaving the GPU.
Offline orange451

JGO Kernel


Medals: 544
Projects: 8
Exp: 8 years


Your face? Your ass? What's the difference?


« Reply #41 - Posted 2019-09-10 15:18:48 »

That sounds like exactly what I need. hah. Fingers crossed Smiley

First Recon. A java made online first person shooter!
Pages: 1 [2]
  ignore  |  Print  
 
 

 
Riven (201 views)
2019-09-04 15:33:17

hadezbladez (4922 views)
2018-11-16 13:46:03

hadezbladez (1815 views)
2018-11-16 13:41:33

hadezbladez (5196 views)
2018-11-16 13:35:35

hadezbladez (1025 views)
2018-11-16 13:32:03

EgonOlsen (4397 views)
2018-06-10 19:43:48

EgonOlsen (5230 views)
2018-06-10 19:43:44

EgonOlsen (2973 views)
2018-06-10 19:43:20

DesertCoockie (3876 views)
2018-05-13 18:23:11

nelsongames (4308 views)
2018-04-24 18:15:36
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!