<?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 — Hi and question]]></title>
		<link>https://gprogs.com/viewtopic.php?id=48</link>
		<atom:link href="https://gprogs.com/extern.php?action=feed&amp;tid=48&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Hi and question.]]></description>
		<lastBuildDate>Mon, 20 Feb 2006 18:17:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Hi and question]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=184#p184</link>
			<description><![CDATA[<p>it might be as u need<br />( - Test.node.setMaterialFlag(EMF_LIGHTING,False) - )</p><br /><p>Test.mesh=smgr.getMesh(&quot;../media/sydney.md2&quot;)<br />Test.node=smgr.addAnimatedMeshSceneNode(Test.mesh)<br />Test.node.setMaterialFlag(EMF_LIGHTING,False)</p><p>as u need to make shore the mesh has its own lighting switched on if u dont have any dynamic or atmospheric lights on so it needs to be done at setup or maybe ur mesh is just realy small</p>]]></description>
			<author><![CDATA[null@example.com (DaY)]]></author>
			<pubDate>Mon, 20 Feb 2006 18:17:39 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=184#p184</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hi and question]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=179#p179</link>
			<description><![CDATA[<p>I continue my questions in this thread (think there will be a few as Im new to this)</p><p>Im trying to simpify this problem to the first sample of Irrlicht.</p><p>When I compile the first example it works great but if I build my own type with the mesh and the meshnode I get.. nothing. The mesh loads and the texture loads but it doesnt show anything. Example given (without the samplecomments) I only added a type and used an object of that type to show the mesh.<br />Am I totally way out??? Dont laugh <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><div class="codebox"><pre><code>Strict

Framework BRL.Blitz

Import gg.IrrBMAX

&#039; The new type containing just an AnimatedMesh and The AMSN.

Type Unit
    
    Field mesh:T_irrIAnimatedMesh
    Field node:T_irrIAnimatedMeshSceneNode    

End Type

&#039; And heres that object.
Local Test:Unit 



Local device:T_irrIrrlichtDevice=T_irrIrrlichtDevice.create(EDT_SOFTWARE,T_irrDimension2d_s32.create(640,480),16,False,False,False,Null)

device.setWindowCaption(&quot;Hello World! - Irrlicht Engine Demo&quot;)

Local driver:T_irrIVideoDriver=device.getVideoDriver()
Local smgr:T_irrISceneManager=device.getSceneManager()
Local guienv:T_irrIGUIEnvironment=device.getGUIEnvironment()

guienv.addStaticText(&quot;Hello World! This is the Irrlicht Software renderer!&quot;,T_irrRect_s32.createFromVals(10,10,200,22),True)


Test.mesh=smgr.getMesh(&quot;../media/sydney.md2&quot;)
Test.node=smgr.addAnimatedMeshSceneNode(Test.mesh)

If Test.node.handle&lt;&gt;0
    Test.node.setMaterialFlag(EMF_LIGHTING,False)
    Test.node.setFrameLoop(0,310)
    Test.node.setMaterialTexture(0,driver.getTexture(&quot;../media/sydney.bmp&quot;))
EndIf


Local camera:T_irrICameraSceneNode=smgr.addCameraSceneNode(Null,T_irrVector3df.createFromVals(0,30,-40),T_irrVector3df.createFromVals(0,5,0))


While (device.run())

    inScene(True,True,T_irrSColor.createFromVals(255,100,101,140))
    
    smgr.drawAll()
    guienv.drawAll()
    
    driver.endScene()

Wend

device.drop()</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (AJirenius)]]></author>
			<pubDate>Mon, 20 Feb 2006 16:10:40 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=179#p179</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hi and question]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=178#p178</link>
			<description><![CDATA[<p>Great! Thank you very much.. as I proceed with this project I will put up some links and advert both your effort and Irrlicht. I will soon also put up some &quot;help needed&quot; with this project as I really would like to focus&nbsp; on the graphics more than the programming this time but still it is very smooth to work with.</p>]]></description>
			<author><![CDATA[null@example.com (AJirenius)]]></author>
			<pubDate>Mon, 20 Feb 2006 14:43:03 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=178#p178</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hi and question]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=172#p172</link>
			<description><![CDATA[<p>greetings AJirenius <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; thx for the complement!&nbsp; you should definately use the Irrlicht input routines.&nbsp; BlitzMax is not the one creating the forms so the events are not being captured properly by the built-in BlitzMax input system.&nbsp; now, there is a class in the gg.IrrAddons that helps simulate the BlitzMax input system and makes input reading much smoother.&nbsp; for example, with straight Irrlicht, you cannot read if two keys are held down at the same time.</p><p>the class inside of gg.IrrAddons you would be looking for is:</p><p>T_irrSmoothEventReceiver</p><p>unfortunately i dont have a good example of how to use it.&nbsp; if you cant figure it out, just lmk and ill try to whip up an example for you.</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Mon, 20 Feb 2006 13:00:30 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=172#p172</guid>
		</item>
		<item>
			<title><![CDATA[Hi and question]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=171#p171</link>
			<description><![CDATA[<p>Im a Swedish guy trying out my first project in the 3Dworld ever and have chosen this great (and god damn its great Gman!) engine. Thanks for delivering it to BMax.</p><p>Now a newbie question.. as it seems like Irrlicht does provide its own methods to listen and controlling keyboard inputs, which should I use when programming in BMAX? The irrlicht or BMAX methods? Does it really matter (speed, intereference etc.)</p>]]></description>
			<author><![CDATA[null@example.com (AJirenius)]]></author>
			<pubDate>Mon, 20 Feb 2006 10:03:08 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=171#p171</guid>
		</item>
	</channel>
</rss>
