<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Matching StreetView heading / pan values]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=2007</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2007&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Matching StreetView heading / pan values.]]></description>
		<lastBuildDate>Tue, 02 Aug 2022 00:42:05 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Matching StreetView heading / pan values]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8478#p8478</link>
			<description><![CDATA[<p>You cannot use Rotate GameObject mode to rotate a panorama instance.<br />It simply won&#039;t work correctly due to the rotation algorithms and you will see oddities any time you try to rotate the panorama. Even without VR.<br />Just use Rotate Panorama mode instead.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 02 Aug 2022 00:42:05 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8478#p8478</guid>
		</item>
		<item>
			<title><![CDATA[Re: Matching StreetView heading / pan values]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8477#p8477</link>
			<description><![CDATA[<p>Hi Alex, thanks for the reply. This did not work consistently if I select the RotationMode to &quot;Rotate GameObject&quot; where the object to rotate is the Panorama instance in the scene. It does work correctly if I set RotationMode to RotatePanorama instead. I don&#039;t use the camera modes since I have a pre-existing VR camera rig.</p><p>Cheers,<br />Stephen</p>]]></description>
			<author><![CDATA[null@example.com (swilkinson)]]></author>
			<pubDate>Mon, 01 Aug 2022 20:09:15 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8477#p8477</guid>
		</item>
		<item>
			<title><![CDATA[Re: Matching StreetView heading / pan values]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8474#p8474</link>
			<description><![CDATA[<p>Hello.</p><p>Just set pan equal to heading in your url. In this case: 90.</p><p>About north pan:<br />Pan = 0 should point north. But in real images this is not always the case, because the person who made the panorama can look in any direction, not necessarily north.<br />North pan is the value of pan which is north oriented.<br />For Street View, this value is taken from the meta data and does not need to be entered manually.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 30 Jul 2022 12:04:12 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8474#p8474</guid>
		</item>
		<item>
			<title><![CDATA[Matching StreetView heading / pan values]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8473#p8473</link>
			<description><![CDATA[<p>Hi,</p><p> I&#039;m trying to match the heading value of a 2D google streetview preview to pano pan values. I select a location on a map and then fetch the 2D preview using (as per a google sample):</p><div class="codebox"><pre><code>https://maps.googleapis.com/maps/api/streetview?size=400x400&amp;location=47.5763831,-122.4211769&amp;fov=80&amp;heading=90&amp;pitch=0&amp;key=MYKEY</code></pre></div><p>Headings using this API match expected orientations of the resulting 2D preview images. I then fetch the pano at that location with the pano plugin. I expected the pano to load looking &quot;north&quot; by default.</p><p>Since my 2D map is not rotated I know this preview is looking east and I can verify this in the 2D preview image with heading of 90. If I take that heading value and set the streetView.pano.pan from the same location, it&#039;s not oriented the same at all. Also, the &quot;north pan&quot; value is unclear to me. It seems to represent some declination or camera angle?&nbsp; I&#039;m using very few features, no keyboard/mouse/rotation controls. Just setting a pano from the downloader and pushing in the pan value I would like. I am assumed the 0/0 north pan/pan is looking &quot;north&quot; along +x on the pano sphere? But this does not always work as I expect. (for example, north pan loaded as 246.34, but &quot;north&quot; is a relative pan of -127)</p><p>I&#039;d appreciate any help trying to match heading to the pano pan value(s) !</p><p>Cheers,<br />Stephen</p>]]></description>
			<author><![CDATA[null@example.com (swilkinson)]]></author>
			<pubDate>Sat, 30 Jul 2022 01:36:55 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8473#p8473</guid>
		</item>
	</channel>
</rss>
