This project is a browser application for Spirare that is capable of displaying a 3D map and overlaying POML data on it.
Apple Vision Pro
Move the Library/PackageCache/[email protected]
folder into the Packages
folder.
Change the codes by executing the following commands.
cd Packages/[email protected]/Runtime/generated/Reinterop/Reinterop.RoslynSourceGenerator
sed -i '' 's/UNITY_IOS/(UNITY_IOS || UNITY_VISIONOS)/g' *.cs
sed -i '' 's/makeNoLongerReadable != 0/false/g' ReinteropInitializer.cs
Due to a conversion error to MaterialX in CesiumSelectTexCoords.shadersubgraph
, modify it as shown in the images.
Before:
After:
Add Sampler State and set Wrap to Clamp.
Before:
After:
Please obtain the API key, referring to the link below.
https://developers.google.com/maps/documentation/tile/get-api-key?hl=en
Select Assets\Resources\Spirare\GooglePhotorealistic3DTilesSourceSettings
and enter the following URL into the URL field.
https://tile.googleapis.com/v1/3dtiles/root.json?key=<Your API Key>
Switch the platform to visionOS and build the project.
You can change the position of the map object by manipulating the sides of the map base. By manipulating the top surface of the map, you can move the center of the map and zoom in or out.
Access http://<Apple Vision Pro IP Address>:8080
in your PC's browser to open the management page.
Load the POML file by entering the URL in the input field and pressing the Load
button.