Comments (5)
Right now, after some fixes you made, the images transition does not work. Even setting the value to null. It appears a black image when you try to select another hotspot.
As far as I saw, removing the line 1343 in pannellum.js
(where init() function is called)it solves the issue.
But I think this init function is doing a lot of stuff which I guess is useful. I kept testing, and I see that after the renderer is reasigned (line 209), the image shown turns black. It looks like is something messed up with that new renderer instance returned (when changing the image).
from pannellum.
I am unable to reproduce this; the image transitions still work fine for me. Is it black just for the fade, or does it stay black? I'm guessing nothing is printed to the console. While I don't think it will make a difference in this case, set things to undefined
instead of null
as this is what the code compares against.
from pannellum.
If I don't put the option sceneFadeDuration
, when I change the image, it shows a black image. The hotspots are there, and they're moving when I drag. But not the image.
I sent you a mail with a link with an example of my issue.
from pannellum.
I was able to track down the issue. With autoLoad
specified in a tour, the autoLoad
code was executed when each scene was loaded. This should never have happened, but it didn't affect anything before. A change I made caused this bug to manifest itself and break things; the extra call caused a second canvas
to be created off-screen that displayed the image, while the on-screen canvas
was blank. Now that I fixed it, things should work again.
from pannellum.
Yes now is solved. Thanks!
from pannellum.
Related Issues (20)
- explanation of the formula in "Pannellum Equirectangular Projection Reference" HOT 2
- is it possible to loop through folder of images if the hotspot is on the same point always. im using flask
- Dragging hotspot HOT 1
- remove hotspot HOT 1
- jquery interferes with loadscene? HOT 2
- PermissionError: [Errno 13] Permission denied: '/home/username/tileconvertor/nona' HOT 6
- Pannelum load event with multires HOT 3
- "type": "cubemap" pattern, Whether to support network pictures? HOT 5
- Avoid MC Escher effect HOT 2
- I've installed pip3 install numpy, but when I run pip3 install --user pyshtools, ModuleNotFoundError: No module named 'numpy' [end of output] HOT 8
- Multiple hotSpot types HOT 1
- clearing the cache of the program HOT 2
- ADD HOTSPOT HOT 1
- Add option to show clamped offscreen hotspots
- Custom Hotspot HOT 3
- animatefinished event HOT 4
- An easy way to position hotspots HOT 1
- how to use generate.py script in PHP project? HOT 3
- Setting the viewing angle of the image when displayed HOT 1
- replace `equirectangular` to `multiRes` in tours HOT 6
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 pannellum.