Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > 360° Javascript image panning

Reply
Thread Tools

360° Javascript image panning

 
 
Tuxedo
Guest
Posts: n/a
 
      06-05-2007
Has anyone seen a 360° panorama javascript image display anywhere?

Assuming a photograph is used which is perfectly stitched together - such
as for example
http://en.wikipedia.org/wiki/Image:2...ycourtyard.jpg - I'm
searching for a JS/CSS type of solution including the possible to smoothly
pan left or right, autoplay and pause, while showing only a narrower
rectangular "normal size" image segment at any one time. Panning, auto pan
and pause may be done with control buttons below the image for example.
 
Reply With Quote
 
 
 
 
Doc O'Leary
Guest
Posts: n/a
 
      06-06-2007
In article <f44kfg$eea$00$>,
Tuxedo <> wrote:

> Has anyone seen a 360° panorama javascript image display anywhere?


I haven't seen anything, but in hacking up a demo my guess is that the
main reason you don't see it done much is because a simple pan doesn't
do any correction for perspective.

--
My personal UDP list: 127.0.0.1, 4ax.com, buzzardnews.com, googlegroups.com,
heapnode.com, localhost, x-privat.org
 
Reply With Quote
 
 
 
 
Tuxedo
Guest
Posts: n/a
 
      06-06-2007
Doc O'Leary wrote:

> In article <f44kfg$eea$00$>,
> Tuxedo <> wrote:
>
> > Has anyone seen a 360° panorama javascript image display anywhere?

>
> I haven't seen anything, but in hacking up a demo my guess is that the
> main reason you don't see it done much is because a simple pan doesn't
> do any correction for perspective.


Thanks for the reply. Did you hack up a demo?

 
Reply With Quote
 
The Magpie
Guest
Posts: n/a
 
      06-06-2007
Tuxedo wrote:
> Doc O'Leary wrote:
>
>> In article <f44kfg$eea$00$>,
>> Tuxedo <> wrote:
>>
>>> Has anyone seen a 360° panorama javascript image display anywhere?

>> I haven't seen anything, but in hacking up a demo my guess is that the
>> main reason you don't see it done much is because a simple pan doesn't
>> do any correction for perspective.

>
> Thanks for the reply. Did you hack up a demo?
>

And - if you did - I'd be interested too. Don't care about perspective,
because there won't be any, but I want to pan around (effectively) the
six faces of a cube from the inside of it and show whichever bits of
whatever faces are in the viewport.
 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      06-07-2007

"Tuxedo" <> wrote in message
news:f44kfg$eea$00$...
> Has anyone seen a 360° panorama javascript image display anywhere?
>
> Assuming a photograph is used which is perfectly stitched together - such
> as for example
> http://en.wikipedia.org/wiki/Image:2...ycourtyard.jpg - I'm
> searching for a JS/CSS type of solution including the possible to smoothly
> pan left or right, autoplay and pause, while showing only a narrower
> rectangular "normal size" image segment at any one time. Panning, auto pan
> and pause may be done with control buttons below the image for example.


http://barefile.com.au/pan/ ?

--
Richard.


 
Reply With Quote
 
Doc O'Leary
Guest
Posts: n/a
 
      06-07-2007
In article <f47d4o$1c$1$>,
The Magpie <> wrote:

> Tuxedo wrote:
> > Doc O'Leary wrote:
> >
> >> In article <f44kfg$eea$00$>,
> >> Tuxedo <> wrote:
> >>
> >>> Has anyone seen a 360° panorama javascript image display anywhere?
> >> I haven't seen anything, but in hacking up a demo my guess is that the
> >> main reason you don't see it done much is because a simple pan doesn't
> >> do any correction for perspective.

> >
> > Thanks for the reply. Did you hack up a demo?
> >

> And - if you did - I'd be interested too.


There's nothing really interesting to show. All I did was scratch the
itch to verify that I could restrict an image view with CSS and change
it with JavaScript events. Google Maps essentially does the same thing,
and it's even easier to do a panorama because there is no XMLHttpRequest
to deal with.

--
My personal UDP list: 127.0.0.1, 4ax.com, buzzardnews.com, googlegroups.com,
heapnode.com, localhost, x-privat.org
 
Reply With Quote
 
Tuxedo
Guest
Posts: n/a
 
      06-08-2007
rf wrote:

> http://barefile.com.au/pan/ ?


Thanks for the quick muck-up. There must exist a way for this to nicely
work in CSS and Javascript. The type of panoramas I mean usually exist in
platform dependent Java or some other exotic proprietary plug-in, which may
cause a browser crash on the average speed PC, let alone work on Linux or
OSX. Nevertheless, this is quite a nice Java example, which also does
vertical panning:
http://www.rundbild.com/de/beispiel/...-grundriss.htm


 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      06-08-2007
"Tuxedo" <> wrote in message
news:f4arpj$6gk$01$...
> rf wrote:
>
>> http://barefile.com.au/pan/ ?

>
> Thanks for the quick muck-up. There must exist a way for this to nicely
> work in CSS and Javascript.


Yes, there is. It's rather trivial to a button to start a timer to
periodically change the scroll position of that div, or the *relative*
position of the image within that div. Of course then overflow: hidden;
would be appropriate.

Here you go:
http://barefile.com.au/pan/

Of course you should not do this a home. You will drive your viewers nuts.

> The type of panoramas I mean usually exist in
> platform dependent Java or some other exotic proprietary plug-in, which
> may


Which is why I do not have java installed.

> cause a browser crash on the average speed PC, let alone work on Linux or
> OSX. Nevertheless, this is quite a nice Java example, which also does
> vertical panning:
> http://www.rundbild.com/de/beispiel/...-grundriss.htm


I see nothing there that is panning. But then I don't have jave installed,
nor flash or all those other things.

--
Richard.


 
Reply With Quote
 
Tuxedo
Guest
Posts: n/a
 
      06-08-2007
rf wrote:

> http://barefile.com.au/pan/


That is totally cool, many thanks for posting this example!

> Which is why I do not have java installed.


Perhaps it will reincarnate, but for now Java embedded on a web page is and
always has been a pretty stupid idea.

> I see nothing there that is panning. But then I don't have jave installed,
> nor flash or all those other things.


I agree here too, although Flash has some good features, which
unfortunately cannot be replicated with any open source alternatives.
 
Reply With Quote
 
Bart Van der Donck
Guest
Posts: n/a
 
      06-09-2007
rf wrote:

> http://barefile.com.au/pan/?


I had very good experiences with

http://krolik.net/PIV.jsp

--
Bart


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
panning and zooming a la google maps windandwaves Javascript 1 06-30-2007 09:32 AM
Image panning code - Please help! corymac Javascript 1 06-06-2007 11:31 PM
Panning problem - SB Audigy 2ZX soundcard GigaOrColossus Computer Support 3 09-22-2006 12:08 PM
uneven view of panning scenes from PC arie DVD Video 0 06-19-2006 07:21 AM
ProShow panning?? Jack Digital Photography 8 03-02-2006 06:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57