<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/7791" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2012-01-23T21:29:28+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/7791</id>

		<entry>
		<author><name><![CDATA[freemancw]]></name></author>
		<updated>2012-01-23T21:29:28+00:00</updated>

		<published>2012-01-23T21:29:28+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26795#p26795</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26795#p26795"/>
		<title type="html"><![CDATA[Re: Computing plane for polygon, minimize floating point err]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26795#p26795"><![CDATA[
Great! Thanks for the answers - I'll have a look into that algorithm.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=9042">freemancw</a> — Mon Jan 23, 2012 9:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dirk Gregorius]]></name></author>
		<updated>2012-01-23T17:09:45+00:00</updated>

		<published>2012-01-23T17:09:45+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26793#p26793</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26793#p26793"/>
		<title type="html"><![CDATA[Re: Computing plane for polygon, minimize floating point err]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26793#p26793"><![CDATA[
Google for Newell plane. You find it discussed in "Real-Time Collision Detection" from Christer Ericson and in Gino's book. Here is a PDF as reference: <a href="http://cs.haifa.ac.il/~gordon/plane.pdf" class="postlink">http://cs.haifa.ac.il/~gordon/plane.pdf</a><br>You might also be able to find it in the Bullet source code since you usually use it for face merging. So you can maybe also search the forum and the source code.<br><br>HTH,<br>-Dirk<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14">Dirk Gregorius</a> — Mon Jan 23, 2012 5:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bone]]></name></author>
		<updated>2012-01-23T15:19:05+00:00</updated>

		<published>2012-01-23T15:19:05+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26790#p26790</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26790#p26790"/>
		<title type="html"><![CDATA[Re: Computing plane for polygon, minimize floating point err]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26790#p26790"><![CDATA[
I think the idea you are looking for is the "least squares plane fit" - you might do a Google search for that.  I know David Eberly, for one, had a fairly simple code snippet for finding it.  If you can't find it, I may be able to dig it up.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=1626">bone</a> — Mon Jan 23, 2012 3:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[freemancw]]></name></author>
		<updated>2012-01-22T18:23:28+00:00</updated>

		<published>2012-01-22T18:23:28+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26783#p26783</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26783#p26783"/>
		<title type="html"><![CDATA[Computing plane for polygon, minimize floating point error]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26783#p26783"><![CDATA[
Suppose I have a polygon with vertices specified in a floating point format (float or double - I'm not sure that it's fundamentally relevant which), and I want to compute a plane that "best fits" the given data. I have a number of questions about how to minimize floating point error.<br><ul><li>Typically, one would compute the cross product between two edge vectors to obtain the plane normal. Which two vectors will give the best approximation?</li><li>There are many equivalent plane representations, when dealing with the real numbers. In floating point, which format preserves the most information?</li></ul>I've been reading Goldberg's paper on floating point, as well as other sources. I was wondering, though, if anyone had readily available answers to these more geometrically oriented questions. Thanks!<br><br>edit: I am honored to have posted the 1024th topic.  <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=9042">freemancw</a> — Sun Jan 22, 2012 6:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
