[LDPartEditor] Third Party Library Struggle
2016-09-03, 15:33 (This post was last modified: 2016-09-07, 21:24 by Nils Schmidt.)
2016-09-03, 15:33 (This post was last modified: 2016-09-07, 21:24 by Nils Schmidt.)
Hi,
LDPartEditor uses third party libraries as you may know.
During the development I do third party library updates from time to time.
I need 17 different libraries for each release plus several native libraries for each operating system (to provide native OpenGL and native GUI support).
SWT and LWJGL are the main third party libraries that are crucial to run LDPE.
With a release of a new operating system I likely need a new library version.
Well, there is a nice saying:
If it ain't broke, don't fix it.
But this won't help for the long term. Unfortunately, I cannot update to newer libraries now.
A new library breaks LDPE, which is quite annoying.
I probably have to update the third party libraries to support Windows 11, 12, 13... in the future.
The extreme solution would be to re-implement LDPE with JavaFX, while replacing LWJGL with JavaFX 3D.
Sadly, this is impossible, because JavaFX has no StyledText component yet, which is required for LDPE's text editor.
Another possible, but crazy solution would be to implement my own widget toolkit from scratch and do the rendering with OpenGL (like LDCad does).
Don't get me wrong. I like SWT and LWJGL. They are both very good libraries.
Leg godt
Nils
LDPartEditor uses third party libraries as you may know.
During the development I do third party library updates from time to time.
I need 17 different libraries for each release plus several native libraries for each operating system (to provide native OpenGL and native GUI support).
SWT and LWJGL are the main third party libraries that are crucial to run LDPE.
With a release of a new operating system I likely need a new library version.
Well, there is a nice saying:
If it ain't broke, don't fix it.
But this won't help for the long term. Unfortunately, I cannot update to newer libraries now.
A new library breaks LDPE, which is quite annoying.
I probably have to update the third party libraries to support Windows 11, 12, 13... in the future.
The extreme solution would be to re-implement LDPE with JavaFX, while replacing LWJGL with JavaFX 3D.
Sadly, this is impossible, because JavaFX has no StyledText component yet, which is required for LDPE's text editor.
Another possible, but crazy solution would be to implement my own widget toolkit from scratch and do the rendering with OpenGL (like LDCad does).
Don't get me wrong. I like SWT and LWJGL. They are both very good libraries.
Leg godt
Nils