PanoTools mailing list archive

Mailinglist:PanoTools NG
Sender:Ken Warner
Date/Time:2011-Dec-16 02:28:58
Subject:Re: HTML5 panorama viewers

Thread:


PanoTools NG: Re: HTML5 panorama viewers Ken Warner 2011-Dec-16 02:28:58
I was thinking the same thing. But with Android, you'd be writing apps.  I don't know what browsers run under Android.  With WebGL or CSS3D you'd be writing web pages.

But in OpenGL (ES or not) a cubeface viewer would be pretty easy.  A cube with 6 texture maps is pretty simple. There's code all over the web for doing that sort of thing.

Zooming makes it a little more complicated and the interface (mouse, touch, whatever) is the most complicated part.  

Multi-res would be an interesting challenge to keep track of your zoom level and viewpoint vector and viewport and downloading tiles on demand and remapping tiles into the right place in the texture -- those things would be the big bag of tricks where you would win or loose.  

All that would be fun if I had the energy....

Ben Newhouse wrote:
> Yep, although you can write android code in C (in addition to Java) through
> the NDK that takes advantage of OpenGL ES.  This way you could write code
> that works the same on both iPhone and Android in C.  In web-land,
> Android's webkit branch is way behind iOS's and is only beginning to see
> CSS3D support in Android 4.0 (if rumors are to be believed), WebGL I would
> imagine is at least a year out on Android (sadly).
> 
> On Thu, Dec 15, 2011 at 4:30 PM, Ken Warner <#removed#> wrote:
> 
>> Thanks for the info.  Also, Android can access OpenGL ES -- that was true
>> a year ago when I briefly looked at Android development.  At that time I
>> believe that there was a native interface from the Android SDK to OpenGL
>> ES.  That might have changed by now into a Java interface -- maybe
>> something like JOGL.  Again, haven't looked in a while.
>>
>> Ben Newhouse wrote:
>>> This correct, WebGL is conveniently almost exactly built as bindings on
>> top
>>> of OpenGL ES 2.0 (which is supported natively on most devices from the
>> 3GS
>>> era on).  WebGL isn't exposed in Mobile Safari yet but you can get access
>>> to it in a UIWebView with a few hacks.
>>>
>>> CSS3D is basically a way to take a rectangular object and position it in
>> 3d
>>> space (as opposed to regular 2D css which allows you to move elements
>>> around a flat page).  Since you can make a cube out of squares, you can
>>> just move them around to make a working pano.  It's built on top of
>> OpenGL
>>> ES, but highly abstracted away from it.
>>>
>>> On Thu, Dec 15, 2011 at 4:00 PM, Ken Warner <#removed#>
>> wrote:
>>>> I'm a little fuzzy so I respond here hoping someone will clarify.
>>>>
>>>> But I think WebGL is the Javascript interface to OpenGL ES.  And I think
>>>> that OpenGL ES is supported by iOS on iOS devices.
>>>>
>>>> But I could be wrong.  I don't know what CSS3D is the interface to but I
>>>> suspect that it also is the CSS interface to OpenGL ES.
>>>>
>>>> Jim Watters wrote:
>>>>> Hi,
>>>>> Attempt to get back on topic and summarize previous messages and ask
>>>> more questions.
>>>>> The goal is to show deep zoom 360 panorama on all devices, browsers,
>> and
>>>>> platforms using one set of images.
>>>>>
>>>>> There are two options for HTML5; CSS3D and WebGL
>>>>>
>>>>> CSS3D is used by KRPano, PanoVR, EasyPano, and PTGui
>>>>> WebGL is used by KRPano, PTViewerNG, and a SaladoPlayer add on
>>>>>
>>>>> What are the differences and advantages or CSS3D and WebGL?
>>>>>  From KRPano, CSS3D is very limited.
>>>>> http://krpano.com/iphone/#howdoesitwork
>>>>>
>>>>> So CSS3D is an intern solution for the lack of Flash on iOS devices. It
>>>> will
>>>>> never have full functionality.
>>>>>
>>>>> Will WebGL every be available on iOS devices? or browsers that
>> currently
>>>> only
>>>>> support CSS3D?
>>>>> Well it seems like it is possible on iOS devices but the Apple
>> overloads
>>>> have
>>>>> limited it.
>>>>> http://atnan.com/blog/2011/11/03/enabling-and-using-webgl-on-ios/
>>>>>
>>>>> What is iAd developer? Will it be possible to open panoramas in the
>>>> browser and
>>>>> use WebGL?
>>>>>
>>>>> Google has added WebGL to Google Maps. "With WebGL your maps experience
>>>> is much
>>>>> better with 3D buildings, smoother transitions between imagery and the
>>>> ability
>>>>> to instantly ?swoop? into Street View without a plugin."
>>>>>
>> http://googleblog.blogspot.com/2011/10/step-inside-map-with-google-mapsg...
>>>>> I do like how they added the names of the streets right onto the road.
>>>> And how
>>>>> (as before) only the high resolution tiles being viewed are downloaded.
>>>> But it
>>>>> is missing the fullscreen button. And the view did not resize when I
>>>> made the
>>>>> window bigger. (Firefox 8 on Windows 7)
>>>>>
>>>>> Microsoft does not like WebGL and wont be included in their browsers.
>>>> They
>>>>> consider it harmful.
>>>>>
>> http://blogs.technet.com/b/srd/archive/2011/06/16/webgl-considered-harmf...
>>>>> Microsoft has zoom.it using silverlight but a quick search did not
>> find
>>>> any 360
>>>>> panoramas using this tech. With images the zooming was smooth but not
>>>> very
>>>>> responsive.
>>>>>
>>>>> This brings us to Jeffrey's request for help to build "an openGL
>>>> panoviewer with
>>>>> multiresolution (tile) support. Initially for iOS."
>>>>>
>>>> ------------------------------------
>>>>
>>>> --
>>>>
>>>>
>>>>
>>>>
>>
>> ------------------------------------
>>
>> --
>>
>>
>>
>>
> 


------------------------------------

-- 
<*> Wiki: http://wiki.panotools.org
<*> User Guidelines: http://wiki.panotools.org/User_Guidelines
<*> Nabble (Web) http://panotoolsng.586017.n4.nabble.com/
<*> NG Member Map http://www.panomaps.com/ng
<*> Moderators/List Admins: #removed# 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/PanoToolsNG/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/PanoToolsNG/join
    (Yahoo! ID required)

<*> To change settings via email:
    #removed# 
    #removed#

<*> To unsubscribe from this group, send an email to:
    #removed#

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Next thread:

Previous thread:

back to search page