David von Oheimb
62db091e99
a couple of minor improvements regarding 'undefined' in libpannellum.js
6 vuotta sitten
David von Oheimb
f17d95725a
replaced unsafe eval by ast.literal_eval in generate.py
6 vuotta sitten
David von Oheimb
25b1c46c0f
made generate.py strict again on existing output directory, printing descriptive error message
6 vuotta sitten
David von Oheimb
70dcb087ae
Missing cubemap faces now need to be defined as null in the configuration
6 vuotta sitten
David von Oheimb
d22e58246f
fixed a few typos in new help strings of generate.py
6 vuotta sitten
David von Oheimb
de13ed98ea
extend multires/generate.py to cylindrical input and partial panoramas
6 vuotta sitten
David von Oheimb
664290d5c4
support also partial cubemap/fallback images: backgroundColor for missing face(s)
6 vuotta sitten
David von Oheimb
edc587cd89
avoid showing out-of-range areas of partial (cylindrical) panoramas ( #567 )
* prevent display of out-of-range areas of partial (cylindrical) panoramas
by adaping min/may yaw and max horizontal fov, this no background (empty space) shown
* improvements as requested: made view restrictions optional, etc.
* extend documentation to describe new avoidShowingBackground option
6 vuotta sitten
Matthew Petroff
c979ff362e
Add background color support for multires panoramas.
6 vuotta sitten
Jonathan Bowman
e67c946f5e
Added config option to adjust the drag speed by a factor ( #556 )
6 vuotta sitten
David von Oheimb
d402e4afd5
fix a copy&paste error on check for movement stop if opposite controls are pressed ( #564 )
6 vuotta sitten
Matthew Petroff
97daf7d186
Revert "start supporting backgroundColor for Cube and Mulitres panoramas"
This reverts commit 2491c2b4dc
.
6 vuotta sitten
David von Oheimb
2491c2b4dc
start supporting backgroundColor for Cube and Mulitres panoramas
6 vuotta sitten
David von Oheimb
034d27a22b
avoid loading invisible files for partial panos of any image type ( #562 )
Avoid loading invisible files for partial panos of any image type.
6 vuotta sitten
Matthew Petroff
9ba4c93c3c
Clarify documentation for `targetHfov` parameter.
6 vuotta sitten
Daniel Morgenstern
96224e4a48
Ignore IntelliJ Files
6 vuotta sitten
Matthew Petroff
46b6b9c073
Change `usedKeyNumbers` parameter to `capturedKeyNumbers` to be more descriptive.
6 vuotta sitten
Daniel Morgenstern
7a8892b7c6
fixes Make `usedKeyNumbers` configurable #554
6 vuotta sitten
Matthew Petroff
ea2a501eab
Prep for release.
6 vuotta sitten
Matthew Petroff
2031720700
Fix touch input issue on Chrome for Android ( fixes #551 ).
6 vuotta sitten
Matthew Petroff
2f64204a16
Allow method to work when no scene has been loaded yet ( fixes #549 ).
6 vuotta sitten
Matthew Petroff
658183196b
Prep for release.
6 vuotta sitten
Matthew Petroff
2341ef6b2b
Bump copyright year.
6 vuotta sitten
Matthew Petroff
67cd2f5c93
Add method to retrieve viewer's container element (implements #463 ).
6 vuotta sitten
Matthew Petroff
2de1706be0
Allow CORS setting to be configured (implements #515 ).
6 vuotta sitten
Matthew Petroff
14a7032a52
Add method to check if device orientation control is active (implements #524 ).
6 vuotta sitten
Matthew Petroff
aa8636227d
Use WebGL context size instead of canvas size.
7 vuotta sitten
Matthew Petroff
3cdadaa42f
Fix bug where default image type argument didn't work for libpannellum.
7 vuotta sitten
Matthew Petroff
f0a7fcf02c
Fix bug related to removing hot spots.
7 vuotta sitten
Matthew Petroff
793918c255
Don't show hand cursor when dragging is disabled.
7 vuotta sitten
Matthew Petroff
499fff145d
Add option to disable keyboard controls.
7 vuotta sitten
Matthew Petroff
83a66bdac5
Fix regression that broke keyboard controls in 64c337beff
.
7 vuotta sitten
Matthew Petroff
90b03f84db
Fix regression introduced in 93f3df1431
.
7 vuotta sitten
Matthew Petroff
8c992e822a
Add link to translations to README.
7 vuotta sitten
Matthew Petroff
f0fcf31998
Fix bugs that caused yaw angle to jump when turning on device orientation control.
7 vuotta sitten
Matthew Petroff
93f3df1431
Add translation support (implements #147 ).
7 vuotta sitten
Matthew Petroff
9c5d3212a6
Make sure yaw animation is in shortest direction.
7 vuotta sitten
Matthew Petroff
35edd9f5f7
Expose turning device orientation control on and off via API (implements #477 ).
7 vuotta sitten
Matthew Petroff
508a21044f
Fix bug when `destroy()` is called twice ( fixes #468 ).
7 vuotta sitten
strarsis
a3918f2ffa
Use absolute position for ui element.
7 vuotta sitten
strarsis
64c337beff
Use ui container element.
7 vuotta sitten
Matthew Petroff
972e7e4f3d
Drop alpha channel to work with Pillow >4.2 ( fixes #455 ).
7 vuotta sitten
Matthew Petroff
8cb5902e1e
Fix viewer locking up on scene change when fade is specified but renderer doesn't return image data ( fixes #430 ).
7 vuotta sitten
Matthew Petroff
0dda044374
Allow hot spots to be added before panorama is loaded ( fixes #432 ).
7 vuotta sitten
Tortila90
d98b7e54b2
Fix `animateMove`, if any of axes is not changed.
It never stops calling `animateMove`, if `pitch`, `yaw`, or `hfov` has not been changed.
Since we may have callback function, `animateMove` has to be called anyway, even if we don't actually need to animate movement. That's why equality of start and end positions is checked here, but not in `setPitch`, `setYaw`, and `setHfov`.
7 vuotta sitten
Tortila90
7c162a039c
Fix yaw out of bounds in `mouseEventToCoords`.
If `config.yaw` is close to -180 or 180, `yaw` might be out of bounds.
7 vuotta sitten
Tortila90
c89710c031
Fix removing event listener inside listener
It's a common situation to remove an event listener inside its definition. Like this:
```javascript
viewer.on('load', function foo() {
//code
viewer.off('load', foo);
});
```
In this case `off` function removes the item from `externalEventListeners` array, while looping through this array may be not finished in `fireEvent` function. A reverse iteration fixes it.
Since we'd like to fire listeners in the order they were added, we need to use `externalEventListeners[type].length - i` index.
7 vuotta sitten
Matthew Petroff
bda0aa7b3b
Add API methods for setting horizon pitch and roll (implements #402 ).
7 vuotta sitten
Matthew Petroff
d9d216f2ae
Fix `sameAzimuth` target yaw when `northOffset` isn't set.
7 vuotta sitten
Matthew Petroff
bae3966413
Merge pull request #398 from Tortila90/master
Fix removing event listeners / Fix 'setTimeout'
7 vuotta sitten