Although it has been quiet around Swogl for nearly two years now, I recently have continued the development. It actually is a larger refactoring.
In the current version of Swogl, the whole structure of programs using Swogl was basically predefined by the SwoglContainer. One could only create a Swogl application to show SwoglComponents, but it was not possible to integrate Swogl into existing applications or add custom rendering code. This issue was also mentioned in the thread RFE: Custom rendering and initialization in SwoglContainer.
Additionally, the possibilities for interacting with SwoglComponents and the “scene” containing the components was very limited and not really configurable. The behavior and control of the 3D layout managers was predefined, as well as the behavior of the camera, and there was no way to influence it, as described in RFE: Provide a public Camera interface.
The recent development mainly addressed the first issue: It should be possible to customize the rendering and scene setup. But this is only a small aspect of the primary goal of the current refactoring, namely to make Swogl more universally applicable. One intention is to let Swogl work together with arbitrary renderers. It should be possible to use Swogl with JOGL, LWJGL, or own renderer implementations. But it also refers to the desired possibility to integrate Swogl into existing applications.
The current development state has been summarized in a small preview on
Note that this preview is not final, not completely documented, and does not yet contain layout managers or any real interaction possibilities. It is solely intended as a preview for the new API to integrate Swogl into existing applications, and to use different renderers as the Swogl backend.
However, any early feedback and suggestions for the further development are welcome.
EDIT: Updated the link