3 ms·
Neat! Reminds me that I once made something similar, except in 3D. https://andyhall.github.io/glsl-projectron/viewer-vermeer.html https://andyhall.github.io/gl
by fenomas 6y ago
Neat! Reminds me that I once made something similar, except in 3D.
https://andyhall.github.io/glsl-projectron/viewer-vermeer.html https://andyhall.github.io/glsl-projectron/viewer-vermeer.ht...
(open the link and then click/drag the image)
- hmsimha 6y agoThis is really cool! I'd be interested in seeing what it looks like to fully drag the image 180 degrees (but can't because the camera resets as soon as the mouseup event fires). Would you accept a small PR to the demo page which does this via a control button instead of on mouseup?
- fenomas 6y agoThanks! Actually I just pushed a fix to make the drag work outside the canvas. No idea why it wasn't that way to begin with. The really cool thing someone suggested back in the day was, to have it try to match two different images from two different angles. But I never quite found the time to tackle that ;D
- rh12503 6y agoThis is amazing! Is there any way to download this in a 3D file format?
- fenomas 6y agoThanks! The answer is: sort of, but not really. The maker page[1] has an "export data" button that writes out the vertex data (as a big series of RGB/XYZ values), which you could easily convert to whatever format. But if you rendered the data somewhere else, you wouldn't get the right effect unless you replicated the perspective/FOV that I used (which are completely ad-hoc because I had no idea what I was doing). So currently there's no super-easy way to take the data somewhere else and do something useful with it. [1] https://andyhall.github.io/glsl-projectron/index.html https://andyhall.github.io/glsl-projectron/index.html