<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Guillaume Laforge&#039;s Weblog</title>
	<atom:link href="http://frenchdog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://frenchdog.wordpress.com</link>
	<description>3d, music, surf and ... 3d.</description>
	<lastBuildDate>Mon, 16 Jan 2012 00:54:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='frenchdog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/fe6aaf03b3140fdc169ccf8de707340f?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Guillaume Laforge&#039;s Weblog</title>
		<link>http://frenchdog.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://frenchdog.wordpress.com/osd.xml" title="Guillaume Laforge&#039;s Weblog" />
	<atom:link rel='hub' href='http://frenchdog.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Happy 2012 !</title>
		<link>http://frenchdog.wordpress.com/2012/01/05/happy-2012/</link>
		<comments>http://frenchdog.wordpress.com/2012/01/05/happy-2012/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 20:51:57 +0000</pubDate>
		<dc:creator>Guillaume Laforge</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[Softimage ICE]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://frenchdog.wordpress.com/?p=756</guid>
		<description><![CDATA[Very long time since my last post ! Too busy I guess . I&#8217;m starting this new year sharing with you a custom ICE node that was on my hard drive since last year&#8230; It generates the polygonal description to build &#8230; <a href="http://frenchdog.wordpress.com/2012/01/05/happy-2012/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=756&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Very long time since my last post ! Too busy I guess <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> .</p>
<p>I&#8217;m starting this new year sharing with you a custom ICE node that was on my hard drive since last year&#8230; It generates the polygonal description to build a 3D Convex Hull.</p>
<p>&nbsp;</p>
<p><a href="http://frenchdog.files.wordpress.com/2012/01/happynewyear2012.jpg"><img class="aligncenter size-full wp-image-759" title="HappyNewYear2012" src="http://frenchdog.files.wordpress.com/2012/01/happynewyear2012.jpg?w=500&#038;h=646" alt="" width="500" height="646" /></a></p>
<p>You can <a title="Convex Hull Data" href="http://dl.dropbox.com/u/5533643/Softimage/ConvexHull.rar">download it here</a>. It includes two scene files and the win64 dll.<br />
The C++ sources are also there if you need to compile it for an other platform.</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/34620575' width='400' height='300' frameborder='0'></iframe></div>
<p>I used the Gift wrapping algorithm and  added a mode to generate NGones when several triangles are coplanars (just un-check &#8220;Triangulate Coplanar&#8221; to use it) but, be careful, this mode is buggy !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/frenchdog.wordpress.com/756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/frenchdog.wordpress.com/756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/frenchdog.wordpress.com/756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/frenchdog.wordpress.com/756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/frenchdog.wordpress.com/756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/frenchdog.wordpress.com/756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/frenchdog.wordpress.com/756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/frenchdog.wordpress.com/756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/frenchdog.wordpress.com/756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/frenchdog.wordpress.com/756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/frenchdog.wordpress.com/756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/frenchdog.wordpress.com/756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/frenchdog.wordpress.com/756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/frenchdog.wordpress.com/756/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=756&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://frenchdog.wordpress.com/2012/01/05/happy-2012/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/765ba5ed32eb545457d7c1a98078e34c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">frenchdog</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2012/01/happynewyear2012.jpg" medium="image">
			<media:title type="html">HappyNewYear2012</media:title>
		</media:content>
	</item>
		<item>
		<title>An artist using Softimage ICE</title>
		<link>http://frenchdog.wordpress.com/2011/04/18/an-artist-using-softimage-ice/</link>
		<comments>http://frenchdog.wordpress.com/2011/04/18/an-artist-using-softimage-ice/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 20:12:52 +0000</pubDate>
		<dc:creator>Guillaume Laforge</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://frenchdog.wordpress.com/?p=698</guid>
		<description><![CDATA[My friend Olivier Jeannel showed me its last film and I really liked it ! So I decided to invite its work on my blog . Olivier is one of those talented guy used to be the director, the 3d &#8230; <a href="http://frenchdog.wordpress.com/2011/04/18/an-artist-using-softimage-ice/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=698&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My friend Olivier Jeannel showed me its last film and I really liked it ! So I decided to invite its work on my blog <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Olivier is one of those talented guy used to be the director, the 3d artist and the compositor of some motion design works since several years. The first time I met him (some&#8230; years ago now&#8230;) he was doing a fantastic job for some Eurosport billboards using Lightwave and After effect (I was also using LW at this time). We started to exchange ideas about ways to &#8220;make things&#8221; in 3D. I was not yet so dedictated to the technical side of 3D, and I really think that those discussions with Oliver pushed me in this direction. It was obvious that its artistic vision was way beyond my limited talents in this area, and it was obvious that I was enjoying giving him technical advices for his various projects.</p>
<p>But lets speak about his new film. This is a command from the &#8220;Club des directeurs artistiques&#8221;. It is a french club of artistic directors making an awards ceremony every years for the best commercials. He was in charge of the official film. He used Softimage for all the 3D and I think it is a very good illustration of what an artist can do with ICE. Olivier never learned programming languages and his education background is not really oriented on math but rather on art as he did the &#8220;Ecole nationale supérieure des beaux-arts&#8221; in France. He often try various ICE compounds found on the web and modify them using its own logic without writting a single line of code ! He told me that without an internet connexion, ICE would not be so useful to him <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . The nice thing about ICE is that it is really interactive. No need to always understand what you are doing, if the instantaneous feedback in the 3D viewport is looking nice <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>Finally, here is the film. Pump up the volume and enjoy this one man work :</p>
<p style="text-align:center;"><a href="http://vimeo.com/22567715"><img class="aligncenter size-full wp-image-692" title="clubad" src="http://frenchdog.files.wordpress.com/2011/04/clubad.jpg?w=500&#038;h=262" alt="" width="500" height="262" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/frenchdog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/frenchdog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/frenchdog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/frenchdog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/frenchdog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/frenchdog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/frenchdog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/frenchdog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/frenchdog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/frenchdog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/frenchdog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/frenchdog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/frenchdog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/frenchdog.wordpress.com/698/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=698&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://frenchdog.wordpress.com/2011/04/18/an-artist-using-softimage-ice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/765ba5ed32eb545457d7c1a98078e34c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">frenchdog</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2011/04/clubad.jpg" medium="image">
			<media:title type="html">clubad</media:title>
		</media:content>
	</item>
		<item>
		<title>ICE Modeling : A Procedural Bullet Shattered Glass Compound</title>
		<link>http://frenchdog.wordpress.com/2011/04/13/ice-modeling-a-procedural-bullet-shattered-glass-compound/</link>
		<comments>http://frenchdog.wordpress.com/2011/04/13/ice-modeling-a-procedural-bullet-shattered-glass-compound/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 03:48:48 +0000</pubDate>
		<dc:creator>Guillaume Laforge</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[xsi]]></category>

		<guid isPermaLink="false">http://frenchdog.wordpress.com/?p=669</guid>
		<description><![CDATA[A bullet  shattering glass effect got a very characteristic pattern (and very different from the well known voronoi one). As in Softimage 2012 we can build some polygon meshes using ICE, it was a good exercise to illustrate the flexibility of this &#8230; <a href="http://frenchdog.wordpress.com/2011/04/13/ice-modeling-a-procedural-bullet-shattered-glass-compound/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=669&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A bullet  shattering glass effect got a very characteristic pattern (and very different from the well known voronoi one).<br />
As in Softimage 2012 we can build some polygon meshes using ICE, it was a good exercise to illustrate the flexibility of this new Softimage weapon <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>My first test was trying to slice an existing mesh using a radial design. It was not so bad but rather complex. I needed something more simple. We&#8217;ve got sphere or torus primitives, and I wanted a shattered glass primitive, nothing more.</p>
<p>Looking at the some pictures and videos of glass shattering I noticed that the  radial cracks and  rings starting at the center of the impact  could be simplified to an &#8220;un-wrapped cylindrical extrusion&#8221;. As I&#8217;ve got already an ICE compound to build such extrusion (and as I am lazy), I choosed this solution.</p>
<p>Re-factoring this compound, it was easy to generate the good polygonal description (the array describing the vertices of each polygons). Then the job was to set the position of this extrusion in a radial pattern with some randomness scaled by the distance from the center. The first tests were not so bad. Here is a little demo :</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/22300460' width='400' height='300' frameborder='0'></iframe></div>
<p>And <a title="Bullet Shattered Primitive compound" href="http://dl.dropbox.com/u/5533643/frenchdog_blog/Create%20Bullet%20Shattered%20Primitive.xsicompound" target="_blank">here is the ICE compound</a> . To use it, just create an empty polygon mesh, add an ICETree in the modeling region and connect the compound.</p>
<p style="text-align:center;">At least here is a little rendered animation using Momentum for the simulation (a Softimage open source plugin using the Bullet Physics library) and Arnold for the rendering (using the Softimage to Arnold plugin) :</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/34655946' width='400' height='300' frameborder='0'></iframe></div>
<p style="text-align:center;">Thats all for this first public ICE modeling compound ! If I find some time, maybe other ones will follow&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/frenchdog.wordpress.com/669/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/frenchdog.wordpress.com/669/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/frenchdog.wordpress.com/669/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/frenchdog.wordpress.com/669/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/frenchdog.wordpress.com/669/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/frenchdog.wordpress.com/669/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/frenchdog.wordpress.com/669/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/frenchdog.wordpress.com/669/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/frenchdog.wordpress.com/669/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/frenchdog.wordpress.com/669/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/frenchdog.wordpress.com/669/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/frenchdog.wordpress.com/669/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/frenchdog.wordpress.com/669/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/frenchdog.wordpress.com/669/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=669&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://frenchdog.wordpress.com/2011/04/13/ice-modeling-a-procedural-bullet-shattered-glass-compound/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/765ba5ed32eb545457d7c1a98078e34c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">frenchdog</media:title>
		</media:content>
	</item>
		<item>
		<title>ICE Cache Explorer</title>
		<link>http://frenchdog.wordpress.com/2011/01/11/ice-cache-explorer/</link>
		<comments>http://frenchdog.wordpress.com/2011/01/11/ice-cache-explorer/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 04:21:10 +0000</pubDate>
		<dc:creator>Guillaume Laforge</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[xsi]]></category>

		<guid isPermaLink="false">http://frenchdog.wordpress.com/?p=657</guid>
		<description><![CDATA[Before Christmas, I was speaking around a coffee with Marc-André Belzile (Mr Softimage SDK and many more) about a little viewer to see our ICE particles simulation without opening Softimage and then he created this nice open source project ! &#8230; <a href="http://frenchdog.wordpress.com/2011/01/11/ice-cache-explorer/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=657&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Before Christmas, I was speaking around a coffee with Marc-André Belzile (Mr Softimage SDK and many more) about a little viewer to see our ICE particles simulation without opening Softimage and then he created this nice open source project ! : <a href="http://code.google.com/p/ice-cache-explorer/">http://code.google.com/p/ice-cache-explorer/</a></p>
<p>A Python viewer to scrub your icecache, Nice <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p><a href="http://frenchdog.files.wordpress.com/2011/01/iceexplorer_1.png"><img class="aligncenter size-medium wp-image-664" title="ICEEXPLORER_1" src="http://frenchdog.files.wordpress.com/2011/01/iceexplorer_1.png?w=300&#038;h=195" alt="" width="300" height="195" /></a></p>
<p>And feel free to contribute !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/frenchdog.wordpress.com/657/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/frenchdog.wordpress.com/657/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/frenchdog.wordpress.com/657/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/frenchdog.wordpress.com/657/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/frenchdog.wordpress.com/657/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/frenchdog.wordpress.com/657/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/frenchdog.wordpress.com/657/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/frenchdog.wordpress.com/657/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/frenchdog.wordpress.com/657/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/frenchdog.wordpress.com/657/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/frenchdog.wordpress.com/657/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/frenchdog.wordpress.com/657/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/frenchdog.wordpress.com/657/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/frenchdog.wordpress.com/657/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=657&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://frenchdog.wordpress.com/2011/01/11/ice-cache-explorer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/765ba5ed32eb545457d7c1a98078e34c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">frenchdog</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2011/01/iceexplorer_1.png?w=300" medium="image">
			<media:title type="html">ICEEXPLORER_1</media:title>
		</media:content>
	</item>
		<item>
		<title>Happy 2011 !</title>
		<link>http://frenchdog.wordpress.com/2011/01/07/happy-2011/</link>
		<comments>http://frenchdog.wordpress.com/2011/01/07/happy-2011/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 02:35:37 +0000</pubDate>
		<dc:creator>Guillaume Laforge</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[xsi]]></category>

		<guid isPermaLink="false">http://frenchdog.wordpress.com/?p=651</guid>
		<description><![CDATA[I just saw those great news tonight. Softimage is #5 and Lagoa from Thiago Costa is #1 in the CGSociety 2010 retrospective ! 2010 was all Softimage for me too as I joined this incredible team in april . I wish you &#8230; <a href="http://frenchdog.wordpress.com/2011/01/07/happy-2011/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=651&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just saw <a href="http://features.cgsociety.org/story_custom.php?story_id=6031&amp;page=4">those great news </a> tonight. Softimage is #5 and Lagoa from Thiago Costa is #1 in the CGSociety 2010 retrospective !</p>
<p>2010 was all Softimage for me too as I joined this incredible team in april <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>I wish you all the very best for 2011 !</p>
<p>Guillaume Laforge</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/frenchdog.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/frenchdog.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/frenchdog.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/frenchdog.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/frenchdog.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/frenchdog.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/frenchdog.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/frenchdog.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/frenchdog.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/frenchdog.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/frenchdog.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/frenchdog.wordpress.com/651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/frenchdog.wordpress.com/651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/frenchdog.wordpress.com/651/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=651&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://frenchdog.wordpress.com/2011/01/07/happy-2011/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/765ba5ed32eb545457d7c1a98078e34c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">frenchdog</media:title>
		</media:content>
	</item>
		<item>
		<title>2010</title>
		<link>http://frenchdog.wordpress.com/2010/12/31/2010/</link>
		<comments>http://frenchdog.wordpress.com/2010/12/31/2010/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 19:08:33 +0000</pubDate>
		<dc:creator>Guillaume Laforge</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://frenchdog.wordpress.com/?p=647</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=647&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<span style="text-align:center; display: block;"><a href="http://frenchdog.wordpress.com/2010/12/31/2010/"><img src="http://img.youtube.com/vi/6Ud_hN5Qw6s/2.jpg" alt="" /></a></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/frenchdog.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/frenchdog.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/frenchdog.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/frenchdog.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/frenchdog.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/frenchdog.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/frenchdog.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/frenchdog.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/frenchdog.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/frenchdog.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/frenchdog.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/frenchdog.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/frenchdog.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/frenchdog.wordpress.com/647/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=647&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://frenchdog.wordpress.com/2010/12/31/2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/765ba5ed32eb545457d7c1a98078e34c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">frenchdog</media:title>
		</media:content>
	</item>
		<item>
		<title>Lagoa Multiphysics 1.0 &#8211; Teaser</title>
		<link>http://frenchdog.wordpress.com/2010/07/20/lagoa-multiphysics-1-0-teaser/</link>
		<comments>http://frenchdog.wordpress.com/2010/07/20/lagoa-multiphysics-1-0-teaser/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 01:20:08 +0000</pubDate>
		<dc:creator>Guillaume Laforge</dc:creator>
				<category><![CDATA[xsi]]></category>

		<guid isPermaLink="false">http://frenchdog.wordpress.com/?p=626</guid>
		<description><![CDATA[A Multiphysics framework for Softimage ICE by Thiago Costa. Enjoy !<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=626&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;">A Multiphysics framework for Softimage ICE by Thiago Costa.</p>
<p style="text-align:center;"><div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/13457383' width='400' height='300' frameborder='0'></iframe></div></p>
<p style="text-align:center;">Enjoy !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/frenchdog.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/frenchdog.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/frenchdog.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/frenchdog.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/frenchdog.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/frenchdog.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/frenchdog.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/frenchdog.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/frenchdog.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/frenchdog.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/frenchdog.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/frenchdog.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/frenchdog.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/frenchdog.wordpress.com/626/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=626&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://frenchdog.wordpress.com/2010/07/20/lagoa-multiphysics-1-0-teaser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/765ba5ed32eb545457d7c1a98078e34c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">frenchdog</media:title>
		</media:content>
	</item>
		<item>
		<title>me, myself and I</title>
		<link>http://frenchdog.wordpress.com/2010/06/20/me-myself-and-i/</link>
		<comments>http://frenchdog.wordpress.com/2010/06/20/me-myself-and-i/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 23:42:37 +0000</pubDate>
		<dc:creator>Guillaume Laforge</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[xsi]]></category>

		<guid isPermaLink="false">http://frenchdog.wordpress.com/?p=618</guid>
		<description><![CDATA[Tired to type &#8220;Get Da&#8221; and then &#8220;Self&#8221; ? Here is an advanced ICE node for advanced ICE users : (windows user can drag n drop the icon on an ICETree graph)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=618&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;">Tired to type &#8220;Get Da&#8221; and then &#8220;Self&#8221; ?<br />
Here is an advanced ICE node for advanced ICE users <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  :</p>
<h6 style="text-align:center;"><a href="http://dl.dropbox.com/u/5533643/frenchdog_blog/Self/Self.xsicompoundp"><img class="aligncenter size-full wp-image-621" title="Self_alpha" src="http://frenchdog.files.wordpress.com/2010/06/self_alpha.gif?w=500" alt=""   /></a><span style="font-weight:normal;">(windows user can drag n drop the icon on an ICETree graph)</span></h6>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/frenchdog.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/frenchdog.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/frenchdog.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/frenchdog.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/frenchdog.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/frenchdog.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/frenchdog.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/frenchdog.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/frenchdog.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/frenchdog.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/frenchdog.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/frenchdog.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/frenchdog.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/frenchdog.wordpress.com/618/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=618&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://frenchdog.wordpress.com/2010/06/20/me-myself-and-i/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/765ba5ed32eb545457d7c1a98078e34c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">frenchdog</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2010/06/self_alpha.gif" medium="image">
			<media:title type="html">Self_alpha</media:title>
		</media:content>
	</item>
		<item>
		<title>Polygon Islands : Using Arrays</title>
		<link>http://frenchdog.wordpress.com/2010/03/27/polygon-islands-using-arrays/</link>
		<comments>http://frenchdog.wordpress.com/2010/03/27/polygon-islands-using-arrays/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 13:21:57 +0000</pubDate>
		<dc:creator>Guillaume Laforge</dc:creator>
				<category><![CDATA[xsi]]></category>

		<guid isPermaLink="false">http://frenchdog.wordpress.com/?p=582</guid>
		<description><![CDATA[From the last post, our points now own the “__LowestPointIndexInIsland” attribute set to the exactly lowest point index in the polygon island. Our goal now is to build a polygon island index attribute like this : Once again, we need &#8230; <a href="http://frenchdog.wordpress.com/2010/03/27/polygon-islands-using-arrays/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=582&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From the <a href="http://frenchdog.wordpress.com/2010/03/22/polygon-islands-getting-the-lowest-point-index-part-2/">last post</a>, our points now own the “__LowestPointIndexInIsland” attribute set to the exactly lowest point index in the polygon island.<br />
<a href="http://frenchdog.files.wordpress.com/2010/03/lowestpointindexinisland.jpg"></a></p>
<div id="attachment_583" class="wp-caption aligncenter" style="width: 402px"><a href="http://frenchdog.files.wordpress.com/2010/03/lowestpointindexinisland.jpg"><img class="size-full wp-image-583" title="LowestPointIndexInIsland" src="http://frenchdog.files.wordpress.com/2010/03/lowestpointindexinisland.jpg?w=500" alt=""   /></a><p class="wp-caption-text">&quot;__LowestPointIndexInIsland&quot; per point attribute</p></div>
<p>Our goal now is to build a polygon island index attribute like this : <a href="http://frenchdog.files.wordpress.com/2010/03/islandindex.jpg"><img class="aligncenter size-full wp-image-584" title="IslandIndex" src="http://frenchdog.files.wordpress.com/2010/03/islandindex.jpg?w=500" alt=""   /></a>Once again, we need to think in which context we can see our data. If we stay in the &#8220;per point context&#8221;, we will only see one point at a time. It would be harder to build an algorithm to get our polygon island index this way.<br />
But if we could build just an array (in per object context) of all our &#8220;__LowestPointIndexInIsland” attribute it would be easier to deal with (we will see latter how).</p>
<p>&#8220;Build Array from Per Point Data&#8221; :</p>
<p>In Softimage 2011, you just need to use a &#8220;Build Array from Per Point Data&#8221; compound. But you can easily build a similar one in any versions (and it will be an other excuse to learn something new !).</p>
<p style="text-align:center;">
<div id="attachment_591" class="wp-caption aligncenter" style="width: 510px"><a href="http://frenchdog.files.wordpress.com/2010/03/buildarrayfromperpointdata1.jpg"><img class="size-full wp-image-591" title="BuildArrayfromPerPointData" src="http://frenchdog.files.wordpress.com/2010/03/buildarrayfromperpointdata1.jpg?w=500&#038;h=106" alt="" width="500" height="106" /></a><p class="wp-caption-text">Build array from per point data</p></div>
<p style="text-align:left;"><a href="http://frenchdog.files.wordpress.com/2010/03/buildarrayfromperpointdata.jpg"></a>First we create an array with the same size as the number of points in our object.<br />
Then we build an other array from the first one using its sub indices. Here is an example :</p>
<ul>
<li style="text-align:left;">Index :  0 .  Array A data : a value  &gt;  Array B data  is Index 0.</li>
<li style="text-align:left;">Index :  1 .   Array A data : a value  &gt;  Array B data is Index 1.</li>
<li>&#8230;</li>
<li>Index :  n.   Array A data : a value  &gt;  Array B data is Index n.</li>
</ul>
<p>If we feed an &#8220;ID to Location&#8221; node with this array, it will return an array of locations.</p>
<p>From this array, we can get all our “__LowestPointIndexInIsland” attributes in one go !</p>
<p><a href="http://frenchdog.files.wordpress.com/2010/03/perpointtoperobject.jpg"><img class="aligncenter size-full wp-image-592" title="perPointToPerObject" src="http://frenchdog.files.wordpress.com/2010/03/perpointtoperobject.jpg?w=500" alt=""   /></a></p>
<p>The &#8220;zipped&#8221; array :</p>
<p>Or how to create an array B [n, n+3, n+6] from an array A  [n, n, n,  n+3, n+3, n+3,  n+6, n+6, n+6].<br />
We need to iterate through array A values and push the value to array B only if it doesn&#8217;t exist in Array B.<br />
The way you iterate along an array in ICE is using a Repeat node with the number of repeats set to the array size. We will need to build a repeat counter attribute to be able to select the &#8220;current value&#8221; in our Array A  inside the repeat execution. As it is a common setup in ICE, I built my own compound some time ago to deal with this kind of executions.<a href="http://frenchdog.files.wordpress.com/2010/03/repeatcompound.jpg"><img class="aligncenter size-full wp-image-597" title="repeatCompound" src="http://frenchdog.files.wordpress.com/2010/03/repeatcompound.jpg?w=500&#038;h=210" alt="" width="500" height="210" /></a></p>
<div id="attachment_600" class="wp-caption aligncenter" style="width: 510px"><a href="http://frenchdog.files.wordpress.com/2010/03/setislandindex_00.jpg"><img class="size-full wp-image-600" title="SetIslandIndex_00" src="http://frenchdog.files.wordpress.com/2010/03/setislandindex_00.jpg?w=500&#038;h=197" alt="" width="500" height="197" /></a><p class="wp-caption-text">zipped array graph</p></div>
<p style="text-align:left;">I usually name the iterator attribute &#8220;__ITERATOR_my_name&#8221;. This way it is easy to know from a get data that we are dealing with this kind of variable.  It is always nice to be able to figure out a graph without zooming on each nodes. From the &#8220;zipped array graph&#8221; with can easily read that we get four attributes from the object  istself (blue nodes) and that we set one attribute (the light blue one). In fact we also set the itterator attribute at each repeat execution but we already know that from its name. I&#8217;m hiding the iterator attributes from the explorer using &#8220;__&#8221; (as in ICE there is only one global name space).<br />
Once you are comfortable with the Repeat node workflow, if your are using Softimage 2011, you can directly use the &#8220;Repeat with Counter&#8221; compound !</p>
<p style="text-align:left;">The index array :</p>
<p style="text-align:left;">Now from the array B [n, n+3, n+6] we can build an array C[n, n+1, n+2]. We will use again a Repeat node, an itterator and some Array nodes.</p>
<p style="text-align:left;"><a href="http://frenchdog.files.wordpress.com/2010/03/setislandindex_01.jpg"><img class="aligncenter size-full wp-image-603" title="SetIslandIndex_01" src="http://frenchdog.files.wordpress.com/2010/03/setislandindex_01.jpg?w=500&#038;h=183" alt="" width="500" height="183" /></a></p>
<p style="text-align:left;">We are doing a very similar graph and finally get our Polygon Islands Index. If you haven&#8217;t download those compound from the first Polygon Islands post, <a href="http://dl.dropbox.com/u/5533643/Softimage/Addons/PolygonsParticles.xsiaddon">here is the link again</a>. Once the addon installed, you could dive inside the &#8220;Create Polygon Island Index&#8221; compound and figure out how it works.</p>
<p style="text-align:left;">Cheers !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/frenchdog.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/frenchdog.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/frenchdog.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/frenchdog.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/frenchdog.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/frenchdog.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/frenchdog.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/frenchdog.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/frenchdog.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/frenchdog.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/frenchdog.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/frenchdog.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/frenchdog.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/frenchdog.wordpress.com/582/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=582&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://frenchdog.wordpress.com/2010/03/27/polygon-islands-using-arrays/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/765ba5ed32eb545457d7c1a98078e34c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">frenchdog</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2010/03/lowestpointindexinisland.jpg" medium="image">
			<media:title type="html">LowestPointIndexInIsland</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2010/03/islandindex.jpg" medium="image">
			<media:title type="html">IslandIndex</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2010/03/buildarrayfromperpointdata1.jpg" medium="image">
			<media:title type="html">BuildArrayfromPerPointData</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2010/03/perpointtoperobject.jpg" medium="image">
			<media:title type="html">perPointToPerObject</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2010/03/repeatcompound.jpg" medium="image">
			<media:title type="html">repeatCompound</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2010/03/setislandindex_00.jpg" medium="image">
			<media:title type="html">SetIslandIndex_00</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2010/03/setislandindex_01.jpg" medium="image">
			<media:title type="html">SetIslandIndex_01</media:title>
		</media:content>
	</item>
		<item>
		<title>Polygon Islands : Getting the Lowest Point Index Part 2</title>
		<link>http://frenchdog.wordpress.com/2010/03/22/polygon-islands-getting-the-lowest-point-index-part-2/</link>
		<comments>http://frenchdog.wordpress.com/2010/03/22/polygon-islands-getting-the-lowest-point-index-part-2/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 22:13:32 +0000</pubDate>
		<dc:creator>Guillaume Laforge</dc:creator>
				<category><![CDATA[xsi]]></category>

		<guid isPermaLink="false">http://frenchdog.wordpress.com/?p=521</guid>
		<description><![CDATA[Warning : This is not really a step by step tutorial on how to build this compound but rather an attempt to show how you can translate an idea in &#8220;ICE language&#8221; . _____ So now that we can easily get &#8230; <a href="http://frenchdog.wordpress.com/2010/03/22/polygon-islands-getting-the-lowest-point-index-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=521&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h6>Warning : This is not really a step by step tutorial on how to build this compound but rather an attempt to show how you can translate an idea in &#8220;ICE language&#8221; .</h6>
<p><span style="color:#ffffff;">_____</span></p>
<p>So now that <a href="http://frenchdog.wordpress.com/2010/03/21/polygon-islands-getting-the-lowest-point-index/">we can easily get our point index</a>, it is time to see the concept of &#8220;Location&#8221; :</p>
<p>From a location you can get all the attributes of the context (of this location). The attributes will be interpolated between the context attributes around the location. &#8230;well, lets take a more explicit example.<br />
In real life, a location is more than just a position. For example, if I&#8217;m located in Paris, I can see the Eiffel tower, I can hear people speaking french, I can also know my latitude/longitude position and so one. If you think of the ability to see the Eiffel tower or to hear french as the values of  &#8220;monument&#8221; and &#8220;language&#8221; attributes for this location, then you get the picture. Location in ICE is a  very similar concept ( so you can easily know if your point is near the Eiffel tower&#8230;), but instead of being on earth, an ICE location is on the surface of your geometry (so I could be wrong as you probably can&#8217;t see Eiffel tower from your geometry &#8230;).</p>
<p><a href="http://frenchdog.files.wordpress.com/2010/03/getpointneighbors.jpg"><img class="alignleft size-full wp-image-523" title="GetPointNeighbors" src="http://frenchdog.files.wordpress.com/2010/03/getpointneighbors.jpg?w=500&#038;h=112" alt="" width="500" height="112" /></a>From the doc, we can read that the &#8220;PointNeighbors&#8221; attribute  is &#8220;an array containing the locations of the vertices that are connected to a vertex by edges.If you get this attribute at a surface location, it returns the neighbors of the vertex closest to the location.&#8221;.<br />
As those location are in per point context (a vertice is a polymesh point in Softimage) we can get our &#8220;__LowestPointIndexInIsland&#8221; (see previous post) without problem from those locations. Now we just need to find the lowest value in the array and compare it to the current point value. I won&#8217;t go into detail here as you just need to look at the ICE graph of the &#8220;﻿Get Lowest Point Index By Islands&#8221; compound <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> .</p>
<p style="text-align:left;">So now that we know if our point index is smaller or not than its neighbors, we need to repeat this operation several time to get the very lowest index in the island. If you remember my little &#8220;doodle graph&#8221; from the first post (or if you just look below) : <a href="http://frenchdog.files.wordpress.com/2010/03/2d_points_neighbors.jpg"><img class="size-full wp-image-503 aligncenter" title="2d_points_neighbors" src="http://frenchdog.files.wordpress.com/2010/03/2d_points_neighbors.jpg?w=500" alt=""   /></a>We see that for those 3 points, we need to repeat the neighbor comparison two times.  A basic approach would be to use a repeat node with a rather large number of repeat iterations. In fact you should built such setup. This way you would see that increasing the iteration slider would give you better and better result (using the &#8220;show value&#8221; feature of the ICE graph) until all the points would be set to the lowest index. But the Repeat node &#8230; repeat the same amount of time the comparison for all the poly islands. If an island is made of only one triangle and the Repeat node is set to 100 (for example), the poor little triangle&#8217;s points would be compared too many time (and it couldn&#8217;t be tolerated !). So we need to know if all the points of this triangle are still updating their lowest index attribute at each iteration. Using a While node with the condition &#8220;is my index still changed&#8221; is a better option. It will give us the opportunity to see how we can initialize an attribute in ICE !</p>
<p style="text-align:left;">“Initializing Data” :</p>
<p style="text-align:left;">ICE handle very well undefined custom data. It will always try to guess the data type from upstream or downstream connected nodes. In the example below, to create the &#8220;__IndexIsNotChanged&#8221; attribute, we don&#8217;t need to first use a Set Data. Once familiar with this workflow, you will discover that it speed up your graph construction. If your data need to be create with a default value like 0.0 or false or 0.0, 0.0, 0.0 (for a vector) then you don&#8217;t need to set it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . It will find its type latter in the graph !</p>
<p style="text-align:left;"><a href="http://frenchdog.files.wordpress.com/2010/03/initialize_data.jpg"><img class="alignleft size-full wp-image-531" title="initialize_data" src="http://frenchdog.files.wordpress.com/2010/03/initialize_data.jpg?w=500&#038;h=215" alt="" width="500" height="215" /></a></p>
<p style="text-align:left;">We can see that first, the &#8220;__IndexIsNotChanged&#8221; attribute is a value but ICE doesn&#8217;t know its type. Then we ask for the minimum in the set for this unknown attribute and ICE is still confortable with this abstraction <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
As soon as we plug the Get Minimum in Set in the Not node (a node always returning a boolean value), our attribute is set as a boolean attribute. It will be a per object context attribute until we start to use it in an other context.</p>
<p style="text-align:left;">I&#8217;m stopping here for tonight. Stay tuned, in the next post we will have fun with ICE array.</p>
<p style="text-align:left;">Cheers !</p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;"> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/frenchdog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/frenchdog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/frenchdog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/frenchdog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/frenchdog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/frenchdog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/frenchdog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/frenchdog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/frenchdog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/frenchdog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/frenchdog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/frenchdog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/frenchdog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/frenchdog.wordpress.com/521/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=frenchdog.wordpress.com&amp;blog=4061907&amp;post=521&amp;subd=frenchdog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://frenchdog.wordpress.com/2010/03/22/polygon-islands-getting-the-lowest-point-index-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/765ba5ed32eb545457d7c1a98078e34c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">frenchdog</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2010/03/getpointneighbors.jpg" medium="image">
			<media:title type="html">GetPointNeighbors</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2010/03/2d_points_neighbors.jpg" medium="image">
			<media:title type="html">2d_points_neighbors</media:title>
		</media:content>

		<media:content url="http://frenchdog.files.wordpress.com/2010/03/initialize_data.jpg" medium="image">
			<media:title type="html">initialize_data</media:title>
		</media:content>
	</item>
	</channel>
</rss>
