Show HN: Reverse perspective camera for OpenGL (Three.js)
github.com·11h·
Discuss: Hacker News
Flag this post

Reverse Perspective Camera for OpenGL (Three.js)

This example demonstrates how to construct a custom OpenGL projection matrix that allows a smooth transition between three types of projection: direct perspective, orthographic projection, and reverse perspective.

For background, see https://en.wikipedia.org/wiki/Reverse_perspective. This visual effect is somewhat similar to the well-known “Dolly zoom” (https://en.wikipedia.org/wiki/Dolly_zoom), but more radical in nature.

Try it live: https://bntre.github.io/reverse-perspective-threejs/

Demo video: [https://www.youtube.com/watch?v=_5xI7a7cxBg](https://www.y…

Similar Posts

Loading similar posts...