<?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 — texturewrap?]]></title>
		<link>https://gprogs.com/viewtopic.php?id=303</link>
		<atom:link href="https://gprogs.com/extern.php?action=feed&amp;tid=303&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in texturewrap?.]]></description>
		<lastBuildDate>Tue, 26 May 2009 10:17:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: texturewrap?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1446#p1446</link>
			<description><![CDATA[<p>ah, thank you!</p>]]></description>
			<author><![CDATA[null@example.com (bruZard)]]></author>
			<pubDate>Tue, 26 May 2009 10:17:52 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1446#p1446</guid>
		</item>
		<item>
			<title><![CDATA[Re: texturewrap?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1445#p1445</link>
			<description><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> the TextureWrap property is only on the SMaterialLayer type.&nbsp; &nbsp;for SMaterialLayer there are setTextureWrap and getTextureWrap to access the property.&nbsp; for things that return an SMaterial you would use the setFlag and getFlag methods.&nbsp; you can also call setMaterialFlag on an ISceneNode instance to set all materials at once.</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Mon, 25 May 2009 23:24:53 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1445#p1445</guid>
		</item>
		<item>
			<title><![CDATA[Re: texturewrap?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1444#p1444</link>
			<description><![CDATA[<p>Any update about the missing &quot;TextureWrap&quot; method?</p>]]></description>
			<author><![CDATA[null@example.com (bruZard)]]></author>
			<pubDate>Mon, 25 May 2009 12:34:14 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1444#p1444</guid>
		</item>
		<item>
			<title><![CDATA[Re: texturewrap?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1200#p1200</link>
			<description><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; i dont have the mod with me right now but check for a setTextureWrap method.&nbsp; the B3D loader returns an animatedmeshscenenode.</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Sat, 29 Dec 2007 00:48:30 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1200#p1200</guid>
		</item>
		<item>
			<title><![CDATA[texturewrap?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1189#p1189</link>
			<description><![CDATA[<p>Hi, anyone know why texturewrap is &quot;not found&quot;?</p><p>b.getmaterial(0).gettexture(0).TextureWrap(0) = irr.video.ETC_CLAMP;<br />b.getmaterial(0).TextureWrap(0) = irr.video.ETC_CLAMP;<br />b.setMaterialFlag(ETC_CLAMP, true)</p><br /><br /><p>none of these work <img src="https://gprogs.com/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p><br /><br /><p>Here is the whole thing:</p><div class="codebox"><pre><code>Function createbackground:iscenenode()
        Local b:ianimatedmeshscenenode=smgr.addanimatedMeshSceneNode( smgr.getMesh(&quot;media/bkgplanes.b3d&quot;) )
        b.setposition (_vector3df(320,240,1000))
        Local w=88
        b.SetScale(_vector3df(w,w*0.75,1))    
        b.setMaterialFlag(EMF_TEXTURE_WRAP, True)
        b.getmaterial(0).TextureWrap(0) = irr.video.ETC_CLAMP_EDGES;
        Return b
End Function</code></pre></div><p>backplanes.b3d is a set of 4 welded quads in a row with 4 textures making up a scrolling background and i need to get rid of the ugly lines. <br />One more (unrelated) question, why cant i use meshscene node rather than animatedmeshscenenode when loading a b3d?</p>]]></description>
			<author><![CDATA[null@example.com (danman)]]></author>
			<pubDate>Fri, 21 Dec 2007 23:06:29 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1189#p1189</guid>
		</item>
	</channel>
</rss>
