Paul Thomas Posted February 6, 2010 Share Posted February 6, 2010 What is this file used for? The forum post http://leadwerks.com/werkspace/index.php?/topic/1089-lua-and-framework/page__gopid__10112entry10112 is about a project of mine that failed when trying to make my framework a lua global object. Once this file (commands.bmx) was removed, lugi.generator regenerated, everything worked fine. So, I'm just curious what this file is for, as it doesn't seem very important. Everything works. The fire pit. Water. Everything as far as I can tell. Thanks. Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 6, 2010 Share Posted February 6, 2010 All I am aware of is: Any time your command set changes, you need to regenerate the Lua glue code http://leadwerks.com/werkspace/index.php?/topic/578-blitzmax-lua-framework/page__view__findpost__p__5086 Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Paul Thomas Posted February 6, 2010 Author Share Posted February 6, 2010 Yeah, I figured that out when I was doing my testing, and of course that would have been time saved if I had read that post, lol. Just curious what the point of the "commands.bmx" file is for, which is included at the end of "framework.bmx." It's almost like it's an old file meant for everything to work before he made the update to Lua, changing it to single state. I have no idea, but my project now works as it always did, but now with Lua, so I'm happy about that. Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 6, 2010 Share Posted February 6, 2010 Maybe Josh can shed some light on that but stuff I have needs the command.bmx include from the framework .. or my app yells at me Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Paul Thomas Posted February 9, 2010 Author Share Posted February 9, 2010 Within "DrawEffectSSAO" gbuffer.depthbuffer.Clamp() gbuffer.depthbuffer.SetFilter(TEXFILTER_PIXEL) gbuffer.depthbuffer.bind(1) texture_noise.bind(10) depthtexture.bind(1) Can be changed to depthtexture.clamp() depthtexture.setfilter(TEXFILTER_PIXEL) depthtexture.bind(1) texture_noise.bind(10) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.