<?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: Points on a sphere</title>
	<atom:link href="http://www.softimageblog.com/archives/115/feed" rel="self" type="application/rss+xml" />
	<link>http://www.softimageblog.com/archives/115</link>
	<description>People and thoughts behind Softimage in production...</description>
	<lastBuildDate>Sat, 04 Feb 2012 05:37:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Flavio</title>
		<link>http://www.softimageblog.com/archives/115/comment-page-1#comment-17841</link>
		<dc:creator>Flavio</dc:creator>
		<pubDate>Sat, 20 Aug 2011 19:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=115#comment-17841</guid>
		<description>Thanks for the &quot;My Golden Section Spiral&quot; code. I have been trying to solve this problem for some time!
You are a genius, whoever yo are! Thanks again!
Flavio</description>
		<content:encoded><![CDATA[<p>Thanks for the &#8220;My Golden Section Spiral&#8221; code. I have been trying to solve this problem for some time!<br />
You are a genius, whoever yo are! Thanks again!<br />
Flavio</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Sherwood</title>
		<link>http://www.softimageblog.com/archives/115/comment-page-1#comment-17777</link>
		<dc:creator>Anton Sherwood</dc:creator>
		<pubDate>Wed, 01 Jun 2011 16:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=115#comment-17777</guid>
		<description>I renamed my site a few months ago from ogre.nu to bendwavy.org, because (unlike in 1998) .org is much cheaper than .nu.</description>
		<content:encoded><![CDATA[<p>I renamed my site a few months ago from ogre.nu to bendwavy.org, because (unlike in 1998) .org is much cheaper than .nu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chrelad</title>
		<link>http://www.softimageblog.com/archives/115/comment-page-1#comment-17635</link>
		<dc:creator>chrelad</dc:creator>
		<pubDate>Wed, 16 Feb 2011 02:54:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=115#comment-17635</guid>
		<description>This is a great write-up on the subject of distribution of points about the surface of a sphere. Great job and very easy to understand for beginners :)</description>
		<content:encoded><![CDATA[<p>This is a great write-up on the subject of distribution of points about the surface of a sphere. Great job and very easy to understand for beginners :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Making Tie Bar &#38; Cufflinks:: My Madness &#124; Knot Cufflinks</title>
		<link>http://www.softimageblog.com/archives/115/comment-page-1#comment-17538</link>
		<dc:creator>Making Tie Bar &#38; Cufflinks:: My Madness &#124; Knot Cufflinks</dc:creator>
		<pubDate>Fri, 30 Apr 2010 11:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=115#comment-17538</guid>
		<description>[...] Softimage Blog &#187; Blog Archive &#187; Points &#111;&#110; a sphere [...]</description>
		<content:encoded><![CDATA[<p>[...] Softimage Blog &raquo; Blog Archive &raquo; Points &#111;&#110; a sphere [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Sherwood</title>
		<link>http://www.softimageblog.com/archives/115/comment-page-1#comment-17444</link>
		<dc:creator>Anton Sherwood</dc:creator>
		<pubDate>Mon, 01 Feb 2010 04:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=115#comment-17444</guid>
		<description>Will: &lt;i&gt;Do any of you think you’d be able to expand this to higher dimensions?&lt;/i&gt;

I downloaded from somewhere-or-other a doctoral thesis (2006) by a Paul Leopardi at UNSW which gives a method for dividing any N-sphere into sectors of equal area (and reasonable compactness) by lines of latitude and longitude.  I haven&#039;t finished looking through it but I suspect that its approach can be adapted to suggest a generalization of the spiral method to N dimensions.</description>
		<content:encoded><![CDATA[<p>Will: <i>Do any of you think you’d be able to expand this to higher dimensions?</i></p>
<p>I downloaded from somewhere-or-other a doctoral thesis (2006) by a Paul Leopardi at UNSW which gives a method for dividing any N-sphere into sectors of equal area (and reasonable compactness) by lines of latitude and longitude.  I haven&#8217;t finished looking through it but I suspect that its approach can be adapted to suggest a generalization of the spiral method to N dimensions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Sherwood</title>
		<link>http://www.softimageblog.com/archives/115/comment-page-1#comment-17443</link>
		<dc:creator>Anton Sherwood</dc:creator>
		<pubDate>Mon, 01 Feb 2010 04:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=115#comment-17443</guid>
		<description>Chen, here&#039;s one way, off the top of my head.  Pick two numbers P,Q, such that gcd(N,P) = gcd(N,Q) = gcd(P,Q) = 1, that is, each pair of numbers is relatively prime (has no common factors).

for 0 &#8804; j &lt; N :
    x[j] = (width/N) * (0.5 + (j*P)%N)
    y[j] = (height/N) * (0.5 + (j*Q)%N)</description>
		<content:encoded><![CDATA[<p>Chen, here&#8217;s one way, off the top of my head.  Pick two numbers P,Q, such that gcd(N,P) = gcd(N,Q) = gcd(P,Q) = 1, that is, each pair of numbers is relatively prime (has no common factors).</p>
<p>for 0 &le; j &lt; N :<br />
    x[j] = (width/N) * (0.5 + (j*P)%N)<br />
    y[j] = (height/N) * (0.5 + (j*Q)%N)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fantasy Chen</title>
		<link>http://www.softimageblog.com/archives/115/comment-page-1#comment-17423</link>
		<dc:creator>Fantasy Chen</dc:creator>
		<pubDate>Thu, 14 Jan 2010 01:59:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=115#comment-17423</guid>
		<description>Hi! I want N points evenly distribute within a rectangle. How can I get a fast method?</description>
		<content:encoded><![CDATA[<p>Hi! I want N points evenly distribute within a rectangle. How can I get a fast method?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DogCatFishDish &#187; Blog Archive &#187; Around the world, a-round the woorld&#8230;</title>
		<link>http://www.softimageblog.com/archives/115/comment-page-1#comment-17419</link>
		<dc:creator>DogCatFishDish &#187; Blog Archive &#187; Around the world, a-round the woorld&#8230;</dc:creator>
		<pubDate>Mon, 07 Dec 2009 23:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=115#comment-17419</guid>
		<description>[...] number of points evenly. It’s therefore down to weird and wonderful geometry to sort out. This article about points on spheres saves me repeating everything here, but the summary is that there are two approximation [...]</description>
		<content:encoded><![CDATA[<p>[...] number of points evenly. It’s therefore down to weird and wonderful geometry to sort out. This article about points on spheres saves me repeating everything here, but the summary is that there are two approximation [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry Bland</title>
		<link>http://www.softimageblog.com/archives/115/comment-page-1#comment-17382</link>
		<dc:creator>Henry Bland</dc:creator>
		<pubDate>Mon, 01 Jun 2009 22:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=115#comment-17382</guid>
		<description>Thanks for a great resource.  Here&#039;s the Matlab version of the Golden Section Spiral method.

function p = spherepointsgolden(n)
%SPHEREPOINTSGOLDEN Place points evently on a unit sphere
% Generate a set of evenly distributed points on a unit sphere
% using the method of the Golden Section Spiral method.
%
% Output is a 3xN matrix of points for X,Y,Z.
%
% Based on python code from Patric Boucher on www.xsi-blog.com

    inc = pi * (3-sqrt(5));
    off = 2/n;
    
    k  = 0:n-1;
    y = k * off - 1 + (off/2);
    r = sqrt(1 - (y.^2));
    phi = k * inc;
    
    p = [cos(phi).*r; y ;sin(phi).*r]&#039;;
end</description>
		<content:encoded><![CDATA[<p>Thanks for a great resource.  Here&#8217;s the Matlab version of the Golden Section Spiral method.</p>
<p>function p = spherepointsgolden(n)<br />
%SPHEREPOINTSGOLDEN Place points evently on a unit sphere<br />
% Generate a set of evenly distributed points on a unit sphere<br />
% using the method of the Golden Section Spiral method.<br />
%<br />
% Output is a 3xN matrix of points for X,Y,Z.<br />
%<br />
% Based on python code from Patric Boucher on <a href="http://www.xsi-blog.com" rel="nofollow">http://www.xsi-blog.com</a></p>
<p>    inc = pi * (3-sqrt(5));<br />
    off = 2/n;</p>
<p>    k  = 0:n-1;<br />
    y = k * off &#8211; 1 + (off/2);<br />
    r = sqrt(1 &#8211; (y.^2));<br />
    phi = k * inc;</p>
<p>    p = [cos(phi).*r; y ;sin(phi).*r]&#8216;;<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.softimageblog.com/archives/115/comment-page-1#comment-17365</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 25 Feb 2009 16:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=115#comment-17365</guid>
		<description>wow exactly what i was looking for... now my photons are nicely uniformly distributed!</description>
		<content:encoded><![CDATA[<p>wow exactly what i was looking for&#8230; now my photons are nicely uniformly distributed!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

