<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>Visual-Experiments.com &#187; google chrome</title>
	<atom:link href="http://www.visual-experiments.com/tag/google-chrome/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.visual-experiments.com</link>
	<description>ASTRE Henri experiments with Ogre3D and web stuff</description>
	<lastBuildDate>Mon, 16 Jan 2017 18:59:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Photosynth website on steroids :)</title>
		<link>http://www.visual-experiments.com/2014/02/03/photosynth-website-on-steroids/</link>
		<comments>http://www.visual-experiments.com/2014/02/03/photosynth-website-on-steroids/#comments</comments>
		<pubDate>Mon, 03 Feb 2014 04:01:35 +0000</pubDate>
		<dc:creator>Henri</dc:creator>
				<category><![CDATA[photosynth]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[mapping]]></category>
		<guid isPermaLink="false">http://www.visual-experiments.com/?p=2490</guid>
		<description><![CDATA[Bad idea: hacking during the new year holiday and during the super bowl go Seahawks! Result? A very hacky google chrome extension which is adding several alpha/beta quality features to the photosynth.net website. This is my gift for 2014, enjoy! You can get the extension here. Make sure you are logged in on photosynth.net (and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Bad idea</strong>: hacking during the new year holiday and <del datetime="2014-02-03T16:05:52+00:00">during the super bowl</del> go Seahawks! <strong>Result?</strong> A very hacky google chrome extension which is adding several alpha/beta quality features to the <a href="http://photosynth.net/">photosynth.net</a> website. This is my gift for 2014, enjoy! <img src='http://www.visual-experiments.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can <span style="font-size: 20px; margin-top: 20px; display: inline-block;">get the extension <a href="https://chrome.google.com/webstore/detail/photosynth-on-steroids/fajfmchemdjidpldfgffokgghpjeaael">here</a></span>. Make sure you are logged in on <a href="http://photosynth.net/">photosynth.net</a> (and have joined the beta) while using the extension as some photosynth2 feature are still only available to beta users (hopefully this limitation will be removed soon).<br />
</p>
<h3>Feature added by the extension:</h3>
<p>The extension is changing the top menu to:<br />
<img src="http://www.visual-experiments.com/blog/wp-content/uploads/2014/02/ext_menu.jpg" alt="" title="New menu" width="576" height="42" class="alignnone size-full wp-image-2525" /></p>
<ul>
<li><strong>Search:</strong> previous Explore page + new links to fullscreen grid based ps2 explore page.</li>
<li><strong>Explore:</strong> new fullscreen map based explore page.</li>
<li><strong>My Synths:</strong> previous My Photosynths page + new tab (my map, my ps2, my info).</li>
<li><strong>Preview:</strong> link to the new preview website + animated preview on the create page.</li>
</ul>
<h3>Search:</h3>
<p>Animated preview when you hover a thumbnail of a PS2 + links to new explore page.<br />
<img src="http://www.visual-experiments.com/blog/wp-content/uploads/2014/02/ext.search.jpg" alt="" title="Search" width="576" height="455" class="alignnone size-full wp-image-2527" /></p>
<p>Clicking on &#8220;Explore most recent PS2&#8243; or &#8220;Explore most viewed PS2&#8243; will display a page like this:<br />
<a href="http://www.visual-experiments.com/blog/wp-content/uploads/2014/01/ext.explore2.jpg"><img src="http://www.visual-experiments.com/blog/wp-content/uploads/2014/01/ext.explore2-1024x555.jpg" alt="" title="Explore photosynth2" width="576" height="311" class="alignnone size-medium wp-image-2502" /></a><br />
The bottom row contains the latest synths of the current user (the one of the current synth being played). You can hover to see a preview and click to load a synth. <strong>Experimental feature</strong>: it&#8217;s using a new version of the viewer capable of quickly unload/load synths (don&#8217;t click too fast <img src='http://www.visual-experiments.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ).</p>
<h3>Explore:</h3>
<p>New fullscreen page showing synths (ps1, panorama and ps2) on a map. Sadly there is no proper ranking here so you need to zoom in a lot before being able to see synths. Also there is a <a href="https://code.google.com/p/chromium/issues/detail?id=335900">known bug</a> in google chrome which is preventing from seeing silverlight content opened in new tab.<br />
<img src="http://www.visual-experiments.com/blog/wp-content/uploads/2014/02/animated_map1.gif" alt="" title="animated map" width="576" height="285" class="alignnone size-full wp-image-2537" /></p>
<h3>My Synths:</h3>
<p>The extension add 3 new tabs: My map, My PS2, My info<br />
<img src="http://www.visual-experiments.com/blog/wp-content/uploads/2014/02/ext_menu_my_synths.jpg" alt="" title="My Synths: new tabs" width="576" height="20" class="alignnone size-full wp-image-2548" /></p>
<h4>My map</h4>
<p>This page is really complicated, adding a lot of feature&#8230; I will propably have another post explaining how to use it.<br />
<img src="http://www.visual-experiments.com/blog/wp-content/uploads/2014/02/ext.my_map.jpg" alt="" title="My map" width="576" height="377" class="alignnone size-full wp-image-2546" /><br />
Basically you can map (=geotag) your own synths (ps1, panorama, ps2). You need to be logged in and click on <strong>&#8216;show untagged synths&#8217;</strong> then you can search for a place on the map, move the orange pushpin or right click to reassign it location. Then once the orange pushpin is at the place where you&#8217;ve captured your synth, you can click on &#8216;assign pushpin location&#8217; to assign the location to the corresponding synth. To select synths, you can press and hold <strong>&#8216;ctrl&#8217;</strong> and then draw a rectangle, from that selection you can either remove their map position or assign them a text tag. Clicking on <strong>&#8216;movable pushpins&#8217;</strong> will allow you to directly move your synth pushpins on the map. You can click on on <strong>&#8216;Find neighbors&#8217;</strong> to find synths arround your synth (orange synth = community, green = yours). You can also play with the timeline to only display synths captured in the corresponding time interval. You can also change the url and switch <strong>w=0</strong> to <strong>w=1</strong> to enable the wikipedia option. This option will search for the closest wikipedia of your synth. <strong>Please consider <a href="http://wikilocation.org/donate/">donating to WikiLocation</a> if you are using the w=1 option</strong>.</p>
<h4>My PS2</h4>
<p>This is a new page allowing you to quickly preview all your ps2 synths. They are grouped by topology (spin, panorama, wall, walk) and then sorted by captured date.<br />
<img src="http://www.visual-experiments.com/blog/wp-content/uploads/2014/02/ext_my_synths_my_ps2.jpg" alt="" title="My Synths: My PS2" width="576" height="512" class="alignnone size-full wp-image-2550" /></p>
<h4>My info</h4>
<p>Sadly the captured date information is not properly filled by the system (it&#8217;s using the upload date). You need to click on &#8216;fix capturedDate&#8217; to set the captured date of all your ps2 (it might take a while: wait for the &#8216;done&#8217; alert box).<br />
<img src="http://www.visual-experiments.com/blog/wp-content/uploads/2014/02/ext_my_synths_my_info.jpg" alt="" title="My Synths: My info" width="576" height="85" class="alignnone size-full wp-image-2551" /></p>
<h3>Preview &#8211; Create</h3>
<p>The extension is adding an animated preview which will help you to choose the proper topology:<br />
<img src="http://www.visual-experiments.com/blog/wp-content/uploads/2014/02/preview_selector.jpg" alt="" title="Preview - create - animated preview" width="576" height="432" class="alignnone size-full wp-image-2559" /></p>
<h3>Comments</h3>
<p>This extension was created by me only and thus it doesn&#8217;t mean that this is representative of upcoming photosynth feature.</p>
<p>FYI this is not my first extension for the photosynth website, I&#8217;ve already created <a href="http://www.visual-experiments.com/2011/07/21/google-chrome-photosynth-viewer-using-three-js/">one which is adding a webgl fallback viewer</a> if you don&#8217;t have silverlight for photosynth1 content. </p>
<p><strong>Have fun exploring all feature introduced in this chrome extension!</strong></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.visual-experiments.com%2F2014%2F02%2F03%2Fphotosynth-website-on-steroids%2F&amp;title=Photosynth%20website%20on%20steroids%20%3A%29"><img src="http://www.visual-experiments.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.visual-experiments.com/2014/02/03/photosynth-website-on-steroids/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WebGL Photosynth extension updated</title>
		<link>http://www.visual-experiments.com/2012/03/25/webgl-photosynth-extension-updated/</link>
		<comments>http://www.visual-experiments.com/2012/03/25/webgl-photosynth-extension-updated/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 21:08:12 +0000</pubDate>
		<dc:creator>Henri</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[photosynth]]></category>
		<category><![CDATA[three.js]]></category>
		<guid isPermaLink="false">http://www.visual-experiments.com/?p=2231</guid>
		<description><![CDATA[I&#8217;ve updated my PhotoSynth extension for Google Chrome. I&#8217;ve included all optimization described in my previous post: point cloud loading is 4x faster and ply file generation could be 17x faster in some cases . As you can see in the screenshot below, I&#8217;ve also added a new checkbox to let you choose if you [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated my <a href="https://chrome.google.com/webstore/detail/jnnhdiolpfgjbgagkbmdfidfofancmee">PhotoSynth extension for Google Chrome</a>. I&#8217;ve included all optimization described in <a href="http://www.visual-experiments.com/2012/03/19/improving-photosynth-extension-performance/">my previous post</a>: <strong>point cloud loading is 4x faster</strong> and ply file generation could be 17x faster in some cases <img src='http://www.visual-experiments.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . As you can see in the screenshot below, I&#8217;ve also added a new checkbox to let you choose if you want to load thumbnails or not in the WebGL context (which could take a while for synth with more than 200 pictures).<br />
<img src="http://www.visual-experiments.com/blog/wp-content/uploads/2012/03/extension.jpg" alt="" title="webgl photosynth extension updated" width="600" height="362" class="alignleft size-full wp-image-2232" /></p>
<div style="margin-top: 20px;">&nbsp;</div>
<p>There is still room for improvements: I&#8217;ve discovered lot of interesting stuff that I&#8217;ve to try in <a href="http://www.youtube.com/watch?v=XAqIpGU8ZZk">Lilli Thompson speech at the GDC</a>. In particular I&#8217;d like to improve:</p>
<ul>
<li>memory usage: track V8 garbage collection</li>
<li>thumbnails loading: could be speed-up by using a web workers too</li>
<li>Three.js rendering: I still need to switch to r48 and use BufferGeometry</li>
<li>bundle.out generation: still very slow for big synth</li>
</ul>
<p>To accelerate bundle.out file generation I&#8217;ve found a solution working pretty well for very large ascii file (80mo+). I&#8217;m generating the ascii file by writing directly in binary in a Uint8Array (by chunk of 1mo). The resulting code is more complex but is as fast as regular string concatenation and in comparison as a memory footprint very limited. It&#8217;s not integrated in the extension yet as my test case is working well (ascii ply generation) but bundle.out is slow (I need to track V8 bailout/deopt to understand why it&#8217;s slow).</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.visual-experiments.com%2F2012%2F03%2F25%2Fwebgl-photosynth-extension-updated%2F&amp;title=WebGL%20Photosynth%20extension%20updated"><img src="http://www.visual-experiments.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.visual-experiments.com/2012/03/25/webgl-photosynth-extension-updated/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Improving PhotoSynth extension performance</title>
		<link>http://www.visual-experiments.com/2012/03/19/improving-photosynth-extension-performance/</link>
		<comments>http://www.visual-experiments.com/2012/03/19/improving-photosynth-extension-performance/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 22:38:31 +0000</pubDate>
		<dc:creator>Henri</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[photosynth]]></category>
		<category><![CDATA[three.js]]></category>
		<category><![CDATA[webgl]]></category>
		<guid isPermaLink="false">http://www.visual-experiments.com/?p=2150</guid>
		<description><![CDATA[I&#8217;ve recently discover the new transferable object feature in Google chrome. BTW transferable objects are really great! Furthermore you really should use them as I&#8217;ve found that structure cloning is leaking (you can try this leaking demo with chrome 17). Thus I&#8217;ve started to update my extension and done a benchmark of various solution with [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently discover the new <a href="http://updates.html5rocks.com/2011/12/Transferable-Objects-Lightning-Fast">transferable object</a> feature in Google chrome. BTW transferable objects are really great! Furthermore you really should use them as I&#8217;ve found that structure cloning is leaking (<a href="http://visual-experiments.com/demo/transfert/">you can try this leaking demo</a> with chrome 17). Thus I&#8217;ve started to update my extension and done a benchmark of various solution with a big synth of 20mo (1200k vertices and 1000 pictures). </p>
<p>I&#8217;ve also improved a lot my binary parsing by using only native binary parsing (<a href="https://developer.mozilla.org/en/JavaScript_typed_arrays/DataView">DataView</a>). One thing about DataView: <strong>did they realize that if you forgot the endianness parameter it will use BigEndian</strong>? <em>(littleEndian = x86, bigEndian = Motora 68k).</em></p>
<p>Thanks to both optimization <strong>the new version is 4x faster!</strong> (loading time: 24s > 6s)</p>
<h3>solution 1</h3>
<p><img src="http://www.visual-experiments.com/blog/wp-content/uploads/2012/03/flow-11.jpg" alt="" title="flow-1" width="400" height="126" class="alignleft size-full wp-image-2186" /><br />
<br style="clear: both"/></p>
<ul>
<li>cross-orign was forbidden in contentscript (fixed now since chrome 13)</li>
<li>lack of TypedArray copy/transfert -> JS array replacement</li>
<li><strong>Loading time: 13600ms</strong> (24400ms with the previous version without optimized binary parsing)</li>
</ul>
<h3>solution 2</h3>
<p><img src="http://www.visual-experiments.com/blog/wp-content/uploads/2012/03/flow-2.jpg" alt="" title="flow-2" width="300" height="82" class="alignleft size-full wp-image-2152" /><br />
<br style="clear: both"/></p>
<ul>
<li><strong>Issue:</strong> the UI is frozen during parsing (lack of threading)</li>
<li><strong>Loading time: 6500ms</strong></li>
</ul>
<h3>solution 3</h3>
<p><img src="http://www.visual-experiments.com/blog/wp-content/uploads/2012/03/flow-3.jpg" alt="" title="flow-3" width="400" height="139" class="alignleft size-full wp-image-2153" /><br />
<br style="clear: both"/></p>
<ul>
<li>I&#8217;m using transferable objects to both send the xhr.response (ArrayBuffer) and receive the parsed Float32Array (vertex positions) and Uint8Array (vertex colors).</li>
<li><strong>Issue:</strong> I didn&#8217;t manage to spawn a worker from my extension directly (SECURITY_ERR: DOM Exception 18): I&#8217;ve been forced to <a href="http://blogs.microsoft.co.il/blogs/gilf/archive/2012/01/29/working-with-inline-web-workers.aspx">inline the worker</a> as a workaround.</li>
<li><strong>Loading time:  6000ms</strong></li>
</ul>
<h3>solution 4</h3>
<p><img src="http://www.visual-experiments.com/blog/wp-content/uploads/2012/03/flow-4.jpg" alt="" title="flow-4" width="400" height="139" class="alignleft size-full wp-image-2154" /><br />
<br style="clear: both"/></p>
<ul>
<li><strong>Issue:</strong> because of <a href="http://code.google.com/p/chromium/issues/detail?id=45382">this bug</a> workers can not do cross-orign xhr.</li>
<li><strong>Loading time: N/A</strong></li>
</ul>
<p>I&#8217;ve also optimized the PLY file generation by generating binary file on the client side instead of ascii. </p>
<ul>
<li>Ascii: 74mo in 9000ms</li>
<li>Binary: 17mo in 530ms <strong>(~17x faster!)</strong></li>
</ul>
<p>Sadly I didn&#8217;t manage to find a way to accelerate <em>&#8220;bundle.out&#8221;</em> ascii file generation yet (involving lot of string concatenation and numbers formatting).</p>
<p><strong>I didn&#8217;t have updated the extension on the chrome web store yet</strong> as I&#8217;m working on using the new BufferGeometry of Three.js that should be more efficient. Building BufferGeometry directly from  Float32Array (vertex positions array) and Uint8Array (vertex colors array) seems a really better solution IMO.</p>
<h3>Mesh compression</h3>
<p>I&#8217;ve also discover the <a href="http://code.google.com/p/webgl-loader/">webgl-loader</a> mesh compression solution recently. I&#8217;ve compiled my own version of <a href="http://code.google.com/p/webgl-loader/source/browse/trunk/src/objcompress.cc">objcompress.cc</a> and fixed the JSON export. Then I&#8217;ve created my own format allowing to pack in one file all the utf8 files (thus reducing the number of http request needed). I will post about it soon: stay tuned!</p>
<h3>Firefox extension?</h3>
<p><img src="http://www.visual-experiments.com/blog/wp-content/uploads/2012/02/screenshot2.jpg" alt="" title="Firefox extension" width="600" height="424" class="aligncenter size-full wp-image-2141" /><br />
On a side note I&#8217;ve also been playing with the new <a href="https://builder.addons.mozilla.org/">mozilla add-on builder SDK</a>&#8230; well IMO Firefox isn&#8217;t the best browser for extension anymore. I&#8217;ve been very disappointed by the restriction applied to code running in the contentscript (for example <a href="http://prototypejs.org/">prototype.js</a> is not working: I had to use a clone that I&#8217;ve built long time ago). And I&#8217;m also very concerned about their security strategy: they don&#8217;t have a cross-orign xhr permissions field in the manifest. Thus extensions can do cross-orign request to all domains by default! Nevertheless I&#8217;ve managed to port the binary parsing of the point cloud but Three.js is not working either <img src='http://www.visual-experiments.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> . </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.visual-experiments.com%2F2012%2F03%2F19%2Fimproving-photosynth-extension-performance%2F&amp;title=Improving%20PhotoSynth%20extension%20performance"><img src="http://www.visual-experiments.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.visual-experiments.com/2012/03/19/improving-photosynth-extension-performance/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PhotoSynth bundle.out export!</title>
		<link>http://www.visual-experiments.com/2012/02/01/photosynth-bundle-out-export/</link>
		<comments>http://www.visual-experiments.com/2012/02/01/photosynth-bundle-out-export/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 21:18:28 +0000</pubDate>
		<dc:creator>Henri</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[photosynth]]></category>
		<category><![CDATA[three.js]]></category>
		<category><![CDATA[webgl]]></category>
		<guid isPermaLink="false">http://www.visual-experiments.com/?p=2114</guid>
		<description><![CDATA[I&#8217;ve updated my Google Chrome extension to export a valid bundle.out from a PhotoSynth. The bundle.out generated need to be used with HD version of the images (not the thumbnails). Moreover I&#8217;ve removed tracks of length 2 from the bundle.out as I guess that PhotoSynth is keeping them only to get a &#8220;denser&#8221; point cloud [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated my <a href="https://chrome.google.com/webstore/detail/jnnhdiolpfgjbgagkbmdfidfofancmee">Google Chrome extension</a> to export a valid bundle.out from a PhotoSynth. The <a href="http://phototour.cs.washington.edu/bundler/bundler-v0.4-manual.html">bundle.out</a> generated need to be used with HD version of the images (not the thumbnails). Moreover I&#8217;ve removed tracks of length 2 from the bundle.out as I guess that PhotoSynth is keeping them only to get a &#8220;denser&#8221; point cloud (aesthetic purpose only)? One more thing: you can not use the bundle.out file to run a bundle adjustment as the 2d measurements are unknown (I have computed them by projecting the tracks in corresponding cameras).</p>
<p>I&#8217;m sure that some of you have an idea of what to do with a bundle.out file from a PhotoSynth <img src='http://www.visual-experiments.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .<br />
BTW, this export wouldn&#8217;t have been possible without Peter Sibley help, <strong>thanks Peter</strong>! He has help me by giving me the missing information needed to do the bundle.out PhotoSynth export.</p>
<p><img src="http://www.visual-experiments.com/blog/wp-content/uploads/2012/01/screenshot.jpg" alt="" title="PhotoSynth viewer with Bundle.out support" width="600" height="344" class="aligncenter size-full wp-image-2120" /></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.visual-experiments.com%2F2012%2F02%2F01%2Fphotosynth-bundle-out-export%2F&amp;title=PhotoSynth%20bundle.out%20export%21"><img src="http://www.visual-experiments.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.visual-experiments.com/2012/02/01/photosynth-bundle-out-export/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>PhotoSynth viewer with HTML5 FileSaver</title>
		<link>http://www.visual-experiments.com/2012/01/15/photosynth-webgl-viewer-with-html5-fileaver/</link>
		<comments>http://www.visual-experiments.com/2012/01/15/photosynth-webgl-viewer-with-html5-fileaver/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 21:51:13 +0000</pubDate>
		<dc:creator>Henri</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[photosynth]]></category>
		<category><![CDATA[three.js]]></category>
		<category><![CDATA[webgl]]></category>
		<guid isPermaLink="false">http://www.visual-experiments.com/?p=2088</guid>
		<description><![CDATA[Happy New Year Everyone! This is my small gift for 2012: I&#8217;ve updated my PhotoSynth Google chrome extension! New features: Point cloud downloading is working now! Previous downloadify solution wasn&#8217;t working due to a Chrome bug and was removed New version is using Html5 BlobBuilder + FileSaver instead But you need a Chrome version >15 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Happy New Year Everyone! </strong><br />
This is my small gift for 2012: I&#8217;ve updated my <a href="https://chrome.google.com/webstore/detail/jnnhdiolpfgjbgagkbmdfidfofancmee">PhotoSynth Google chrome extension</a>!</p>
<p><strong>New features:</strong></p>
<ul style="margin-left: 20px;">
<li>Point cloud downloading is working now!
<ul>
<li>Previous <a href="https://github.com/dcneiner/Downloadify">downloadify</a> solution wasn&#8217;t working due to a <a href="http://code.google.com/p/chromium/issues/detail?id=58907">Chrome bug</a> and was removed</li>
<li>New version is using Html5 <a href="https://github.com/eligrey/BlobBuilder.js">BlobBuilder</a> + <a href="https://github.com/eligrey/FileSaver.js">FileSaver</a> instead</li>
<li>But you need a Chrome version >15</li>
</ul>
</li>
<li>Picture thumbnails are displayed thanks to my <a href="http://www.visual-experiments.com/2011/12/05/how-to-bypass-webgl-sop-restriction-v2/">sop bypass trick</a></li>
<li><a href="http://blogs.msdn.com/b/photosynth/archive/2011/10/18/photosynth-moving-to-windows-azure.aspx">Windows Azure support</a> (corresponding permission was added to the manifest)</li>
</ul>
<p><strong>Other features are coming:</strong></p>
<ul style="margin-left: 20px;">
<li><a href="http://www.visual-experiments.com/2011/11/01/photosynth-webgl-panorama-viewer/">basic panorama support</a> (using atlas.jpg only: no progressive download yet)</li>
<li>download <a href="http://jszip.stuartk.co.uk/">zip file</a> of whole synth?</li>
<li>bug fixes (the current version is still very buggy, especially the menu)</li>
<li>other cool stuff are coming! <img src='http://www.visual-experiments.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
<p>If you don&#8217;t have Chrome you can take a look at my <a href="http://www.youtube.com/watch?v=o4I8WWm61gs&#038;feature=player_embedded">previous video</a> showing most of the new feature (except point cloud downloading). The previous version wasn&#8217;t available as it was using <a href="http://www.visual-experiments.com/2011/10/03/how-to-bypass-webgl-sop-restriction/">my previous trick to bypass sop restriction</a> (too slow to be widely used).</p>
<p>The new version is available on the <a href="https://chrome.google.com/webstore/detail/jnnhdiolpfgjbgagkbmdfidfofancmee">Google Web Store</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.visual-experiments.com%2F2012%2F01%2F15%2Fphotosynth-webgl-viewer-with-html5-fileaver%2F&amp;title=PhotoSynth%20viewer%20with%20HTML5%20FileSaver"><img src="http://www.visual-experiments.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.visual-experiments.com/2012/01/15/photosynth-webgl-viewer-with-html5-fileaver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Three.js PhotoSynth Viewer with pictures and new UI</title>
		<link>http://www.visual-experiments.com/2011/10/03/three-js-photosynth-viewer-with-pictures-and-new-ui/</link>
		<comments>http://www.visual-experiments.com/2011/10/03/three-js-photosynth-viewer-with-pictures-and-new-ui/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 17:05:44 +0000</pubDate>
		<dc:creator>Henri</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[photosynth]]></category>
		<category><![CDATA[three.js]]></category>
		<category><![CDATA[webgl]]></category>
		<guid isPermaLink="false">http://www.visual-experiments.com/?p=1993</guid>
		<description><![CDATA[I really like JS development and my Google Chrome PhotoSynth extension is a really good opportunity to experiment new thing with WebGL. So I’ve added new features to my previous version: Navigation system (like the Microsoft Silverlight one) Thumbnails display in the WebGL content [beta] Adding the pictures wasn&#8217;t easy: it is not possible to [...]]]></description>
			<content:encoded><![CDATA[<p>I really like JS development and my <a href="https://chrome.google.com/webstore/detail/jnnhdiolpfgjbgagkbmdfidfofancmee">Google Chrome PhotoSynth extension</a> is a really good opportunity to experiment new thing with WebGL. So I’ve added new features to my <a href="http://www.visual-experiments.com/2011/07/21/google-chrome-photosynth-viewer-using-three-js/">previous version</a>:</p>
<ul style="margin-left: 20px">
<li>Navigation system (like the Microsoft Silverlight one)</li>
<li>Thumbnails display in the WebGL content [beta]</li>
</ul>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/o4I8WWm61gs" frameborder="0" allowfullscreen></iframe></p>
<p>Adding the pictures wasn&#8217;t easy: it is not possible to draw a texture coming from another domain on a WebGL context for <a href="http://www.contextis.com/resources/blog/webgl/">security reason</a>. I have found a workaround for this issue (AFAIK unknown:  see <a href="http://www.visual-experiments.com/2011/10/03/how-to-bypass-webgl-sop-restriction/">my post about it</a>). I&#8217;ve also managed to &#8220;clone&#8221; the UI of the Silverlight viewer and to find out how to parse some navigation information from the JSON file provided with each Synth. But I wish that the PhotoSynth team gives me some information about the meaning of some other undocumented parameters&#8230;</p>
<p>I won&#8217;t release this new version as it is CPU hungry (because of the WebGL restriction workaround), but if the PhotoSynth team adds the missing CORS header this could solve the current WebGL restriction in a cleaner way <img src='http://www.visual-experiments.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<p>A new feature is coming too (related to my new work at <a href="http://www.acute3d.com/">Acute3D</a>).</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.visual-experiments.com%2F2011%2F10%2F03%2Fthree-js-photosynth-viewer-with-pictures-and-new-ui%2F&amp;title=Three.js%20PhotoSynth%20Viewer%20with%20pictures%20and%20new%20UI"><img src="http://www.visual-experiments.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.visual-experiments.com/2011/10/03/three-js-photosynth-viewer-with-pictures-and-new-ui/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Chrome PhotoSynth Viewer using Three.js</title>
		<link>http://www.visual-experiments.com/2011/07/21/google-chrome-photosynth-viewer-using-three-js/</link>
		<comments>http://www.visual-experiments.com/2011/07/21/google-chrome-photosynth-viewer-using-three-js/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 15:47:30 +0000</pubDate>
		<dc:creator>Henri</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[photogrammetry]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[photosynth]]></category>
		<category><![CDATA[three.js]]></category>
		<category><![CDATA[webgl]]></category>
		<guid isPermaLink="false">http://www.visual-experiments.com/?p=1836</guid>
		<description><![CDATA[I&#8217;m finally back from holiday and found enough time to update the Google Chrome extension with my new PhotoSynth Viewer based on Three.js. You can download the new Google Chrome extension from the chrome web store: Three.js Google Chrome extension. The old one is still available but this is not a good idea to have [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m finally back from holiday and found enough time to update the Google Chrome extension with my <a href="http://www.visual-experiments.com/2011/06/20/photosynth-viewer-using-three-js/">new PhotoSynth Viewer</a> based on <a href="https://github.com/mrdoob/three.js">Three.js</a>. </p>
<p><iframe width="560" height="349" src="http://www.youtube.com/embed/uXgvm0ElSvU" frameborder="0" allowfullscreen></iframe></p>
<p>You can download the <a style="font-size: 15px; font-weight: bold" href="https://chrome.google.com/webstore/detail/jnnhdiolpfgjbgagkbmdfidfofancmee">new Google Chrome extension</a> from the chrome web store: <a href="https://chrome.google.com/webstore/detail/jgeipglcoefbggekpejhidgjkafgkcma">Three.js Google Chrome extension</a>. The <a href="https://chrome.google.com/webstore/detail/jgeipglcoefbggekpejhidgjkafgkcma">old one</a> is still available but this is not a good idea to have both activated at the same time&#8230; <strong>Do not hesitate to use the donate button <img src='http://www.visual-experiments.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </strong> (located in the right side-panel) if you find this extension useful&#8230; thanks!</p>
<p><strong>Warning</strong>: this extension may use a lot of ram (point cloud are store in memory as regular js array not TypedArray).</p>
<h3>Possible improvement</h3>
<ul style="padding-left: 20px;">
<li>Add picture thumbnails in the 3d environment (may become impossible without Microsoft adding <a href="http://en.wikipedia.org/wiki/Cross-Origin_Resource_Sharing">CORS</a> to the jpeg due to <a href="http://hacks.mozilla.org/2011/06/cross-domain-webgl-textures-disabled-in-firefox-5/">WebGL security issue</a>)</li>
<li>Add a free flight camera (easy to add but harder without roll: I&#8217;ve added features to Three.js Quaternion class for this purpose, but still not ready)</li>
<li>Make the download point cloud link work! This is not my fault (I hope) I think that this is a <a href="http://code.google.com/p/chromium/issues/detail?id=58907">Chrome bug</a>. The only workaround that I can think of (without being sure that it would work) for this issue would be that Microsoft host downloadify.swf on photosynth.net&#8230; please ask them to do that!</li>
<li>Add a <a href="http://meshlab.sourceforge.net/">Meshlab</a> like camera system (mouse handling + white sphere): if you know Three.js please give it a try!</li>
</ul>
<h3>Credits</h3>
<p>Please take a look at the list of all dependencies used for this demo in <a href="http://www.visual-experiments.com/2011/06/20/photosynth-viewer-using-three-js/">my previous post describing this PhotoSynth viewer</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.visual-experiments.com%2F2011%2F07%2F21%2Fgoogle-chrome-photosynth-viewer-using-three-js%2F&amp;title=Google%20Chrome%20PhotoSynth%20Viewer%20using%20Three.js"><img src="http://www.visual-experiments.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.visual-experiments.com/2011/07/21/google-chrome-photosynth-viewer-using-three-js/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
