<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Converting local coordinates to global coordinates"]]></title>
		<link>http://forum.alternativaplatform.com/posts/list/40.page</link>
		<description><![CDATA[Latest messages posted in the topic "Converting local coordinates to global coordinates"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Converting local coordinates to global coordinates</title>
				<description><![CDATA[ Is there a way to convert a mesh's verex points into their global positions?<br /> <br /> I can't seem to find a translatePoint function in the Matrix3D class.<br /> <br /> I'm trying to get the matrix transformation of the mesh then use that along with the local vertex positions to find their global positions.<br /> <br /> The flash Matrix3D class has a function called "transformVector" which is what I'm after.<br /> <br /> Thanks.<br /> <br /> *I've also tried converting the Alternativa Matrix3D into a flash Matrix3D object without success.]]></description>
				<guid isPermaLink="true">http://forum.alternativaplatform.com/posts/preList/2822/50284.page</guid>
				<link>http://forum.alternativaplatform.com/posts/preList/2822/50284.page</link>
				<pubDate><![CDATA[Fri, 29 Jan 2010 04:38:25]]> GMT</pubDate>
				<author><![CDATA[ tbomedia]]></author>
			</item>
			<item>
				<title>Re:Converting local coordinates to global coordinates</title>
				<description><![CDATA[ I Think I've found a solution, if theres a better way I'd love to hear it :)<br /> <br /> [code]<br /> public function getGlobalVertices(object:Mesh):void {<br /> 	<br /> 	var points:Array = object.vertices.toArray(true);<br /> 	<br /> 	var i:int;<br /> 	var len:int = points.length;	<br /> 	<br /> 	var m1:Matrix3D = object.transformation.clone();<br /> 	var m2:Matrix3D = new Matrix3D();<br /> 	<br /> 	for (i = 0; i &lt; len; i++) {<br /> 			<br /> 		var v:Vertex = points[i];<br /> <br /> 		m2.copy(m1);<br /> 		m2.translate(v.x, v.y, v.z);<br /> 			<br /> 		var vx:Number = m2.d;<br /> 		var vy:Number = m2.h;<br /> 		var vz:Number = m2.l;<br /> 			<br /> 		trace(vx, vy, vz);<br /> 	}<br /> }<br /> [/code]]]></description>
				<guid isPermaLink="true">http://forum.alternativaplatform.com/posts/preList/2822/50285.page</guid>
				<link>http://forum.alternativaplatform.com/posts/preList/2822/50285.page</link>
				<pubDate><![CDATA[Fri, 29 Jan 2010 04:54:18]]> GMT</pubDate>
				<author><![CDATA[ tbomedia]]></author>
			</item>
			<item>
				<title>Re:Converting local coordinates to global coordinates</title>
				<description><![CDATA[ EDIT - need to change translate to "translateLocal"]]></description>
				<guid isPermaLink="true">http://forum.alternativaplatform.com/posts/preList/2822/50286.page</guid>
				<link>http://forum.alternativaplatform.com/posts/preList/2822/50286.page</link>
				<pubDate><![CDATA[Fri, 29 Jan 2010 07:49:07]]> GMT</pubDate>
				<author><![CDATA[ tbomedia]]></author>
			</item>
			<item>
				<title>Converting local coordinates to global coordinates</title>
				<description><![CDATA[ [quote=chris foulston]Is there a way to convert a mesh's verex points into their global positions?[/quote]vertices have global coordinates property in namespace alternativa3d:[code]<br /> import alternativa.engine3d.alternativa3d;<br /> ...<br /> var f:Face, mesh:Mesh = Mesh (obj);<br /> for each (f in mesh.faces) {<br /> 	var p:Point3D = Vertex (f.vertices [0]).alternativa3d::globalCoords;<br /> 	...[/code]]]></description>
				<guid isPermaLink="true">http://forum.alternativaplatform.com/posts/preList/2822/50290.page</guid>
				<link>http://forum.alternativaplatform.com/posts/preList/2822/50290.page</link>
				<pubDate><![CDATA[Fri, 29 Jan 2010 21:21:15]]> GMT</pubDate>
				<author><![CDATA[ makc]]></author>
			</item>
			<item>
				<title>Converting local coordinates to global coordinates</title>
				<description><![CDATA[ ah I thought there might have been some namespace trickery going on. <img src="http://forum.alternativaplatform.com//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" /><br /> <br /> Thanks.]]></description>
				<guid isPermaLink="true">http://forum.alternativaplatform.com/posts/preList/2822/50291.page</guid>
				<link>http://forum.alternativaplatform.com/posts/preList/2822/50291.page</link>
				<pubDate><![CDATA[Mon, 1 Feb 2010 04:26:16]]> GMT</pubDate>
				<author><![CDATA[ tbomedia]]></author>
			</item>
	</channel>
</rss>
