<?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 — How to get a texture from a large tile map]]></title>
		<link>https://gprogs.com/viewtopic.php?id=343</link>
		<atom:link href="https://gprogs.com/extern.php?action=feed&amp;tid=343&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to get a texture from a large tile map.]]></description>
		<lastBuildDate>Tue, 07 Oct 2008 15:58:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to get a texture from a large tile map]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1314#p1314</link>
			<description><![CDATA[<p>that is creating an ITexture from an IImage that you can then use wherever you need the texture.&nbsp; &quot;small_image_name&quot; is just a text name for the texture and should be replaced by whatever you would like to call it.</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Tue, 07 Oct 2008 15:58:24 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1314#p1314</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get a texture from a large tile map]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1312#p1312</link>
			<description><![CDATA[<p>latest : Irrlicht Mod for Irrlicht v1.4.2 + BMAX v1.30</p><br /><br /><p>this work now (?) probaly i used an old version...</p><p>ok</p><br /><p>but the new answer is&nbsp; :</p><p>driver.addTextureFromImage(&quot;small_image_name&quot;, small_image)</p><p>i don&#039;t understand why&nbsp; &quot;small_image_name&quot; is redéfined, it was initialized before too.</p><p>?</p>]]></description>
			<author><![CDATA[null@example.com (Kali)]]></author>
			<pubDate>Tue, 07 Oct 2008 14:23:09 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1312#p1312</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get a texture from a large tile map]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1311#p1311</link>
			<description><![CDATA[<p>which version of the mod are you using?</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Tue, 07 Oct 2008 13:53:19 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1311#p1311</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get a texture from a large tile map]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1310#p1310</link>
			<description><![CDATA[<p>Compile Error<br />Identifier &#039;createImageFromImagePart&#039; not found</p>]]></description>
			<author><![CDATA[null@example.com (Kali)]]></author>
			<pubDate>Tue, 07 Oct 2008 06:19:28 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1310#p1310</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get a texture from a large tile map]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1309#p1309</link>
			<description><![CDATA[<p>this is untested but should get you where you want to go:<br /></p><div class="codebox"><pre><code>&#039; example of pulling first 120x120 from a larger image
Local big_image:IImage = driver.createImageFromFile(&quot;big pix.bmp&quot;)
Local small_image:IImage = driver.createImageFromImagePart(big_image, _POSITION2DI(0,0), _DIMENSION2DI(120,120))

Local texture:ITexture = driver.addTextureFromImage(&quot;small_image_name&quot;, small_image)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Tue, 07 Oct 2008 01:59:53 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1309#p1309</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get a texture from a large tile map]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1308#p1308</link>
			<description><![CDATA[<p>Yes, good idea</p><p>have you an exeple for copiing IIMAGE to another ?</p><p>I don&#039;t know the IImage&nbsp; &nbsp;can you explain this fucnction?</p><p>big thanks...</p><br /><p>and big thanks for the BMAX wrapper, is very useful and powerful !</p>]]></description>
			<author><![CDATA[null@example.com (Kali)]]></author>
			<pubDate>Sun, 05 Oct 2008 15:13:54 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1308#p1308</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get a texture from a large tile map]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1307#p1307</link>
			<description><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; i will try to work out the sequence for you tonight, but if you want to try it on your own you will need to:</p><p>- load the image into an IImage<br />- then create a new IImage from a part of that image<br />- then addTexture using the part image.</p><p>all the functionality you need is on the IVideoDriver object.</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Sat, 04 Oct 2008 16:43:23 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1307#p1307</guid>
		</item>
		<item>
			<title><![CDATA[How to get a texture from a large tile map]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1305#p1305</link>
			<description><![CDATA[<p>i use mesh and want to use only a small part of a big image</p><p>how to do this</p><p>i can make this with&nbsp; texture = driver.getTexture(&quot;big pix.bmp&quot;)</p>]]></description>
			<author><![CDATA[null@example.com (Kali)]]></author>
			<pubDate>Sat, 04 Oct 2008 15:48:17 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1305#p1305</guid>
		</item>
	</channel>
</rss>
