<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Pannellum 2.5	</title>
	<atom:link href="https://mpetroff.net/2019/07/pannellum-2-5/feed/" rel="self" type="application/rss+xml" />
	<link>https://mpetroff.net/2019/07/pannellum-2-5/</link>
	<description>mpetroff.net</description>
	<lastBuildDate>Thu, 25 Feb 2021 12:21:55 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Matthew Petroff		</title>
		<link>https://mpetroff.net/2019/07/pannellum-2-5/#comment-285865</link>

		<dc:creator><![CDATA[Matthew Petroff]]></dc:creator>
		<pubDate>Thu, 25 Feb 2021 12:21:55 +0000</pubDate>
		<guid isPermaLink="false">https://mpetroff.net/?p=2962#comment-285865</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://mpetroff.net/2019/07/pannellum-2-5/#comment-285854&quot;&gt;Jeff Surette&lt;/a&gt;.

There are a couple ways that this can be done. There&#039;s an undocumented hot spot &lt;code&gt;image&lt;/code&gt; parameter, which can be used instead of the hot spot &lt;code&gt;text&lt;/code&gt; parameter to supply an image URL; it&#039;s not very flexible and is poorly tested, which is why it&#039;s undocumented and not officially supported. You could also use the &lt;code&gt;createTooltipFunc&lt;/code&gt; / &lt;code&gt;createTooltipArgs&lt;/code&gt; to create custom hot spot tool tips (see &lt;a href=&quot;https://pannellum.org/documentation/examples/custom-hot-spots/&quot; rel=&quot;nofollow ugc&quot;&gt;custom hot spots&lt;/a&gt; example) that could contain an image, but that&#039;s quite a bit more complicated than just following directions.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://mpetroff.net/2019/07/pannellum-2-5/#comment-285854">Jeff Surette</a>.</p>
<p>There are a couple ways that this can be done. There&#8217;s an undocumented hot spot <code>image</code> parameter, which can be used instead of the hot spot <code>text</code> parameter to supply an image URL; it&#8217;s not very flexible and is poorly tested, which is why it&#8217;s undocumented and not officially supported. You could also use the <code>createTooltipFunc</code> / <code>createTooltipArgs</code> to create custom hot spot tool tips (see <a href="https://pannellum.org/documentation/examples/custom-hot-spots/" rel="nofollow ugc">custom hot spots</a> example) that could contain an image, but that&#8217;s quite a bit more complicated than just following directions.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeff Surette		</title>
		<link>https://mpetroff.net/2019/07/pannellum-2-5/#comment-285854</link>

		<dc:creator><![CDATA[Jeff Surette]]></dc:creator>
		<pubDate>Mon, 22 Feb 2021 16:54:32 +0000</pubDate>
		<guid isPermaLink="false">https://mpetroff.net/?p=2962#comment-285854</guid>

					<description><![CDATA[Hi Matthew,

Thanks for the great work. Pannellum is just what we needed.

I&#039;ve had a request for a hotspot to present an image instead of text. Is it possible? I don&#039;t know much about programming javascript, but I know how to follow directions. :)]]></description>
			<content:encoded><![CDATA[<p>Hi Matthew,</p>
<p>Thanks for the great work. Pannellum is just what we needed.</p>
<p>I&#8217;ve had a request for a hotspot to present an image instead of text. Is it possible? I don&#8217;t know much about programming javascript, but I know how to follow directions. :)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Geoffrey Bonnycastle		</title>
		<link>https://mpetroff.net/2019/07/pannellum-2-5/#comment-285765</link>

		<dc:creator><![CDATA[Geoffrey Bonnycastle]]></dc:creator>
		<pubDate>Fri, 05 Feb 2021 05:48:47 +0000</pubDate>
		<guid isPermaLink="false">https://mpetroff.net/?p=2962#comment-285765</guid>

					<description><![CDATA[Thank you for your wonderful JavaScript API, Matthew. It inspired and powers our virtual art gallery from views rendered in Blender. Our next version will automatically generate the static js data file and hotspots from a database, and update the url when changing scenes.]]></description>
			<content:encoded><![CDATA[<p>Thank you for your wonderful JavaScript API, Matthew. It inspired and powers our virtual art gallery from views rendered in Blender. Our next version will automatically generate the static js data file and hotspots from a database, and update the url when changing scenes.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matthew Petroff		</title>
		<link>https://mpetroff.net/2019/07/pannellum-2-5/#comment-284656</link>

		<dc:creator><![CDATA[Matthew Petroff]]></dc:creator>
		<pubDate>Sat, 31 Oct 2020 20:38:35 +0000</pubDate>
		<guid isPermaLink="false">https://mpetroff.net/?p=2962#comment-284656</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://mpetroff.net/2019/07/pannellum-2-5/#comment-284456&quot;&gt;Robert Campbell&lt;/a&gt;.

You can specify whatever you like. There are two arguments passed to the &lt;code&gt;clickHandlerFunc&lt;/code&gt;: the &lt;code&gt;click&lt;/code&gt; event and the contents of &lt;code&gt;clickHandlerArgs&lt;/code&gt;. For example, if you set &lt;code&gt;clickHandlerArgs&lt;/code&gt; to be a string, the second argument passed to the &lt;code&gt;clickHandlerFunc&lt;/code&gt; will be that string. The hot spot type does not matter.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://mpetroff.net/2019/07/pannellum-2-5/#comment-284456">Robert Campbell</a>.</p>
<p>You can specify whatever you like. There are two arguments passed to the <code>clickHandlerFunc</code>: the <code>click</code> event and the contents of <code>clickHandlerArgs</code>. For example, if you set <code>clickHandlerArgs</code> to be a string, the second argument passed to the <code>clickHandlerFunc</code> will be that string. The hot spot type does not matter.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Robert Campbell		</title>
		<link>https://mpetroff.net/2019/07/pannellum-2-5/#comment-284456</link>

		<dc:creator><![CDATA[Robert Campbell]]></dc:creator>
		<pubDate>Sun, 18 Oct 2020 04:53:27 +0000</pubDate>
		<guid isPermaLink="false">https://mpetroff.net/?p=2962#comment-284456</guid>

					<description><![CDATA[Thanks for the email on doing a back-button type thing. You said: 

&quot;To record the view before the scene changes, you should use the &lt;code&gt;clickHandlerFunc&lt;/code&gt; (and &lt;code&gt;clickHandlerArgs&lt;/code&gt;) hot spot property to add an event listener that records the information you need and then calls &lt;code&gt;loadScene&lt;/code&gt; instead of settings the &lt;code&gt;sceneId&lt;/code&gt; hot spot property.&quot;

That makes perfect sense, but I&#039;m very stuck making the &lt;code&gt;clickHandlerArgs&lt;/code&gt; work and can&#039;t find a model/example. When defining the hotspot, after &lt;code&gt;clickHandlerArgs&lt;/code&gt;: should I be specifying a string, or the name of an object? And does it matter what type (info or scene) the hotspot has?

Hope that makes sense. Thanks,

Robb]]></description>
			<content:encoded><![CDATA[<p>Thanks for the email on doing a back-button type thing. You said: </p>
<p>&#8220;To record the view before the scene changes, you should use the <code>clickHandlerFunc</code> (and <code>clickHandlerArgs</code>) hot spot property to add an event listener that records the information you need and then calls <code>loadScene</code> instead of settings the <code>sceneId</code> hot spot property.&#8221;</p>
<p>That makes perfect sense, but I&#8217;m very stuck making the <code>clickHandlerArgs</code> work and can&#8217;t find a model/example. When defining the hotspot, after <code>clickHandlerArgs</code>: should I be specifying a string, or the name of an object? And does it matter what type (info or scene) the hotspot has?</p>
<p>Hope that makes sense. Thanks,</p>
<p>Robb</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn0.mpetroff.net
Minified using Disk

Served from: mpetroff.net @ 2026-03-30 09:35:05 by W3 Total Cache
-->