Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second Brain WebView - 3D rendering issue #77

Open
tomastiminskas opened this issue Oct 10, 2022 · 5 comments
Open

Second Brain WebView - 3D rendering issue #77

tomastiminskas opened this issue Oct 10, 2022 · 5 comments

Comments

@tomastiminskas
Copy link
Collaborator

We are using javafx.web from the org.openjfx.javafxplugin to load tribe web pages inside a WebView in Sphinx app.

We are using the latest version for the plugin

javafx: version 19
org.openjfx.javafxplugin: version 0.0.13

The webpage at the Second Brain tribe is not loading. There seems to be an issue with javafx.web and canvas 3D rendering.

This is the webpage with the 3D canvas that causes the problem: https://second-brain.sphinx.chat

@MathRoda
Copy link

MathRoda commented Dec 3, 2022

image
I'm able to render Second Brain using chromium, the issue in JavaFX itself not supporting WebGL
the solution is to use Chromium Embedded Framework (CEF)
which allow you to render modern web-based UIs inside a Java application.

in the screenshot above i did use Equo Chromium Library their free trial which did simplify the implementation process for testing

but you can totally use JCEF Maven - apache-2.0 License

@pitoi
Copy link
Contributor

pitoi commented Dec 3, 2022

!

@kevkevinpal
Copy link

kevkevinpal commented Dec 5, 2022

@MathRoda could you write out some steps to get this implemented in the multiplatform koltin app?

I'm not familiar at all so I'm not sure where to start

@tomastiminskas
Copy link
Collaborator Author

Just saw this. If @MathRoda can try to get the JCEF Maven - apache-2.0 License implemented and working it would be great. I can help testing whenever it's ready. And then we might need to review the javascript bridge integration with this new way of rendering the second brain web

@MathRoda
Copy link

MathRoda commented Dec 5, 2022

@kevkevinpal @tomastiminskas i'm also not super familiar with JCEF Maven - apache-2.0 License but i've read a bit of the documentation and i think i'm able to get it work
i'll let you guys know when implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants