Thirdparty extensions

This is a tough one.
First of all, I think that we still have the chance to improve the editing framework in a way that it consumes less power as it is mainly about acting only in very rare moments in time. This, of course, is something we just need to do anyway. The next step I would see is to make it easier to set up these tools without having to worry about keyboard and mouse devices for example.

But your main point is that you’re proposing two modes: edit and run. And tools that work with an always available cast system, scene graph, timeline, automata. In the best case, the system would also allow to plug in third-party extensions, that add to the set of always available data sets, that they can edit in edit mode and just access in run mode.

I believe there is a chance of coming up with something like that.
If done the wrong way, however, we’d break the openness that we know of and value so much (having the option to start with a blank patch).
We also need to make sure that we don’t break modularity by having just one static scene graph, one main automata (…). So there will be a set of scene graphs, automatas (…), that are always there and get managed by the respective editors, which we then would need to refer to from within the patch (to express which scene graph we are interested in). So in that scenario, we’d just have a point cloud accessing node in our patch, but the actual editor(s) would be instantiated at some other place.

At first, setting up something like this could get a bit trickier, but it’s probably worth trying.
To integrate things naturally I would say we shouldn’t invent everything from scratch, but try this idea:

  • user has to root patches:
    • one for editing the project. it includes the globally available editors, they might come with own windows, or they just render themselves by being layers into renderers that are available in both modes. No matter what flavor: these editors only run when starting the project via this root.
    • one for running the project. the root comes with counterparts of the respective tools, that access the same persistent data, load them on startup and provide in the same way as the editor counterparts did
  • other patches in the system ask for specific data sets. Each tool comes with special nodes for that. These could look like: choose scene with a scene node and an enum, choose a point cloud node taking a scene and a string. Or just one node that does both jobs. I guess each tool would do it in a way that fits best.

Having a setup like this would also allow one editor to edit different 3d positions of different elements at the same time (point cloud here, beziers there). All of these tools would come with the idea that you can freely add casts (like bezier curves, automata states, timeline tracks…) via the UI of the editors, but access the data via some key wherever you need it.

What do you think? Would that specification be a solution? Or would the proposed setup make you scream: Thank you! now it’s even more complicated!