News for hackers. Stuff that matters.
Re:Show HN: Reverse perspective camera for OpenGL (Three.js) by bntr on Monday November 10, 2025 @05:41AM (#45874598)
I've extended the standard OpenGL camera to allow smooth transition between normal perspective, orthographic, and reverse perspective projection. To demonstrate the effect, I built a demo using Three.js.

Reverse perspective can feel a bit disorienting at first, but this demo is meant to highlight a few of its interesting advantages:

1. An extended Dolly zoom effect. https://en.wikipedia.org/wiki/Dolly_zoom

You can think of it as an extrapolation of the classic Dolly zoom into negative space. It produces a cinematic sense of vertigo or sudden insight, and also lets you pull the camera back from an object without distracting the viewer with surrounding geometry.

2. A wider and more complete spatial view.

Near objects no longer obscure distant ones; the viewer can see both the façade of a building and what’s happening on its roof, or even behind it.

Code and details: https://github.com/bntre/reverse-perspective-threejs

Re:Show HN: Reverse perspective camera for OpenGL (Three.js) by tobyhinloopen on Monday November 17, 2025 @11:30AM (#45955131)
Link to live demo linked on the github -> https://bntre.github.io/reverse-perspective-threejs/

Well that is just the right amount of nauseating, trippy and interesting

Re:Show HN: Reverse perspective camera for OpenGL (Three.js) by bntr on Tuesday November 18, 2025 @02:13AM (#45962259)
For an extra dose of nausea, there's also a cross-eye stereo version: https://bntr.planet.ee/temp/rp/

(Alt + mouse wheel changes the eye distance)

Re:Show HN: Reverse perspective camera for OpenGL (Three.js) by tobyhinloopen on Tuesday November 18, 2025 @07:25AM (#45964651)
That's so cool! I want more cross-eye content.