weBIGeo / webigeo

Rendering system for weBIGeo.
GNU General Public License v3.0
4 stars 0 forks source link

Engine property set for GUI generation #16

Open pkomon-tgm opened 4 months ago

pkomon-tgm commented 4 months ago

Different engine implementations might support different effects with different parameters (lets call them"properties"). It would be nice, if the app implementation could generically generate a user interface (using imGUI) for a set of engine properties.

There might be properties that are also used by the app - this would be a set of properties that the app would require every engine to supply. For now, we can ignore this tho, because we couldn't come up with a use-case for this so far. We can just add it when we actually need it.

Things to be done:

GeraldKimmersdorfer commented 4 months ago

Just thinking out loud: I've used a similar property implementation in two of my projects. It also allows for the extension of animations on those properties. Don't know if relevant for this project but it's cool.

Furthermore if they are somewhat generic it should be easy to implement those in different GUIs (QML, HTML, ImGUI)

pkomon-tgm commented 4 months ago

Perfect, then we can start off with your existing implementation and iterate on it whenever we need something not yet supported by it. It also depends on under what license you published your projects (but I guess we are fine here ^^)

Agreed, tho I think we should stick to ImGUI for now.