https://www.babylonjs-playground.com/#14MFVB#18
I added an on-screen ‘@Givo Chromebook Consolette’ to the GUI 2d “wrap”. Drag the orange rectangle box (if you can get it moving AT ALL). You can see it used to monitor diff in line 75. (console.out)
Lots of vertical “line space” between each outputted line … on the gui2d “consolette”. Pretty badly coded… and probably a waste of time, since f12 console works fine, too (except for student Chromebook coders with disabled JS consoles).
Really, the consolette needs to be placed on a nice flat rectangle or on a full-screen gui2d. adt #2.
Anyway, I am preparing to see what the hell is wrong with my rect mover/dragger. It’s jerky… gets stuck. badly-offsetted pointer, etc. Dragging/dropping the orange border rect… is not working smooth at all. Not only that, but using GUI2d to do this “select a clip of texture”… is maybe the wrong approach or destined to fail… dunno. Help/advice welcome… always.
Wingy feeling-around in the dark… aimless… clueless… dragging around GUI controls with a mouse… using .top and .left values well into the negatives and expecting “drag-wrap” around a sphere? Geez, if something COULD explode… I have certainly invited it with open arms. heh.
On another course, our MeshBuilder.CreateSphere has lots of power… easily making slices of spheres and other semi-sphere configs. Dragging a “piece of sphere”… across/around a “world globe”… maintaining “eccentricity” as the drag happens… THAT could be done, too… maybe… semi-transparent slice. Still, this doesn’t really address the issue of letting users select corners. But it does open option for letting them “size” the semi-sphere. Then say goodbye to gui2d and hello to something else.
“Dragging items around the world!” International drag! Gotta love it. The digital version of trucks, planes, trains, and ships.
What’s that you say? Oh. Yeah, weather jet-streams, too. They also do international dragging.