Fork us on GitHub

Perspective Transform

Over the weekend Steve posted a really cool demo showing off ...

Perspective Transform

Perspective Transform
Over the weekend Steve posted a really cool demo showing off some of his work on the new iOS graphics pipeline, specifically the perspective transform.  Perspective transform allows us to rotate elements in a 3 dimensional space to create pretty nifty effects. Right now this is only supported on iOS devices (since Java SE doesn't really support it, only thru FX) we are still looking into the Android implementation . Running this code on our simulator will not produce the same effect and in order to actually see this on the device you will need to build using the new pipeline build argument: ios.newPipeline=true

Right now this code is pretty low level stuff (and very platform specific) we intend to abstract a lot of this logic via the component layer so you can use perspective transforms in transitions and various effects.

Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended.... If that is the case please let us know via the comments section below.

Share this Post:

Posted by Shai Almog

Shai is the co-founder of Codename One. He's been a professional programmer for over 25 years. During that time he has worked with dozens of companies including Sun Microsystems.
For more follow Shai on Twitter & github.