Hi gang. I have a weird idea/challenge that I want to learn about, and experiment-with.
I wish to surround the edge of the render canvas… with mesh sticks/boxes/tubes… and have them scale length-wise… perfectly, no matter the canvas scaling/sizing (and no matter the cam FOV). (edging)
What are the chances?
I have a difficult time thinking-up the many ways a renderCanvas CAN be resized. The playground is definitely a non-full-screen canvas.
It (the browser) can open F12 dev tools, and a horz drag-able divider demarcates the dev-tools subwindow… which resizes the canvas.
The browser’s window can be restored and drag-sized at that point, too… while the devtools window is open or closed.
Firefox history or bookmarks sidebar can be opened at any time (such as in playground) and that resizes the canvas.
BJS cam FOV can be live-set - not a canvas-resize thing, but still a pertinent consid, and I like these little bullets.
All in all, what are the possibilities for mesh-as-borders for the renderCanvas? Know? I would REALLY like this to be completely air-tight… where ANY method of resizing… dragging, bottom-panes, side-panes. mobiles, phones… CANNOT disrupt the length and placement of these “border tubes” or “edging”.
Do you think BJS could continuously maintain some values FOR US… perhaps on Scene object… of the 4 - 8 values needed?
Is it a calculation? Edges of frustum? An angle between camera and frustum edge… that needs unprojecting? HELP!
Note: Parenting mesh to cam… has already shown to be inconsistent and easily thrown-off by various resolution changes and similar torture.
I would LOVE to accomplish this… for placing 3d borders and particle sprayers around the edges of the render canvas… and have them rock-solid and precise, no matter what type of resizing ever happens.
Extra credit for VR consids. Use mesh border available in GUI 3D full-screen mode? (that’s a weird idea, huh? I’ve never used GUI 3d… yet… especially trying to mesh-border the entire ADT.)
Stereo cam-rigs might need left edge removed for right eyepiece, and right edge removed for left eyepiece. erf. Not sure about that (or about much else).
Thanks for your thoughts, fellow experimenters.