TheParallaxView: Illusion of depth on iPhone X
Events
Subscribe:  iCal  |  Google Calendar
7, Mar — 1, Jun
York US   26, Mar — 29, Mar
Boston US   28, Mar — 1, Apr
Anaheim US   29, Mar — 1, Apr
RALEIGH US   30, Mar — 1, Apr
Latest comments

Even Top Notch Artists will be replaced by AI. You have no idea what you are talking about. If you do, only very superficial. At the end you are only an employee. You dont have any contact or experience to the High End Echelons we worked on. In 20 years, 40% of workforce working today will be out of jobs. First we will get worldwide financial crash, then AI takes over. Admin will remember my words in not distance future.

by z35
1 days ago

awesome :O

Don't work for me, loading freeze

TheParallaxView: Illusion of depth on iPhone X
2 March, 2018
News

This is a very cool project, which got insane popularity on the web. Peder Norrby from Sweden shared his experiments with the illusion of depth, which is created with iPhone X. The video describes it best. Soon the app will be available for free on AppStore.

Using the position of an eye and the device screen rectangle a non-symmetric camera frustum can be defined. The frustum defines an off-axis projection that when used for rendering on the device allows for objects appearing in front of, and behind the screen of the device.

Peder Norrby 

Source code

If you are an experienced Unity + iOS developer you can download the source code and build the app to your iPhone X but if you just want to try the app you can grab it free from the AppStore [in review, coming soon].

I cannot give support on how to use Unity and build the app. Only get the source if you know what to do with it.

Full source code is available here: TheParallaxView on GitHub
(Unity and Unity’s ARKitPlugin required)

Implemented in Unity with UnityARKitPlugin. The technique should easily transfer to native iOS apps and other devices.

Although you are welcome to use the code (under MIT license, basically with attribution) the point of sharing the code is more to show the technique to other developers than to serve as actual code building blocks.

 

 

Comments

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Jim Recent comment authors
Jimmy
Member
Jimmy

Is iPhone X necessary ? Can it be done with iPhone 7 ?