Generate Delight VR virtual tours - virtual-reality

Delight VR is a Virtual Reality Player that gives you the tools to build simple virtual tours.
This is a code example of a two room tour:
<dl8-tour poster="poster.jpg" title="Example Tour 1" author="John Doe"
start-probe-id="Living Room">
<dl8-tour-img probe-id="bathroom" title="Bathroom" format="STEREO_360_TB"
src="bathroom.jpg">
<dl8-tour-portal to="living-room" lat="0" lon="270" distance="1.5"
title="Enter Living Room"></dl8-tour-portal>
</dl8-tour-img>
<dl8-tour-img probe-id="living-room" title="Living Room"
format="STEREO_360_TB" src="bathroom.jpg">
<dl8-tour-portal to="bathroom" lat="0" lon="90" distance="1"
title="Go to Bathroom"></dl8-tour-portal>
</dl8-tour-img>
</dl8-tour>
You just need to copy and paste this on a html file and call their script and you have your tour up and running.
I want to create a tool that generates this kind of "code", a visual interface to build this tours.
Is it possible to use a simple 360ยบ panorama viewer and click on a image, detect the position of the click and convert it then to latitude and longitude to create a "portal" (dl8-tour-portal) and then select another image that would be the destination of that portal? If yes, what would be the 360 panorama viewers that you advise?
Any help would be appreciated! Thanks

If you work with equirectangular images this has at least helped me:
FSPViewer is a free viewer for spherical (equirectangular) panoramic images made by Fulvio Senore. http://www.fsoft.it/FSPViewer/
Just see that "Show yaw and pitch in the status bar" in General preferences is checked and that you are not in full screen. And you will get latitude and longitude for the center of the image. You can also "Set View Parameters" in Menu:Tools

Related

how to load text layer in mapbox-gl style / tileset

I'd like to do exactly what https://api.mapbox.com/styles/v1/zugaldia/cimteac7b00mrb8m7okkkol8d.html?title=true&access_token=pk.eyJ1IjoienVnYWxkaWEiLCJhIjoiY2ltNnI0YXM0MDA0YXR5bHgxOTU0N2h5YyJ9.kBUkyDqT5S1gJOsMIAdJSw#11/38.8993/-77.0146 is doing.
It seems to use the MapBox GL tileset and style to place text on the map. It even shows more text at a zoomed in level.
How do we do that?
Can you point to a detailed example or video that shows the steps for loading the tileset (maybe from a GeoJSON file, etc)
Thanks.
It is really nice that we can do so much without javascript at all :)
This makes it easier for Android and iOS etc.
Notice the text for the School names:
Then when you zoom in, you see the text for the crime:
That is indeed a very nice map, he created it using Mapbox Studio uploading crime and school data as layer sources. You can learn more about creating your own map style by following along with the "design a map" guides. Once you've created a map you'll need to get the style ID by doing this:
(source: mapbox.com)
and then...
(source: mapbox.com)
Now you also mentioned using these maps within your Android or iOS app which is similar to using the api (link you gave above). Follow this example about including Mapbox studio style in your Android app. The example places the style url within XML like so:
<com.mapbox.mapboxsdk.maps.MapView
...
mapbox:style_url="mapbox://styles/<your-account-name>/<your-style-ID>"
/>
Hope this helps!

Mapbox uploading background image

I'm trying to change the background of my map and put an image instead of it.
I'm currently using map box studio so when I'm choosing a local path
(c\deskstop\toto.png), it is working on the software, so if I choose to upload my whole map style, and use my map on the internet, it doesn't work.
I choose to upload the picture in my website then I changed the URL of the path too ( toto.com\pictures\toto.png). but it is till not working
Does someone has already this problem with mapbox?

Chartboost Unity plugin Video rewards always pop up 'reward 1 coins' message ,how can I change it?

This message seems no where to modify both in the plugin files or website console. Actually,this should be configurable,because each game won't have the same reward.I wanner just change it to 20 coins reward or not let it appear.
The real rewards will deal with in the complete callback so I don't need such message.
Anyone knows can help?
Thanks!
Here you have an input:
Move to your Chartboost dashboard and select your app. Once selecte, on the left panel (if using the new dashboard) click on Settings -> Rewarded Video.
There you have two inputfields: Currency name and reward per view.
You can also add custom content to ads. Here you can read more about it:
https://answers.chartboost.com/hc/en-us/articles/201220195-Creatives
Hope it helps!

I can't find the export tab in zwoptex

I am trying to use zwoptex for animation reasons for cocos2d so I decided to follow this tutorial, but i can't figure out how to use zwoptex. I want to export to plist but no such tab is found. Any help? It clearly says in the Ray Wenderlich tutorials that there is a export tab, but I do not see it.
check File->Publish settings. There you can setup what you want, then press Publish, when you want to create atlas and .plist with description of frames
I had the same problem. Then I decided to pay for it ( $15 ). There still is no export section, but when I choose sprites -> export it DOES now export the plist file and the sprite sheet correctly. So the solution seems to be that you need to pay for it!

iOS hardcode user location

I would like to introduce a specific user location by code.
I only need to hardcode the userlocation to make an screenshot for the appStore.
Could somebody help me?
Thankyou!
You can create a GPX file with a single coordinate and add it to your project. Once created, you can then select the "location services" arrow in xcode, then select the GPX file you created with your one coordinate in it.
File>New..File>iOS-Resource>GPX File
Then replace the default coords in there with your desired location coords.
Run your app
Select the "location services" arrow and select the name of the GPX file you created.
Instead of using Core Location, override it and plug in your own Coordinates.
Just make sure you revert back before you ship :p