Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with switching panorama realities in argon-aframe: #54

Open
jdbolter opened this issue Mar 19, 2017 · 1 comment
Open

Issue with switching panorama realities in argon-aframe: #54

jdbolter opened this issue Mar 19, 2017 · 1 comment

Comments

@jdbolter
Copy link

Two related bugs:

  1. Problem that seems to be between the new argonjs and argon-aframe.
    artnotart.org/jdbolter/ar-frame/panorama/show2.html
    artnotart.org/jdbolter/ar-frame/panorama/show2a.html

The only difference between show2 and show2a is that show2 uses the previous version of argonjs and show2a uses the latest version. What is supposed to happen: four panos are loaded and the first is shown. There is a disk with the Malmö logo on it in the scene. When the user holds the cursor over the disk for 1.5 secs, the next pano should be shown, and so on through all four panos. Show2 works in Argon. Show2a shows the first pano, but when the user holds the cursor over the disk, the next pano appears but the disk is now stuck to the screen rather than in the 3d space. It is no longer possible to move the cursor over it.

In addition if you load show2a into the Safari browser on the iPhone, no panorama shows at all.

  1. Problem that predates switch to new argonjs
    Just using show2.html. This works in Argon. However, if you load it into the Safari browser, the first pano appears. When you move the cursor over the Malmö disk, the screen goes black. No further panos appear.

The code for show2 and show2a are found here.:
https://github.com/jdbolter/argon-aframe-tests/tree/dev/panorama

@blairmacintyre
Copy link
Contributor

First thing to check: it appears that you are using the same, old, panorama reality (which uses the old argon.js) in both versions.

You should probably copy the new panorama reality from the samples, and make sure it's using the new argon.js (i.e., don't leave it loading the old <script src="../../js/argon.min.js"></script>).

@speigg speigg assigned speigg and unassigned speigg Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants