<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Starting some additional lua binding]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=510</link>
		<description><![CDATA[The most recent posts in Starting some additional lua binding.]]></description>
		<lastBuildDate>Fri, 04 Jan 2013 14:16:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Starting some additional lua binding]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3208#p3208</link>
			<description><![CDATA[<p>Oh right, that&#039;s working <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Fri, 04 Jan 2013 14:16:55 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3208#p3208</guid>
		</item>
		<item>
			<title><![CDATA[Re: Starting some additional lua binding]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3207#p3207</link>
			<description><![CDATA[<p>Vegas : normally it was already done (I probably forgot to add it to the wiki) :<br />setAnimationSpeed(object, speed)<br />getAnimationSpeed(object)<br />setCurrentFrame(object, frame)<br />getCurrentFrame(object)</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Fri, 04 Jan 2013 11:10:47 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3207#p3207</guid>
		</item>
		<item>
			<title><![CDATA[Re: Starting some additional lua binding]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3162#p3162</link>
			<description><![CDATA[<p>I&#039;m thinking of get/setAnimationSpeed and get/setCurrentFrame that i saw long time ago on r68 over <a href="http://code.google.com/p/maratis/source/list?num=25&amp;start=84">Here</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Wed, 02 Jan 2013 15:00:12 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3162#p3162</guid>
		</item>
		<item>
			<title><![CDATA[Re: Starting some additional lua binding]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3160#p3160</link>
			<description><![CDATA[<p>I need to add something to access materials properties, and maybe bones coordinates.</p><p>Other things missing ?</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 02 Jan 2013 13:48:47 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3160#p3160</guid>
		</item>
		<item>
			<title><![CDATA[Re: Starting some additional lua binding]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3157#p3157</link>
			<description><![CDATA[<p>Great! Some good features, well done.</p>]]></description>
			<author><![CDATA[dummy@example.com (Almighty Laxz)]]></author>
			<pubDate>Wed, 02 Jan 2013 07:54:46 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3157#p3157</guid>
		</item>
		<item>
			<title><![CDATA[Re: Starting some additional lua binding]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3151#p3151</link>
			<description><![CDATA[<p>Amazing ! however i can only watch and drool :x</p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Tue, 01 Jan 2013 21:31:40 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3151#p3151</guid>
		</item>
		<item>
			<title><![CDATA[Re: Starting some additional lua binding]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3148#p3148</link>
			<description><![CDATA[<p>Nice! <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> Ill go check it out now.</p>]]></description>
			<author><![CDATA[dummy@example.com (zester)]]></author>
			<pubDate>Tue, 01 Jan 2013 20:06:23 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3148#p3148</guid>
		</item>
		<item>
			<title><![CDATA[Re: Starting some additional lua binding]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3146#p3146</link>
			<description><![CDATA[<p>And a second wave, the code is on svn ! :</p><p>- general :<br />getChilds(object) &gt; return a list of all childs (if any)<br />getWindowScale() &gt; return a table[2]<br />getSystemTick()</p><p>- shadows :<br />enableShadow(object, bool)<br />isCastingShadow(object)</p><p>- light properties :<br />setlightShadowQuality<br />setlightShadowBias<br />setlightShadowBlur<br />getlightShadowQuality<br />getlightShadowBias<br />getlightShadowBlur<br />setlightSpotAngle<br />setlightSpotExponent<br />getlightSpotAngle<br />getlightSpotExponent</p><p>- physics :<br />getMass<br />setMass<br />getFriction<br />setFriction<br />getRestitution<br />setRestitution<br />getAngularFactor<br />setAngularFactor<br />getLinearFactor<br />setLinearFactor<br />getCentralForce<br />getTorque</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Tue, 01 Jan 2013 18:33:32 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3146#p3146</guid>
		</item>
		<item>
			<title><![CDATA[Starting some additional lua binding]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3145#p3145</link>
			<description><![CDATA[<p>I&#039;m starting a code session to improve the lua integration of Maratis engine as a lot of feature are still missing,<br />the first wave is already on svn, with a focus on vector manipulation and object.</p><p>I added a minimal vector manipulation for 3d vector, compatible with the current table system,<br />allowing basic math (addition, multiplication etc), for example :</p><div class="codebox"><pre><code>pos = (getPosition(object) + vec3(1, 0, 0)) * 2

-- it&#039;s still a table like before :
x = pos[1]
y = pos[2]
z = pos[3]</code></pre></div><p>With the classic math :</p><p>length(vec)&nbsp; &nbsp; &nbsp; &nbsp; &gt; return a number<br />normalize(vec)&nbsp; &nbsp; &nbsp; &nbsp; &gt; return a vec3<br />dot(veca, vecb)&nbsp; &nbsp; &nbsp; &nbsp; &gt; return a number<br />cross(veca, vecb)&nbsp; &nbsp; &gt; return a vec3</p><br /><p>Plus some object missing functions (there is still a lot missing) :</p><p>- object data<br />isActive(object)<br />getName(object)<br />getParent(object)<br />setParent(object, parent)</p><p>- to get object global coordinates (if parenting) :<br />getTransformedPosition(object)<br />getTransformedRotation(object)&nbsp; &nbsp; <br />getTransformedScale(object)<br />&nbsp; &nbsp; <br />-- some vector/matrix manipulation :<br />getInverseRotatedVector(object, vec)<br />getRotatedVector(object, vec)<br />getInverseVector(object, vec)<br />getTransformedVector(object, vec)<br />updateMatrix(object)<br />getMatrix(object) &gt; return a table of 16 entries</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Tue, 01 Jan 2013 16:28:35 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3145#p3145</guid>
		</item>
	</channel>
</rss>
