My main use for the middle button is opening urls in a new tab (instead of control-left click).
I bought a 3 button mouse for my Amiga a long time ago. The amiga mouse port supported it, but the mouse actually hard wired the left and middle buttons as just left.
I hacked it (cut pcb tracks and added external wires) to make it a real 3 button mouse. :)
A little experiment for a tool idea a student and I had.
It's a screenshot annotation tool that lets you draw and erase over the unity scene using the mouse.
The idea is to make a play testing tool where your testers can hit the screenshot key to save a screenshot, but it first lets them draw over the top to make notes. If they see a level flaw or something, screenshot it with an arrow pointing at the issue.
Maybe text entry too, but drawing is enough for now.
I realise now I made a mistake (been working with mainly 2D for too long).
I exported the depth values from the cubemap directly into the equirectangular panorama, but somehow forgot they are camera plane distances, not camera distances. So they need adjusting as they get closer to the cube edges.
It should still be pretty close though.
I've done image effect depth texture stuff in Unity before, but it was a bit trickier to get going this time since I'm rendering a temporary camera into faces of a cube map render texture that is post processed into equirectangular projection.
I've now got a depth texture from it too. I can use this to displace vertices of the sphere used to render the panorama in VR.
Cons: it won't look as good as a stereo panorama.
Pros: it will work with any head tilt, stereo panoramas need 0 tilt otherwise your eyes separate.
The side on view. Shadows are a bit messed up before rotating into position, but it was a quick hack.
Here's the full lineup. Yes, I know some of the dogs aren't actually dogs, I didn't pick the models. :)
This was for a student mobile game.
It was an A-Life simulation (sheep and wolves). But the sheep model wasn't rigged and just slid around. So I made them dance.
The red line isn't it's destination, it's the starting point. The red creature is the one that has moved the most from it's origin, that one was winning but went backwards and was no longer the best.
20 years as a games programming lecturer.
Oculus community moderator.
Languages: primarily C++, lot of C#, plus Lua and Ruby. But used MANY over the last 37 years.
Mastodon server focused on game development and related topics.