Matthew Petroff
6df609c1ef
Don't hardcode hot spot size.
8 years ago
Matthew Petroff
651dbf33e7
Fix zoom controls regression ( fixes #208 ).
8 years ago
Matthew Petroff
a30ea8ca5c
Allow minimum and maximum HFOV to be equal ( fixes #207 ).
8 years ago
Matthew Petroff
13cd182f82
Add option to turn device orientation control on by default.
8 years ago
Matthew Petroff
5228f48f30
Return to original pitch when auto rotate resumes, instead of 0, and (hopefully) fix direction bug.
8 years ago
Matthew Petroff
2993e059cd
Fix mouse event handlers for HiDPI displays and add `mousedown` event handler.
8 years ago
Matthew Petroff
c95d12527d
Add option to disable all controls.
8 years ago
Matthew Petroff
0879a61bd4
Add hot spot debug indicator (implements #128 ).
8 years ago
Matthew Petroff
f5edaf0961
When auto rotate restarts after inactivity, set pitch to zero and return to original HFOV.
8 years ago
Matthew Petroff
c17ba06ad9
Add ability to animate movements and add `lookAt` function (implements #162 and #197 ).
8 years ago
Matthew Petroff
bf9c6f5073
Auto rotate fixes and improvements.
8 years ago
Matthew Petroff
3e99ecbb39
Change device orientation button when device orientation is active (implements #165 ).
8 years ago
Matthew Petroff
715866b67d
Allow partial panorama background color to be set (implements #185 ).
8 years ago
Matthew Petroff
323ddc2476
Add CSS containment.
8 years ago
Matthew Petroff
3df2ea3d2d
Modified Video.js plugin to accept Pannellum configuration.
8 years ago
Matthew Petroff
cd978f7d8e
Prevent multires tile textures from being loaded multiple times at once (might resolve #194 ).
8 years ago
Matthew Petroff
bb0f8bdae6
Reset title and author display when changing scenes ( fixes #198 ).
8 years ago
Matthew Petroff
9db49fae2e
Clarify configuration parameter documentation.
8 years ago
Matthew Petroff
f21d3b614d
Change `horizonPitch` and `horizonRoll` parameters from radians to degrees to match other parameters.
8 years ago
Matthew Petroff
0b04d18dd2
Fix auto rotate inactivity restart bugs.
8 years ago
Matthew Petroff
f057406d46
Fix multires CORS regression ( fixes #191 , regression introduced in 53c6cf85f7
).
8 years ago
Matthew Petroff
794f74fad2
Use only multires base path if it's an absolute URL.
8 years ago
Matthew Petroff
834592e827
Fix bug where multires zoom could jump after resize ( fixes #187 ).
8 years ago
Matthew Petroff
14682461e1
Fix multires texture loading artifacts (regression introduced in 53c6cf85f7
).
8 years ago
Matthew Petroff
63e032288a
Use configuration-specified base path with standalone viewer if it exists ( fixes #188 ).
8 years ago
Matthew Petroff
2ca29f7b7e
Add type information to JSON configuration parameter documentation.
8 years ago
Matthew Petroff
6cf5532ba1
Stop motion on scene changes (only affects API-initiated changes).
8 years ago
Matthew Petroff
234201ea41
Make horizon pitch and roll configurable instead of only support through metadata.
8 years ago
Matthew Petroff
7c6683f956
Minor CSS class add / remove changes.
8 years ago
Matthew Petroff
145ba63fa7
Add destructor.
8 years ago
Ivar Vong
93e47148bb
Add auto rotation start / stop methods to API.
8 years ago
Matthew Petroff
94024f7d34
Allow individual XMP metadata parameters to be overridden.
8 years ago
Matthew Petroff
c649c83326
Reset image pose setting when renderer is reinitialized.
8 years ago
Matthew Petroff
b070e97767
Fix off-by-one error related to multires ( fixes #178 ).
8 years ago
Matthew Petroff
b719ace20a
Fix regression that caused compass to not be displayed.
8 years ago
Matthew Petroff
38250c1d15
Reuse renderer between scenes (breaking change for libpannellum API).
8 years ago
Matthew Petroff
53c6cf85f7
Explicitly free textures and fix DOM / event listener leak.
8 years ago
Matthew Petroff
2a3e552731
Allow hot spots without text ( fixes #173 ).
8 years ago
Matthew Petroff
8ed1927e3a
Allow hot spot target pointing settings to work when set to zero ( fixes #172 ).
8 years ago
Matthew Petroff
8c50c32f99
Fix auto rotate resume speed and direction (part of #170 ).
8 years ago
Matthew Petroff
844edc9f5e
Stop zoom movement on click / touch.
8 years ago
Matthew Petroff
a48c55565e
Fix bugs in last commit.
8 years ago
Matthew Petroff
f6e972a152
Breaking change: Apply pitch and yaw limits to edge of viewer instead of center (implements #92 ).
8 years ago
Matthew Petroff
8daf61dda9
Fix rounding bug that caused rendering artifacts.
8 years ago
Janne Cederberg
b1bbc86224
Prevent empty values in URL config from stopping panorama rendering
Should the user use URL configuration for their panorama and then
specify an option/key but leave the value empty, previously this
would stop the panorama from being displayed due to the generated
JSON config from src/standalone/standalone.js being invalid.
This commit omits creating an on-the-fly JSON string and instead
uses a JavaScript object (which the generated JSON string was
converted to anyway).
The background of wanting to enable URL options with possibly empty
values relates to using Pannellum with static site generators.
Depending on the static site generator, specifying default values
for undefined template variables can result in lots of template
notation whereas outputting a value for a variable that isn't
defined usuallly simply outputs an empty string. It would hence be
desirable to treat the empty-string value of an option/key in URL
config as if that option/key were not user-supplied at all and
hence the Pannellum default value for that option/key be used.
8 years ago
Janne Cederberg
3e0250eb72
Add configuration option to make it possible to disable mouse zooming.
Implementation of https://github.com/mpetroff/pannellum/issues/151 .
8 years ago
Matthew Petroff
8ade302e7a
Add events for errors (implements #164 ).
8 years ago
Matthew Petroff
63332b2140
Merge pull request #163 from jannecederberg/master
Introduce a dynamic coefficient for touchmove pan (yaw/pitch change) speed
8 years ago
Janne Cederberg
840be504af
Introduce a dynamic coefficient for touchmove yaw/pitch change speed
With a fixed coefficient affecting touchmove pan speed, at large
values of config.hfov (zoomed out) panning will feel "sluggish"
due to panorama panning less than finger is moved on screen.
On the other hand, at small config.hfov values (zoomed in),
panning will be perceived to move faster.
To improve usability at both small and large config.hfov
(zoomed-out and zoomed-in) we introduce a dynamic coefficient
affected by the config.hfov value.
Currently this seems to roughly keep initial drag/pan start position
close to the user's finger while panning regardless of zoom level.
8 years ago
Matthew Petroff
e2a4e6f2b5
Check that current scene is loaded before trying to change scene.
8 years ago