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

Add support for other LWJGL- and OpenGL versions #13

Open
javagl opened this issue Jan 14, 2017 · 3 comments
Open

Add support for other LWJGL- and OpenGL versions #13

javagl opened this issue Jan 14, 2017 · 3 comments

Comments

@javagl
Copy link
Owner

javagl commented Jan 14, 2017

Based on the discussion in #11 (comment) there are two tasks that would help to increase the number of supported platforms:

  1. Adding support for LWJGL3. As a replacement of the AWTGLCanvas that was removed in LWJGL3, the https://github.com/httpdigest/lwjgl3-awt could be used. A pressing reasons for an update to LWJGL3 (or rather: for an additional viewer implementation based on LWJGL3) could be when someone wants to use the viewer in his own "standalone" progam that is already based on LWJGL3
  2. Retrofit the existing viewer implementations so that they only need OpenGL 2.0. This should be easy, because except for vertex array objects, all the functionalities that are currently used have already been available in OpenGL 2.0.
@javagl
Copy link
Owner Author

javagl commented Jan 15, 2017

I created a basic implementation of a viewer based on LWJGL 3 and lwjgl3-awt. It is not yet committed, but basically seems to work. It may be added with one of the next (preview) releases.

@javagl
Copy link
Owner Author

javagl commented Jan 16, 2017

Combining LWJGL2 and LWJGL3 in one package may turn out to be far more difficult than it should be. The native library has the same name in both cases. Both are called lwjgl.dll....

@javagl
Copy link
Owner Author

javagl commented Jan 16, 2017

Based on some disucssion in LWJGL/lwjgl3#269 (comment) , the support for LWJGL3 is deferred for a while. I'll probably add the current state later, together with a "mini demo" to show that it basically works (on Windows), but not yet include it as an alternative rendering backend for the next jgltf-browser release.

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

1 participant