<?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 — ib3d with maxgui ?]]></title>
		<link>https://gprogs.com/viewtopic.php?id=218</link>
		<atom:link href="https://gprogs.com/extern.php?action=feed&amp;tid=218&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in ib3d with maxgui ?.]]></description>
		<lastBuildDate>Wed, 21 Nov 2007 01:59:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1142#p1142</link>
			<description><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; i assume you have MaxGUI installed and updated?&nbsp; which version of BlitzMax are you using?</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Wed, 21 Nov 2007 01:59:42 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1142#p1142</guid>
		</item>
		<item>
			<title><![CDATA[Re: ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1139#p1139</link>
			<description><![CDATA[<p>I tried this and got : &quot;Attempt to access field or method of null object&quot; on the create window line:</p>]]></description>
			<author><![CDATA[null@example.com (danman)]]></author>
			<pubDate>Sun, 18 Nov 2007 23:23:22 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1139#p1139</guid>
		</item>
		<item>
			<title><![CDATA[Re: ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=897#p897</link>
			<description><![CDATA[<p>Excellent work gman, works great, just one thing though, do shadows work with ib3d?</p><p>I added the below to my scene:</p><p>&#039;create light<br />Local LIGHT:LIGHT=ib3d_CreateLight()<br />ib3d_LightColor(LIGHT,255,255,255)<br />ib3d_LightRange(LIGHT,1000)<br />ib3d_LightCastShadows(LIGHT,True)<br />ib3d_PositionEntity(LIGHT,-3,4,-3 )</p><p>and also added</p><p>ib3d_EntityFX(all_models,EMF_LIGHTING,True)</p>]]></description>
			<author><![CDATA[null@example.com (Doug Cohen)]]></author>
			<pubDate>Fri, 11 May 2007 17:46:40 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=897#p897</guid>
		</item>
		<item>
			<title><![CDATA[Re: ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=896#p896</link>
			<description><![CDATA[<p>Thank you very much gman, this is very much Appreciated <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><br /><br /><p>Thankx<br />Doug</p>]]></description>
			<author><![CDATA[null@example.com (Doug Cohen)]]></author>
			<pubDate>Fri, 11 May 2007 12:16:34 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=896#p896</guid>
		</item>
		<item>
			<title><![CDATA[Re: ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=895#p895</link>
			<description><![CDATA[<p>greetings doug <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; my apologies on the delay.&nbsp; the mods have been updated (see the announcements forum).&nbsp; here is a quick sample to run from the examples Win32Window folder:<br /></p><div class="codebox"><pre><code>&#039; this is an example showing how to display Irrlicht in a panel on a MaxGUI form.  i have modified it a bit
&#039; by adding an eventreceiver to the Irrlicht instance to show how MaxGUI and Irrlicht events can coexist.
&#039; it is important to note that there still is probably some issues to work out, but for now this works.
&#039;
&#039; NOTE: press the &#039;w&#039; key to toggle wireframe

SuperStrict 
Framework Irrlicht.B3D

Import BRL.Basic
Import BRL.Win32MaxGUI
Import BRL.EventQueue

Local window:TGadget
Local panel:TGadget

Local windowWidth:Int = 440
Local windowHeight:Int = 380

window=CreateWindow(&quot;Irrlicht Win32 BlitzMax window example&quot;,100,100, ..
    windowWidth,windowHeight,Null,WINDOW_TITLEBAR | WINDOW_CLIENTCOORDS | WINDOW_HIDDEN)

&#039; create window To put irrlicht in
Local hIrrlichtWindow:TGadget=CreatePanel(50,80,320,220,window,PANEL_ACTIVE|PANEL_BORDER)

&#039; create ok button
Local Ok:TGadget=CreateButton(&quot;OK - Close&quot;,windowWidth - 160,windowHeight - 40,150,30,window)

&#039; this is not in the original, but is here to show you can have a textbox and enter into it
&#039; without the events posting to Irrlicht
Local tb:TGadget=CreateTextField(windowWidth - 160,windowHeight - 70,150,20,window)

&#039; create some text
CreateLabel(&quot;This is Irrlicht running inside a Win32 MaxGUI window.&quot;,20,20,400,40,window)
    
Local param:SIrrlichtCreationParameters=SIrrlichtCreationParameters.create()
param.setWindowId(QueryGadget(hIrrlichtWindow,QUERY_HWND))
param.setDriverType(EDT_OPENGL)

&#039; create the device from the params object and initialize iB3D
ib3d_Graphics3DParams(param)

&#039; setup a simple 3d scene

Local cam:CAMERA = ib3d_CreateCamera()
ib3d_MoveEntity(cam,0,20,-20)

Local cube:PRIMITIVE = ib3d_CreateCube()

ib3d_EntityTexture(cube,ib3d_LoadTexture:TEXTURE(&quot;../../media/wall.bmp&quot;),0,0)
ib3d_EntityTexture(cube,ib3d_LoadTexture:TEXTURE(&quot;../../media/water.jpg&quot;),0,1)
ib3d_EntityFX(cube,EMF_LIGHTING,False)
ib3d_EntityBlend(cube,EMT_REFLECTION_2_LAYER)

ib3d_PointEntity(cam,cube)

&#039; show And execute dialog
ShowGadget(window)

&#039; do message queue

Local bWireFrame:Int = False

While (True)

    ib3d_UpdateWorld()
    ib3d_RenderWorld()

    If PeekEvent() Then 
        PollEvent()
        Select EventID()
            Case EVENT_WINDOWCLOSE
                Exit
            Case EVENT_GADGETACTION
                If EventSource()=Ok
                    PostEvent(CreateEvent(EVENT_WINDOWCLOSE,Ok))
                EndIf
            Default
                ActivateGadget(hIrrlichtWindow)
                If EventID()=EVENT_KEYDOWN And EventData()=KEY_W
                    bWireFrame = Not bWireFrame
                    ib3d_EntityFX(cube,EMF_WIREFRAME,bWireFrame)                    
                EndIf
        End Select
    End If        
    
Wend

ib3d_EndGraphics()</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Fri, 11 May 2007 11:40:05 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=895#p895</guid>
		</item>
		<item>
			<title><![CDATA[Re: ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=893#p893</link>
			<description><![CDATA[<p>Hi gman, may i ask how the update is coming along? <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><br /><br /><p>Thankx<br />Doug</p>]]></description>
			<author><![CDATA[null@example.com (Doug Cohen)]]></author>
			<pubDate>Fri, 11 May 2007 09:48:38 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=893#p893</guid>
		</item>
		<item>
			<title><![CDATA[Re: ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=892#p892</link>
			<description><![CDATA[<p>I have a project iv&#039;e been working on for some time that uses maxgui, so i&#039;m hoping i can save some time <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Doug Cohen)]]></author>
			<pubDate>Thu, 10 May 2007 15:38:01 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=892#p892</guid>
		</item>
		<item>
			<title><![CDATA[Re: ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=890#p890</link>
			<description><![CDATA[<p>Hummmmm, I have MaxGui, and it not all that, I would try and use the Irrlicht GUI commands instead.</p><p>Unless....... GMan is going to make a IrrMaxGUI <img src="https://gprogs.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (H&K)]]></author>
			<pubDate>Thu, 10 May 2007 01:43:53 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=890#p890</guid>
		</item>
		<item>
			<title><![CDATA[Re: ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=883#p883</link>
			<description><![CDATA[<p>Excellent, thank you very much gman <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Doug Cohen)]]></author>
			<pubDate>Tue, 08 May 2007 08:06:27 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=883#p883</guid>
		</item>
		<item>
			<title><![CDATA[Re: ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=881#p881</link>
			<description><![CDATA[<p>i can confirm that MaxGUI works with iB3D but as i expected it does require an update to iB3D.&nbsp; i will see if i can get out an updated version tomorrow.</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Mon, 07 May 2007 23:58:58 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=881#p881</guid>
		</item>
		<item>
			<title><![CDATA[Re: ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=880#p880</link>
			<description><![CDATA[<p>greetings Doug <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; it should be possible to get iB3D running with MaxGUI but not in the format it is now.&nbsp; i currently dont use the creation params required to set it up.&nbsp; it shouldnt be difficult though.&nbsp; ill see if i can whip something up this evening.</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Mon, 07 May 2007 12:17:08 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=880#p880</guid>
		</item>
		<item>
			<title><![CDATA[ib3d with maxgui ?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=879#p879</link>
			<description><![CDATA[<p>Hi All <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />Is it possible to use ib3d with maxgui?<br />If so How would i setup a camera to work in a canvas?</p><p>Thankx<br />Doug</p>]]></description>
			<author><![CDATA[null@example.com (Doug Cohen)]]></author>
			<pubDate>Sat, 05 May 2007 15:42:04 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=879#p879</guid>
		</item>
	</channel>
</rss>
