<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[GMan's Mods & Stuff — Possible to mix iB3d code with "normal" code?]]></title>
		<link>https://gprogs.com/viewtopic.php?id=325</link>
		<atom:link href="https://gprogs.com/extern.php?action=feed&amp;tid=325&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Possible to mix iB3d code with "normal" code?.]]></description>
		<lastBuildDate>Sat, 23 Aug 2008 18:04:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Possible to mix iB3d code with "normal" code?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1289#p1289</link>
			<description><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; it is definately possible to mix code.&nbsp; each iB3D type has a field that is a pointer to the underlying Irrlicht types.&nbsp; so for example, to create the sydney model is some calls to iB3D functions, but to set the animations you need to access the underlying Irrlicht type directly.&nbsp; an example would be:<br /></p><div class="codebox"><pre><code>Local syd:MESH=ib3d_LoadAnimMesh(&quot;sydney.md2&quot;)
IAnimatedMeshSceneNode(syd._node).getFrameNr() &#039; returns current frame
IAnimatedMeshSceneNode(syd._node).setAnimationSpeed(1) &#039; sets speed of animation
Local startframe:Int=0, endframe:Int=25
IAnimatedMeshSceneNode(syd._node).setFrameLoop(startframe,endframe)
IAnimatedMeshSceneNode(syd._node).setLoopMode(False) &#039; to turn off looping</code></pre></div><p>take a peek at the iB3D type code to find the underlying Irrlicht types.</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Sat, 23 Aug 2008 18:04:00 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1289#p1289</guid>
		</item>
		<item>
			<title><![CDATA[Re: Possible to mix iB3d code with "normal" code?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1283#p1283</link>
			<description><![CDATA[<p>I&#039;m wondering this myself, mixing stuff like shaders in with iB3D.</p>]]></description>
			<author><![CDATA[null@example.com (Mog)]]></author>
			<pubDate>Thu, 24 Jul 2008 13:25:33 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1283#p1283</guid>
		</item>
		<item>
			<title><![CDATA[Possible to mix iB3d code with "normal" code?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1274#p1274</link>
			<description><![CDATA[<p>Hi GMan,</p><br /><p>Is it possible to use iB3d and the &quot;normal code&quot; at the same time, or will there be any conflicts?</p><br /><br /><br /><p>Tim</p>]]></description>
			<author><![CDATA[null@example.com (TimM.)]]></author>
			<pubDate>Wed, 07 May 2008 19:33:14 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1274#p1274</guid>
		</item>
	</channel>
</rss>
