<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[GMan's Mods & Stuff — texturewrap?]]></title>
	<link rel="self" href="https://gprogs.com/extern.php?action=feed&amp;tid=303&amp;type=atom" />
	<updated>2009-05-26T10:17:52Z</updated>
	<generator>PunBB</generator>
	<id>https://gprogs.com/viewtopic.php?id=303</id>
		<entry>
			<title type="html"><![CDATA[Re: texturewrap?]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1446#p1446" />
			<content type="html"><![CDATA[<p>ah, thank you!</p>]]></content>
			<author>
				<name><![CDATA[bruZard]]></name>
				<uri>https://gprogs.com/profile.php?id=260</uri>
			</author>
			<updated>2009-05-26T10:17:52Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1446#p1446</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: texturewrap?]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1445#p1445" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2009-05-25T23:24:53Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1445#p1445</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: texturewrap?]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1444#p1444" />
			<content type="html"><![CDATA[<p>Any update about the missing &quot;TextureWrap&quot; method?</p>]]></content>
			<author>
				<name><![CDATA[bruZard]]></name>
				<uri>https://gprogs.com/profile.php?id=260</uri>
			</author>
			<updated>2009-05-25T12:34:14Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1444#p1444</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: texturewrap?]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1200#p1200" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2007-12-29T00:48:30Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1200#p1200</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[texturewrap?]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1189#p1189" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[danman]]></name>
				<uri>https://gprogs.com/profile.php?id=219</uri>
			</author>
			<updated>2007-12-21T23:06:29Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1189#p1189</id>
		</entry>
</feed>
