<?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: PY4D Boids</title>
	<atom:link href="http://www.smart-page.net/blog/2009/08/07/py4d-boids/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smart-page.net/blog/2009/08/07/py4d-boids/</link>
	<description>C++ / C# / Actionscript / Py ... &#039;My God. It&#039;s full of stars!&#039;</description>
	<lastBuildDate>Thu, 29 Jul 2010 21:16:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: flashgordon</title>
		<link>http://www.smart-page.net/blog/2009/08/07/py4d-boids/comment-page-1/#comment-5524</link>
		<dc:creator>flashgordon</dc:creator>
		<pubDate>Tue, 09 Mar 2010 18:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=309#comment-5524</guid>
		<description>:) anytime</description>
		<content:encoded><![CDATA[<p> <img src='http://www.smart-page.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  anytime</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will MacNeil</title>
		<link>http://www.smart-page.net/blog/2009/08/07/py4d-boids/comment-page-1/#comment-5523</link>
		<dc:creator>Will MacNeil</dc:creator>
		<pubDate>Tue, 09 Mar 2010 18:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=309#comment-5523</guid>
		<description>Ooops.  It&#039;s fine now.  The script didn&#039;t like the text I copied in.

Thanks!

W</description>
		<content:encoded><![CDATA[<p>Ooops.  It&#8217;s fine now.  The script didn&#8217;t like the text I copied in.</p>
<p>Thanks!</p>
<p>W</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will MacNeil</title>
		<link>http://www.smart-page.net/blog/2009/08/07/py4d-boids/comment-page-1/#comment-5522</link>
		<dc:creator>Will MacNeil</dc:creator>
		<pubDate>Tue, 09 Mar 2010 18:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=309#comment-5522</guid>
		<description>Sorry, I&#039;m getting an error message when I copy the text into line 132.  The error links to line 42.  Just let me know if I&#039;m disturbing you!

W</description>
		<content:encoded><![CDATA[<p>Sorry, I&#8217;m getting an error message when I copy the text into line 132.  The error links to line 42.  Just let me know if I&#8217;m disturbing you!</p>
<p>W</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will MacNeil</title>
		<link>http://www.smart-page.net/blog/2009/08/07/py4d-boids/comment-page-1/#comment-5521</link>
		<dc:creator>Will MacNeil</dc:creator>
		<pubDate>Tue, 09 Mar 2010 18:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=309#comment-5521</guid>
		<description>Beautiful!  Thanks.  I know very little about coding, so I may come back with some questions.

This project I&#039;m doing is part of a large multi-studio animated film.  I can&#039;t tell you much more about it now, but I look forward to sharing it with you later.

Cheers,

W</description>
		<content:encoded><![CDATA[<p>Beautiful!  Thanks.  I know very little about coding, so I may come back with some questions.</p>
<p>This project I&#8217;m doing is part of a large multi-studio animated film.  I can&#8217;t tell you much more about it now, but I look forward to sharing it with you later.</p>
<p>Cheers,</p>
<p>W</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flashgordon</title>
		<link>http://www.smart-page.net/blog/2009/08/07/py4d-boids/comment-page-1/#comment-5520</link>
		<dc:creator>flashgordon</dc:creator>
		<pubDate>Tue, 09 Mar 2010 18:03:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=309#comment-5520</guid>
		<description>Yes exactly,

there is a global vector &quot;target&quot; that represents the virtual target of the swarm. 
It gets bounced around randomly within a box - see the method &quot;movetarget&quot;.

You will find it again at the &quot;rule4&quot; method which makes the boids follow.

I would suggest to comment out the call to &quot;set_target()&quot; at line 69 and to replace the line 137 within &quot;rule4&quot; like this:

&lt;i&gt;return (op[ID_USERDATA, 1].get_pos() - bpos[c]) / 100&lt;/i&gt;

This should allow you to control the boids movement by moving the null &quot;Target&quot; 
(it´s linked to the PY4D Tag via the userdata field 1).</description>
		<content:encoded><![CDATA[<p>Yes exactly,</p>
<p>there is a global vector &#8220;target&#8221; that represents the virtual target of the swarm.<br />
It gets bounced around randomly within a box &#8211; see the method &#8220;movetarget&#8221;.</p>
<p>You will find it again at the &#8220;rule4&#8243; method which makes the boids follow.</p>
<p>I would suggest to comment out the call to &#8220;set_target()&#8221; at line 69 and to replace the line 137 within &#8220;rule4&#8243; like this:</p>
<p><i>return (op[ID_USERDATA, 1].get_pos() &#8211; bpos[c]) / 100</i></p>
<p>This should allow you to control the boids movement by moving the null &#8220;Target&#8221;<br />
(it´s linked to the PY4D Tag via the userdata field 1).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will MacNeil</title>
		<link>http://www.smart-page.net/blog/2009/08/07/py4d-boids/comment-page-1/#comment-5519</link>
		<dc:creator>Will MacNeil</dc:creator>
		<pubDate>Tue, 09 Mar 2010 17:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=309#comment-5519</guid>
		<description>Thanks Flash!

Is there a way to control the target movement? It seems to be controlled by the script, yes?

Cheers,

W</description>
		<content:encoded><![CDATA[<p>Thanks Flash!</p>
<p>Is there a way to control the target movement? It seems to be controlled by the script, yes?</p>
<p>Cheers,</p>
<p>W</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flashgordon</title>
		<link>http://www.smart-page.net/blog/2009/08/07/py4d-boids/comment-page-1/#comment-5518</link>
		<dc:creator>flashgordon</dc:creator>
		<pubDate>Tue, 09 Mar 2010 16:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=309#comment-5518</guid>
		<description>Hi Will,

if the boids are in any way helpful for your project than please go ahead and feel free to use them.
The whole purpose of that script was to take PY4D for a spin and to encourage others to do the same :)

The scenefile is already prepared to make it easy to attach any object like your planes.

Btw: just watched your real - nice!

Cheers!
 </description>
		<content:encoded><![CDATA[<p>Hi Will,</p>
<p>if the boids are in any way helpful for your project than please go ahead and feel free to use them.<br />
The whole purpose of that script was to take PY4D for a spin and to encourage others to do the same <img src='http://www.smart-page.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The scenefile is already prepared to make it easy to attach any object like your planes.</p>
<p>Btw: just watched your real &#8211; nice!</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will MacNeil</title>
		<link>http://www.smart-page.net/blog/2009/08/07/py4d-boids/comment-page-1/#comment-5517</link>
		<dc:creator>Will MacNeil</dc:creator>
		<pubDate>Tue, 09 Mar 2010 15:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=309#comment-5517</guid>
		<description>Hi, I was wondering if there&#039;s a way to incorporate PY4D Boids into a project I&#039;m doing.  I need to control several simple planes in a similar way.

I realise the Py4D is in Beta and that Boids is not currently a commercial product, but at the same time, my project is for a charity film and I&#039;m willing to take a few risks.

Great job on this, by the way.

Cheers,

Will</description>
		<content:encoded><![CDATA[<p>Hi, I was wondering if there&#8217;s a way to incorporate PY4D Boids into a project I&#8217;m doing.  I need to control several simple planes in a similar way.</p>
<p>I realise the Py4D is in Beta and that Boids is not currently a commercial product, but at the same time, my project is for a charity film and I&#8217;m willing to take a few risks.</p>
<p>Great job on this, by the way.</p>
<p>Cheers,</p>
<p>Will</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flashgordon</title>
		<link>http://www.smart-page.net/blog/2009/08/07/py4d-boids/comment-page-1/#comment-5113</link>
		<dc:creator>flashgordon</dc:creator>
		<pubDate>Mon, 25 Jan 2010 16:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=309#comment-5113</guid>
		<description>Hi Jay,

I am not sure if other CG suites bring a &quot;decent&quot; solution to this with them, but I do know that there is a marked for 3rd party plugins dealing with dynamic destruction and fragmentation of objects.

The common approach to fragmentation is to cut polys based on a &lt;a href=&quot;http://en.wikipedia.org/wiki/Voronoi_diagram&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;voronoi diagram&lt;/a&gt;.
So it´s not that hard - the difficult part is to make it performant. 
 
As for C4D, there is a plugin called &quot;Lehman&quot; in the making, that generates voronoi fragments.

Since Cinema4D R11.5, Mograph2 implements the Bullet engine - so the ridgid body physics involved in blasting an object should be easy to simulate.</description>
		<content:encoded><![CDATA[<p>Hi Jay,</p>
<p>I am not sure if other CG suites bring a &#8220;decent&#8221; solution to this with them, but I do know that there is a marked for 3rd party plugins dealing with dynamic destruction and fragmentation of objects.</p>
<p>The common approach to fragmentation is to cut polys based on a <a href="http://en.wikipedia.org/wiki/Voronoi_diagram" target="_blank" rel="nofollow">voronoi diagram</a>.<br />
So it´s not that hard &#8211; the difficult part is to make it performant. </p>
<p>As for C4D, there is a plugin called &#8220;Lehman&#8221; in the making, that generates voronoi fragments.</p>
<p>Since Cinema4D R11.5, Mograph2 implements the Bullet engine &#8211; so the ridgid body physics involved in blasting an object should be easy to simulate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.smart-page.net/blog/2009/08/07/py4d-boids/comment-page-1/#comment-5112</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Mon, 25 Jan 2010 16:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=309#comment-5112</guid>
		<description>I dont know if you will see this but It seem you have plugged into python, I do not know why but cinema still does not have a a decent way to break a object apart based on fractal. It hard for me to explain the simplest method have a look here http://www.mirvadim.com/. This is rayfire. Basically it uses a fractal on a polygon, multiplys and random places it withing a volume( this is the cutter ) this is the cutter, the result are realistic fracture pieces that are made children of dynamics systems Maby you can make something like this for Cinema, after 10 years they still have not done this is it that hard? RayfireTool explains the process, it seems simple enough.</description>
		<content:encoded><![CDATA[<p>I dont know if you will see this but It seem you have plugged into python, I do not know why but cinema still does not have a a decent way to break a object apart based on fractal. It hard for me to explain the simplest method have a look here <a href="http://www.mirvadim.com/" rel="nofollow">http://www.mirvadim.com/</a>. This is rayfire. Basically it uses a fractal on a polygon, multiplys and random places it withing a volume( this is the cutter ) this is the cutter, the result are realistic fracture pieces that are made children of dynamics systems Maby you can make something like this for Cinema, after 10 years they still have not done this is it that hard? RayfireTool explains the process, it seems simple enough.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
