pisi / Reel

The premier 360° solution for jQuery.
http://reel360.org
MIT License
690 stars 210 forks source link

Horizontal wheel scrolling and gyroscope-based orientation feel inverted #307

Closed aaugustin closed 1 year ago

aaugustin commented 8 years ago

I'm using Reel to display a view of an objects with 24 frames.

I set cw: true because my frames appear to be inverted compared to what Reel expects.

At this point:

If I leave the default of cw: false, scrolling and orientation feel natural but dragging feels inverted.

Is this an intentional design decision or a bug?

Is there a way to swap only the direction of dragging, not of other interactions?

aaugustin commented 8 years ago

There's probably two distinct issues here.

  1. Gyroscope orientation.

The panorama-orientable-stitched example is obviously correct. But if you take one of the "object" examples and add the "orientable" feature, it should feel incorrect (assuming your brain visualizes space like mine).

I believe that the proper direction depends on whether the user is "inside" the picture (in the case of a panorama) or "outside" the picture (in the case of an object). As a consequence, I suggest to provide an option to swap just the direction of gyroscope orientation when orientable is enabled.

  1. Horizontal scolling.

There are no examples in your gallery which I could use to illustrate my point.

The general idea is that "dragging left-to-right" and "scrolling left-to-right" are similar gestures and should have the same effect. Currently they have opposite effects. I think it's a bug and it should be fixed; it doesn't need an option.