{"action":"created","issue":{"url":"https://api.github.com/repos/mpetroff/pannellum/issues/69","labels_url":"https://api.github.com/repos/mpetroff/pannellum/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/mpetroff/pannellum/issues/69/comments","events_url":"https://api.github.com/repos/mpetroff/pannellum/issues/69/events","html_url":"https://github.com/mpetroff/pannellum/issues/69","id":64350800,"number":69,"title":"Ignoring \"vaov\" & \"vOffset\" parameters in JSON tour","user":{"login":"evdelen","id":373773,"avatar_url":"https://avatars.githubusercontent.com/u/373773?v=3","gravatar_id":"","url":"https://api.github.com/users/evdelen","html_url":"https://github.com/evdelen","followers_url":"https://api.github.com/users/evdelen/followers","following_url":"https://api.github.com/users/evdelen/following{/other_user}","gists_url":"https://api.github.com/users/evdelen/gists{/gist_id}","starred_url":"https://api.github.com/users/evdelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evdelen/subscriptions","organizations_url":"https://api.github.com/users/evdelen/orgs","repos_url":"https://api.github.com/users/evdelen/repos","events_url":"https://api.github.com/users/evdelen/events{/privacy}","received_events_url":"https://api.github.com/users/evdelen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-25T19:16:16Z","updated_at":"2015-03-26T00:30:06Z","closed_at":"2015-03-26T00:30:06Z","body":"I've been creating some real estate tours and have had spheres that aren't displaying properly. It seems that when using a JSON tour Pannellum is ignoring the \"vaov\" and \"vOffset\" parameters within a scene. I've tried both using an integer as well as a string and in both cases the value is ignored with the image being displayed in the centre of the scene with identical black spots appearing above and beneath the image.\r\n\r\nExample can be seen here: www.evolutionsmc.com/real-estate/204Alton/pannellum.htm?tour=assets/tour.json\r\n\r\nThanks.\r\n\r\nEdit: I'm using the 2.1.0 release."},"comment":{"url":"https://api.github.com/repos/mpetroff/pannellum/issues/comments/86264815","html_url":"https://github.com/mpetroff/pannellum/issues/69#issuecomment-86264815","issue_url":"https://api.github.com/repos/mpetroff/pannellum/issues/69","id":86264815,"user":{"login":"mpetroff","id":1450212,"avatar_url":"https://avatars.githubusercontent.com/u/1450212?v=3","gravatar_id":"","url":"https://api.github.com/users/mpetroff","html_url":"https://github.com/mpetroff","followers_url":"https://api.github.com/users/mpetroff/followers","following_url":"https://api.github.com/users/mpetroff/following{/other_user}","gists_url":"https://api.github.com/users/mpetroff/gists{/gist_id}","starred_url":"https://api.github.com/users/mpetroff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpetroff/subscriptions","organizations_url":"https://api.github.com/users/mpetroff/orgs","repos_url":"https://api.github.com/users/mpetroff/repos","events_url":"https://api.github.com/users/mpetroff/events{/privacy}","received_events_url":"https://api.github.com/users/mpetroff/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T00:30:06Z","updated_at":"2015-03-26T00:30:06Z","body":"The parameters are being ignored because your images have Photo Sphere XMP data embedded in them, which is being used instead. Adding `\"ignoreGPanoXMP\": true` to your config file's `default` section will fix this.\r\n\r\nIt turns out there were two subtle bugs related to `vOffset`, however, which is why you noticed the issue. The `vOffset` parameter needed to be set twice as large as it should have been, and the `vOffset` derived from the Photo Sphere XMP data was half the size it should have been. These bugs led to the offset being four times too small for images with Photo Sphere XMP data. Both are now fixed in Git.\r\n\r\nSince the XMP data overriding configuration settings is not behavior that is generally expected, I also modified Pannellum so configuration settings take precedence."}}