scenerygraphics / scenery

Flexible VR Visualisation for Volumetric and Geometric Data on the Java VM, powered by Kotlin and Vulkan.
https://scenery.graphics
GNU Lesser General Public License v3.0
131 stars 32 forks source link

Separation of concerns between core renderer and UI features #164

Open ctrueden opened 6 years ago

ctrueden commented 6 years ago

E.g. caller creates a JOGL GLJPanel and a Scenery scenegraph. Then hands them to Scenery for rendering.

See this conversation on Gitter for details.

skalarproduktraum commented 4 years ago

Hi @ctrueden,

I believe this has been addressed in a -- hopefully -- similar way to what you envisioned: You can create a SceneryPanel now and hand that to the renderer, which is supported both by Vulkan and OpenGL. Good enough?

ctrueden commented 4 years ago

@skalarproduktraum Thanks for working on it! I cannot recall the details anymore, so have no opinion at the moment. CC @tpietzsch @kephale, who were also part of that chat at the time.

tpietzsch commented 4 years ago

I was more envisioning a scenario where the caller is in full control of all opengl/input/etc handling and just uses scenery for rendering a scene. Like: here is a GLContext, here is a scene, render it once, now.