Skip navigation
How it works: Estimate head pose relative to the display, then render with head-coupled perspective…
0:00 / 0:20

How it works: Estimate head pose relative to the display, then render with head-coupled perspective…

daniel habib

@DannyHabibs6.5K followers

Visit on X
2,098 likesDownloadOriginal post

133,629 views

How it works: Estimate head pose relative to the display, then render with head-coupled perspective so near objects shift more than far ones. That motion parallax sells depth even in 2D

28 Comments

Comments from the original post on X (Twitter)

  • daniel habib's profile picture

    @DannyHabibs

    Head-tracked “Window Mode.” Your front camera finds your head. The view reprojects in real time so the screen feels like a window into the 3D scene. True3D, no glasses.

    53,948 likes

  • daniel habib's profile picture

    @DannyHabibs

    What you feel: A sense of presence on a flat screen. The view responds like real objects do when you move, so motion parallax sells depth without glasses. Here’s a favorite: Steamboat Willie in 3D with Window Mode on.

    1,539 likes

  • daniel habib's profile picture

    @DannyHabibs

    Why this matters: most 3D on phones collapses to a flat video. Asking viewers to drag the camera fights lean-back behavior. Window Mode adds presence without new habits.

    495 likes

  • daniel habib's profile picture

    @DannyHabibs

    Try it in your browser: (Works on phones and laptop webcams too.)

    1,632 likes

  • daniel habib's profile picture

    @DannyHabibs

    I wrote more on the design goals and tradeoffs. Latency budget, pose smoothing, and when to prefer single-view depth over stereo.

    251 likes

  • daniel habib's profile picture

    @DannyHabibs

    Paying respect: Johnny Lee’s 2007 Wii Remote head-tracking demo sparked this whole idea for many of us. Ours runs on-device with a front camera and lightweight models.

    769 likes

  • daniel habib's profile picture

    @DannyHabibs

    You can try the Steamboat Willie example here:

    150 likes

  • daniel habib's profile picture

    @DannyHabibs

    I’ll post in our Discord when we open source the code in a few weeks.

    201 likes

  • daniel habib's profile picture

    @DannyHabibs

    For those asking: Frontend is spatialjs and the file format for 3D videos ".splv" is in spatialstudio. Going open source in the next few weeks; we’ll post in Discord. Our backend and models are on @modal and @googlecloud. Using Modal & GCP for over a year, both have great docs and simple APIs. Highly recommend Spatial Studio - PyPI:

    139 likes

  • daniel habib's profile picture

    @DannyHabibs

    @googlecloud We also set up a subreddit where people share 3D videos they’ve created and follow along as we build in public:

    42 likes

  • daniel habib's profile picture

    @DannyHabibs

    @googlecloud We just open-sourced Window Mode Video explainer coming soon on our YouTube: Can’t wait to see what people build with it

    74 likes

  • Anoteros's profile picture

    @Anoteros

    I remember seeing someone use this exact thing with a Nintendo Wii with the sensor on a hat over a decade ago. Just me?

    3 likes

  • daniel habib's profile picture

    @DannyHabibs

    Johnny Lee did it 17 years ago! Peep the thread, gave him a shoutout there. We tried our best to get it as close to his demo as we could

    5 likes

  • Miguel Bordallo's profile picture

    @gatafunho

    This has been done on a mobile device 13 years ago. On a Nokia N900 !

    2 likes

  • Tony Howard's profile picture

    @tony95145441

    This instantly gave me flashbacks to that Kremlin basement scene in Mission Impossible: Ghost Protocol where Tom Cruise used the glasses-free rear-projection 3D trick.

    1 like

  • Russia Falseface's profile picture

    @RussiaF98138

    This is far from a new idea. Looks an awful lot like the exact same demo someone else made years ago.

    1 like

  • Absent Insight's profile picture

    @AbsentInsight

    A great third example to film would be to show what it looks like with a stationary camera tracking a moving head off screen.

    1 like

  • Mr. Edgar Friendly's profile picture

    @JoyJoyFeelings

    Dang that looks good. I did something similar a few months ago using head tracking with parallax on the z-index on websites, though mine didn't look anywhere near this good. But it's surprising how natural and organic it feels. It almost makes the case for having a webcam. It would also be a really interesting feature for gaming; where you could "peak" around a corner.

    1 like

  • Camera_Early's profile picture

    @BankingOnXrp

    brudda u kno dey . ill u for ts

  • Erik Meike's profile picture

    @ErikMeike

    This looked exactly like a demo I saw several years ago. Did you speed it up or some things like that?