Well, I haven’t posted here in a long while… been out arguing with everything including myself. How’s it going, readers? Are ya’ll building every 3D thing you ever dreamed-about? Yeah? Gooood.
Other than Oimo work, I’ve been thinking about GUI, lately. In a recent playground series, I have been testing a thing I call “cach flow”. It is a diagram that I “imagined-up”… from a user question. That’s irrelevant. The first nice-working version… is this #14 PG. It got a bunch of engine.onResizeObservable additions from a forum friend/helper, and now it does quite well when canvas size changes. I like it.
I went-on to do more torturing in pg #15… sliding-around the advancedDynamicTexture (master/root full-screen GUI container), to see how well my diagram held-up. Pretty ugly.
I needed to clean-up my hard-coded positions, and use more “derived” positions. Pg #16 does a pretty good job… except for ‘target’.
Target… is a little ellipse defined at line 55. It hangs-out at the intersection of Eastwest Blvd, and Northsouth Av. It… is still having problems with its position during the slides. Help/ideas welcome, there.
On a completely different subject (except for the similarities), I was thinking about grids of grids… of grids… of grids… the making of HIGHLY DETAILED dashboards/control-panels. We’re talking tiny LED indicator lights and micro switches, and readouts, and little radar view, and little infrared view, and knobs, and widgets, and labels, and doohickies… till ya vomit! Something that just COULD NEVER EVER be operated on a mobile device… at least not without a needle-like stylus.
I’m thinkin’ … 200 controls on a half-screen-height dashboard (some controls are little LED’s that only change color and don’t need clicking/sliding.) All within grids of grids of grids. Would a guy need a manager? Could we get syntax such as… adt.radar.range.sensitivity.autoswitch = true? Kind of “Fluent”-ish? I dunno… I barely know what Fluent is about.
Could a “manager” assist us “dashmasters” with building custom observers that “bind” switch.value… to its switch.indicatorLight.value? Sort of a “back side of the panel” binding/patching? A special kind of notifyListeners… super easy to patch-together… thanks to the manager’s “patch panel”? Wow! Perhaps not apropos, because switch needs an onChange handler ANYWAY. Just toggle its indicator light… within there. I suppose the indicator light could be a member of the switch’s onChange notifyList. Sounds sane and logical.
Complex Grid Manager v.01 hmm. Who will invent the manager that creates our first ever complex dashboard-o-micro-controls? C’mon, ya KNOW ya want to build it. I think @Deltakosh? still holds the record for most controls on a single adt… https://www.babylonjs-playground.com/#WZZDNR#7
Lookups might matter… but maybe we have an ADT.getControlByName() feature… already active.
What if… the grid/cells can stretch beyond idealWidth and idealHeight… but the controls within the grid-cells… don’t stretch. hmm. Rough area of town. Rubbery canvas size… sucks, eh? It makes a person wonder if .thickness can accept micro-percentages (so borders get thinner/thicker with scalings).
What’s that? It didn’t make you wonder about that… at all? uhn.
Ok, that’s enough Wingnut blabbering for now. Party on! Stay orthoganous to your tobogganous!