Comments (15)
Because even though the image file is preloaded, there is still work to do (transform the jpeg to a texture and transfert it to the GPU).
Other viewers may work "better" because they don't have the same architecture.
You can hide the loader with transitionOptions
https://photo-sphere-viewer.js.org/plugins/virtual-tour.html#transitionoptions
from photo-sphere-viewer.
Also in the example you linked, it uses a tiling system, so the overhead to load a new texture is much lower. This is possible in PSV with the EquirectangularTilesAdapter.
from photo-sphere-viewer.
I switched to using Tiles.
Can you tell me what the usage error is?
Now only the first image is loaded using the basic panorama and Tiles loading.
During transitions, I first see the spinner for a very short time, then pause, and then immediately the panorama is displayed in good quality.
For some reason, viewer doesn't want to show a small panorama with a blur first.
https://vi-tour.ru/s/aojyhech/
from photo-sphere-viewer.
I works perfectly here, all fives images are loaded with tiles
from photo-sphere-viewer.
ScreenRecorderProject23_1.mp4
Please take a look at the video.
The first panorama is loaded with a blur and tiles. But when I switch to the second panorama, I see "Loading" in the bottom line, nothing happens. And then the panorama is immediately displayed in high quality.
from photo-sphere-viewer.
And on the big tour (54 panoramas), working with tiles sometimes leads to the browser (Chrome) hanging after transitions.
https://vi-tour.ru/s/mdkygphe/
from photo-sphere-viewer.
And there is no problem when tiles are disabled.
from photo-sphere-viewer.
I don't know what to do to help you as I don't have the problem myself. Your big tour works perfectly, everything loads fast with initial blurred + tiles.
from photo-sphere-viewer.
Maybe you can repeat it if you have more data.
Chrome browser, updated to the latest version, win 10. The problem is observed on two different computers.
I made a parameter to show the tour with and without tiles.
Without: https://vi-tour.ru/s/mdkygphe/
With tiles: https://vi-tour.ru/s/mdkygphe/?usetiles=1
Without tiles works perfectly.
The tiles option works strangely. After each transition, the spinner is displayed, disappears quickly, then there is an impressive delay. And only then a new panorama is loaded.
While waiting, I want to click a second time.
ScreenRecorderProject27.mp4
from photo-sphere-viewer.
I have the same setup and no problem. Don't need to repeat your problem, I saw the video, I understand it, but there is nothing I can do from my side.
from photo-sphere-viewer.
yes。the same problem。But 5.5.0 is ok。
from photo-sphere-viewer.
I experienced serious performance issues on my work computer which does not have a dedicated GPU. Though the behaviour is not exactly the same, I think it is the issue you have.
If you still experience issues with the future version 5.9.0 please open a new issue.
from photo-sphere-viewer.
This feature/bug fix has been released in version 5.9.0.
from photo-sphere-viewer.
Thank you very much.
Tiles are now working as expected.
Nevertheless, I want to ask. Here are two tours - with and without tiles.
https://vi-tour.ru/s/mdkygphe/
https://vi-tour.ru/s/mdkygphe/?usetiles=1
The loading time of the panorama is essentially the same. Without tiles, the spinner spins a little longer, and with tiles, time is spent on displaying the blured image.
But after loading, there is no turbidity without tiles, and with tiles when turning, there is still loading.
I don't understand why there is no gain from tiles. I asked several users which of these tours is more comfortable - they say that without tiles.
It's just a remark, I don't know if anything can be done about it.
from photo-sphere-viewer.
We don't have the same notion of "essentially the same". Without tiles the loader is displayed for half a second, with tiles it is barelly visible, sometimes is not even displayed, you could even totally disable it (I indicated how on my first answer).
from photo-sphere-viewer.
Related Issues (20)
- Use a Marker as a Link in VirtualTour HOT 2
- Bug with 2d arrows HOT 1
- The name of the panorama in Vitour HOT 2
- Getting poseHeading from Viewer HOT 2
- Incorrect selection processing HOT 6
- Interaction between the Info Panel and the Gallery HOT 2
- Plan plugin maximized HOT 2
- Added opening map feature
- Bug with Virtual tour on IPhone HOT 5
- EquirectangularTilesAdapter update5.8.3 Cannot switch as a whole HOT 6
- Link to a specific panorama in Tour HOT 2
- BUG: Tiles, Virtual Tour and poseHeading HOT 6
- Tooltip Displacement on Scroll with Virtual Tour Plugin
- New events HOT 4
- Displaying less-than-360-degree panoramas HOT 4
- 5.9.0 EquirectangularTilesAdapter display black HOT 7
- Plan plugin maximize size limit HOT 4
- Difference in sphere projection HOT 17
- compatible image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photo-sphere-viewer.