<?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: simutils-0001: Diffusion limited aggregation</title>
	<atom:link href="http://toxiclibs.org/2010/02/new-package-simutils/feed/" rel="self" type="application/rss+xml" />
	<link>http://toxiclibs.org/2010/02/new-package-simutils/</link>
	<description>Building blocks for computational design</description>
	<lastBuildDate>Wed, 11 Jan 2012 22:35:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Devin</title>
		<link>http://toxiclibs.org/2010/02/new-package-simutils/comment-page-1/#comment-3810</link>
		<dc:creator>Devin</dc:creator>
		<pubDate>Sun, 03 Apr 2011 06:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://toxiclibs.org/?p=190#comment-3810</guid>
		<description>Thanks! That helps a lot. One other thing... is there a way to export the octree cubes? I have tried to write something similar to your code you posted above, but it seems like I would have to convert all of the box data over to points, then reformat, and write a new function to format each of the boxes to export as 6 faces made up of 4 points. (This might be easier to do as points, but I was thinking maybe you would know how to link this with your geometry library classes, to export as an obj).

Thanks for your help!

Devin</description>
		<content:encoded><![CDATA[<p>Thanks! That helps a lot. One other thing&#8230; is there a way to export the octree cubes? I have tried to write something similar to your code you posted above, but it seems like I would have to convert all of the box data over to points, then reformat, and write a new function to format each of the boxes to export as 6 faces made up of 4 points. (This might be easier to do as points, but I was thinking maybe you would know how to link this with your geometry library classes, to export as an obj).</p>
<p>Thanks for your help!</p>
<p>Devin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toxi</title>
		<link>http://toxiclibs.org/2010/02/new-package-simutils/comment-page-1/#comment-3786</link>
		<dc:creator>toxi</dc:creator>
		<pubDate>Fri, 01 Apr 2011 08:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://toxiclibs.org/?p=190#comment-3786</guid>
		<description>Devin, of course there is (and it&#039;s also shown in the code above). The following line creates the root node of the octree from XYZ=100,200,300 and expanding 100 units along the positive axes. So the max point of that cubic tree space will be at XYZ=200,300,400:

&lt;code&gt;PointOctree octree = new PointOctree(new Vec3D(100,200,300),100);&lt;/code&gt;

Hope that helps!</description>
		<content:encoded><![CDATA[<p>Devin, of course there is (and it&#8217;s also shown in the code above). The following line creates the root node of the octree from XYZ=100,200,300 and expanding 100 units along the positive axes. So the max point of that cubic tree space will be at XYZ=200,300,400:</p>
<p><code>PointOctree octree = new PointOctree(new Vec3D(100,200,300),100);</code></p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devin</title>
		<link>http://toxiclibs.org/2010/02/new-package-simutils/comment-page-1/#comment-3781</link>
		<dc:creator>Devin</dc:creator>
		<pubDate>Thu, 31 Mar 2011 20:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://toxiclibs.org/?p=190#comment-3781</guid>
		<description>Is there anyway to define the coordinates of the initial octree box, in order to reference the DLA simulation to another series of geometry? I am trying to generate some guide curves on a landscape and have the DLA grow along those curves. Thanks!</description>
		<content:encoded><![CDATA[<p>Is there anyway to define the coordinates of the initial octree box, in order to reference the DLA simulation to another series of geometry? I am trying to generate some guide curves on a landscape and have the DLA grow along those curves. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: midterm proposal &#124; angela chen</title>
		<link>http://toxiclibs.org/2010/02/new-package-simutils/comment-page-1/#comment-543</link>
		<dc:creator>midterm proposal &#124; angela chen</dc:creator>
		<pubDate>Sun, 08 Aug 2010 14:07:50 +0000</pubDate>
		<guid isPermaLink="false">http://toxiclibs.org/?p=190#comment-543</guid>
		<description>[...] Toxi recently posted about a library called simultis which explores this DLA process with some amazing looking results: http://toxiclibs.org/2010/02/new-package-simutils/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Toxi recently posted about a library called simultis which explores this DLA process with some amazing looking results: <a href="http://toxiclibs.org/2010/02/new-package-simutils/" rel="nofollow">http://toxiclibs.org/2010/02/new-package-simutils/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lifephysic</title>
		<link>http://toxiclibs.org/2010/02/new-package-simutils/comment-page-1/#comment-435</link>
		<dc:creator>lifephysic</dc:creator>
		<pubDate>Wed, 07 Jul 2010 20:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://toxiclibs.org/?p=190#comment-435</guid>
		<description>Have you taken in account magnetic field influence on the grown and many centers dla</description>
		<content:encoded><![CDATA[<p>Have you taken in account magnetic field influence on the grown and many centers dla</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DieTapete</title>
		<link>http://toxiclibs.org/2010/02/new-package-simutils/comment-page-1/#comment-72</link>
		<dc:creator>DieTapete</dc:creator>
		<pubDate>Wed, 24 Mar 2010 03:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://toxiclibs.org/?p=190#comment-72</guid>
		<description>I did some tests and wrote the values down for reference:
http://www.flickr.com/photos/dietapete/sets/72157623556675973/

..just in case someone&#039;s interested in it.</description>
		<content:encoded><![CDATA[<p>I did some tests and wrote the values down for reference:<br />
<a href="http://www.flickr.com/photos/dietapete/sets/72157623556675973/" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/www.flickr.com/photos/dietapete/sets/72157623556675973/?referer=');">http://www.flickr.com/photos/dietapete/sets/72157623556675973/</a></p>
<p>..just in case someone&#8217;s interested in it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toxi</title>
		<link>http://toxiclibs.org/2010/02/new-package-simutils/comment-page-1/#comment-38</link>
		<dc:creator>toxi</dc:creator>
		<pubDate>Mon, 01 Mar 2010 21:34:40 +0000</pubDate>
		<guid isPermaLink="false">http://toxiclibs.org/?p=190#comment-38</guid>
		<description>Colin, merci beaucoup! The exported file is a raw Java DataOutputStream of XYZ coordinates of all points, nothing else. The source for the current export method is here:

http://code.google.com/p/toxiclibs/source/browse/trunk/toxiclibs/src.sim/toxi/sim/dla/DLA.java#220

Incidentally, this is the same format used by Sunflow for its &quot;particles&quot; primitive, but it&#039;d be trivial to export this as anything else, e.g. like this:

&lt;pre class=&quot;brush:java&quot;&gt;// save particles as text file, 1 per line
void savePoints(DLA dla, String filePath) {
  try {
    FileOutputStream fs = new FileOutputStream(filePath);
    PrintWriter printer = new PrintWriter(fs);
    for(Iterator i=dla.getParticles().iterator(); i.hasNext();) {
      Vec3D p=(Vec3D)i.next();
      printer.println(p.x+&quot;,&quot;+p.y+&quot;,&quot;+p.z);
    }
  } catch (Exception e) {
    e.printStackTrace();
  }
}&lt;/pre&gt;

Are there any standard file formats for point clouds I should know about/support? What are you guys using at Pixar for such things, i.e. how does Renderman handle point clouds (directly)?

It&#039;s a true honour to have you as a reader, would love to see what you come up with! :)</description>
		<content:encoded><![CDATA[<p>Colin, merci beaucoup! The exported file is a raw Java DataOutputStream of XYZ coordinates of all points, nothing else. The source for the current export method is here:</p>
<p><a href="http://code.google.com/p/toxiclibs/source/browse/trunk/toxiclibs/src.sim/toxi/sim/dla/DLA.java#220" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/code.google.com/p/toxiclibs/source/browse/trunk/toxiclibs/src.sim/toxi/sim/dla/DLA.java_220?referer=');">http://code.google.com/p/toxiclibs/source/browse/trunk/toxiclibs/src.sim/toxi/sim/dla/DLA.java#220</a></p>
<p>Incidentally, this is the same format used by Sunflow for its &#8220;particles&#8221; primitive, but it&#8217;d be trivial to export this as anything else, e.g. like this:</p>
<pre class="brush:java">// save particles as text file, 1 per line
void savePoints(DLA dla, String filePath) {
  try {
    FileOutputStream fs = new FileOutputStream(filePath);
    PrintWriter printer = new PrintWriter(fs);
    for(Iterator i=dla.getParticles().iterator(); i.hasNext();) {
      Vec3D p=(Vec3D)i.next();
      printer.println(p.x+","+p.y+","+p.z);
    }
  } catch (Exception e) {
    e.printStackTrace();
  }
}</pre>
<p>Are there any standard file formats for point clouds I should know about/support? What are you guys using at Pixar for such things, i.e. how does Renderman handle point clouds (directly)?</p>
<p>It&#8217;s a true honour to have you as a reader, would love to see what you come up with! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Thompson</title>
		<link>http://toxiclibs.org/2010/02/new-package-simutils/comment-page-1/#comment-37</link>
		<dc:creator>Colin Thompson</dc:creator>
		<pubDate>Mon, 01 Mar 2010 20:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://toxiclibs.org/?p=190#comment-37</guid>
		<description>Awesome!

Thanks for this. Super helpful. One question though: what file format are you using for your point cloud output? Is it sunflow specific? I&#039;d like to use the data elsewhere.

thanks,

colin</description>
		<content:encoded><![CDATA[<p>Awesome!</p>
<p>Thanks for this. Super helpful. One question though: what file format are you using for your point cloud output? Is it sunflow specific? I&#8217;d like to use the data elsewhere.</p>
<p>thanks,</p>
<p>colin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberVU - social comments</title>
		<link>http://toxiclibs.org/2010/02/new-package-simutils/comment-page-1/#comment-31</link>
		<dc:creator>uberVU - social comments</dc:creator>
		<pubDate>Sat, 20 Feb 2010 12:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://toxiclibs.org/?p=190#comment-31</guid>
		<description>&lt;strong&gt;Social comments and analytics for this post...&lt;/strong&gt;

This post was mentioned on Twitter by toxiclibs: New blog post: simutils-0001: Diffusion limited aggregation (http://cli.gs/9qVA4)...</description>
		<content:encoded><![CDATA[<p><strong>Social comments and analytics for this post&#8230;</strong></p>
<p>This post was mentioned on Twitter by toxiclibs: New blog post: simutils-0001: Diffusion limited aggregation (<a href="http://cli.gs/9qVA4" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/cli.gs/9qVA4?referer=');">http://cli.gs/9qVA4</a>)&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

