domingo, 4 de marzo de 2012

JAPanoView: open source panorama viewer

I've just published an open source UIView subclass to make awesome interactive 360-180 degrees panorama from 6 images, one for each face of a cube.

The underlying foundation of this component is the CATransform3D matrix from CoreAnimation framework. Applying the correct 3D transform to each of the CALayers you can get a 3D illusion from 2D images. More details on the topic can be found here: Core Animation: 3D perspective

You can get the source code from my bitbucket repository: https://bitbucket.org/javieralonso/japanoview/


Special thanks to Russ Woodman from Remedy Panoramic Design for his permission to use his photos for the sample project.

Update: it now supports hotspots.

13 comentarios:

  1. Awesome Its works properly . How to add the Hotspots button in different positions ..

    ResponderEliminar
  2. Funciona perfecto!!!!!!!!!! pero yo también necesito poder añadir puntos de interés en diferentes posiciones

    ResponderEliminar
  3. Can we easily integrate gyroscope in this code?? Thanx

    ResponderEliminar
  4. Just updated the code with hotspot support: http://javieralog.blogspot.com.es/2013/02/japanoview-updated-hotspots.html

    ResponderEliminar
    Respuestas
    1. Hi did you updated code with gyroscope? it will be really helpfull if you do it. Also zoom isnt working on new devices i.e. iphone 6 & 6.
      Please check & update.
      Thanx.

      Eliminar
    2. Hi Javier or Adsworld, did you succeed in gyroscope integration ?
      Thanks

      Eliminar
  5. Hola Javier Creo que hablas Espanol

    Tengo tiempo buscando como hacer un panorama en cubos para iSO desde hace algun tiempo

    he visto tu post queria preguntar existe alguna forma de descargar el projecto completo en X code por que he intentado copiar los archivos pero me sigen saliendo errores..

    Si esto es posible estaria agradecido

    Gracias y saludos desde Polonia :)

    ResponderEliminar
    Respuestas
    1. hola, solucionaste? yo lo acabo de bajar del repositorio y funciona ok, avisame y vemos el problema si querés (tedin_uriburu@hotmail.com).

      Eliminar
  6. Este comentario ha sido eliminado por el autor.

    ResponderEliminar
  7. sorry
    should is use one Panorama image , instead of use six cube image

    ResponderEliminar
  8. Can it be used with just 4 (L,F,R,B) images without panning to up or down? Limit it to scroll left or right only.

    ResponderEliminar
  9. Este comentario ha sido eliminado por el autor.

    ResponderEliminar