<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[GMan's Mods & Stuff — A very little, embarassing question]]></title>
	<link rel="self" href="https://gprogs.com/extern.php?action=feed&amp;tid=318&amp;type=atom" />
	<updated>2008-04-04T21:55:41Z</updated>
	<generator>PunBB</generator>
	<id>https://gprogs.com/viewtopic.php?id=318</id>
		<entry>
			<title type="html"><![CDATA[Re: A very little, embarassing question]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1251#p1251" />
			<content type="html"><![CDATA[<p>Thank you, that&#039;s exactly what i was looking for <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><br /><p>I always tried to get the MeshManipulator with <br /></p><div class="codebox"><pre><code>IMeshManipulator.getPolyCountFromAnimated</code></pre></div><p>and I had the weirdest variants of that in my code. If I would post that, you would not believe your eyes <img src="https://gprogs.com/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>But now I&#039;m starting to get the point of &quot;how to read&quot; the documentation. Now it&#039;s just training. </p><br /><p>Thank you very very much <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><br /><p>greetings from Germany,</p><p>Tim</p>]]></content>
			<author>
				<name><![CDATA[TimM.]]></name>
				<uri>https://gprogs.com/profile.php?id=238</uri>
			</author>
			<updated>2008-04-04T21:55:41Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1251#p1251</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: A very little, embarassing question]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1250#p1250" />
			<content type="html"><![CDATA[<p>greetings Tim <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; you are on the right track in that because the getPolyCount() is an overloaded method and since BMAX doesnt support this i had to rename some methods.&nbsp; you are using the correct method to get what you need.&nbsp; you need an instance of IMeshManipulator though and that comes from ISceneManager.&nbsp; so to get your poly count, you do:</p><p>in example 7, there is a line:<br /></p><div class="codebox"><pre><code>Local polycount:Int = smgr.getMeshManipulator().getPolyCountFromAnimated(q3levelmesh)
Print &quot;polycount is: &quot; + polycount</code></pre></div><p>hope that helps <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2008-04-04T21:27:52Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1250#p1250</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[A very little, embarassing question]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1249#p1249" />
			<content type="html"><![CDATA[<p>Hello GMan,</p><br /><p>i&#039;m new to Irrlicht and your wrapper and at first I&#039;d like to thank you for your great work. </p><br /><p>I wanted to modify one of the Irrlicht examples (&quot;07.Collision&quot;) in a way that it shows how much polys the level model has. I looked into the Documentation of the Irrlicht engine and found the following line:</p><div class="codebox"><pre><code>virtual s32 irr::scene::IMeshManipulator::getPolyCount      (       IAnimatedMesh *        mesh       )        const [pure virtual]</code></pre></div><p>After that, I looked into your Documentation and found the comand &quot;getPolyCountFromAnimated&quot;. I guess I need this one, because in sample 07, the bsp Map is loaded as an animated mesh.<br />So I tried to implement this simple command into my code, but I always get an error. Could you give me the line I need to put in? I just need an Example how I can &quot;convert&quot; the information from the Irrlicht Documentation to your engine. I know, it&#039;s a very stupid question, and maybe it&#039;s just too late, but I don&#039;t get the solution for that...</p><br /><p>greetings,</p><p>Tim</p>]]></content>
			<author>
				<name><![CDATA[TimM.]]></name>
				<uri>https://gprogs.com/profile.php?id=238</uri>
			</author>
			<updated>2008-04-04T20:31:57Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1249#p1249</id>
		</entry>
</feed>
