amBXLib

The latest version, 1.12, was released March 19 2011. Download amBXLib. Please read the included license.txt file.
What is amBX? It is environmental light, wind and rumble for your PC and soon PS3. So you have your (wall-washing) lights, fans for wind effects and a rumble bar to shake your martini. You really have to experience it yourself
This is a .NET 2.0+ library which allows easy access to the hardware. Just create an amBXEngine object and from there maybe a amBXLight or so. You decide how you set the stage.
The pre-compiled binaries are in the 'Release' folder. I'll post examples of how to use the library soon. Also, it is very basic right now, I'll soon back-port the XNA stuff I did earlier which will give some higher level abstractions.
December 12th, 2009 - 16:28
Interesting. Is it also usable for c#?
December 27th, 2009 - 11:20
It certainly is. Any .NET language should be able to use the library.
January 6th, 2010 - 17:55
Wow. Just picked up an ambx and was getting prepped to do this exact same thing!
Just looking over the code, I never realized you could make actual .net assemblies in C++. Pretty slick.
I’m guessing it’s not possible to do the same thing via managed code because of the core ambx interfaces being C based? Or was it just easier this way, since you’d already have all the headers etc in .h files?
Regardless, thanks for making this available!
February 5th, 2010 - 09:57
I actually didn’t try the basic interop functionality in .NET, but I think that should work. amBX was written in C++/CLI because of my earlier experiences with DirectShow and .NET. I like the syntax and ‘cleanliness’ of integration
January 30th, 2010 - 05:51
Hi
I was just wondering if you ever had a chance to put together a sample showing the use of your lib. I’m having a prob instantiating an AMBX object from VB.net. It’s acting like I don’t have some runtime component set right, but the exception is pretty much empty. Not much to go on.
I’m just setting it up like so:
Private AMBX As amBX = New amBXLib.amBX(1, 0, “Test App”, “1.0.0″)
Does that look right?
Thanks
And very cool idea.
February 5th, 2010 - 09:56
Yes, that is exactly right (although VB has been a while for me). Don’t forget to call AMBX.Dispose() at the end of your program!
November 12th, 2010 - 06:01
Whenever i go to dispose of my amBX, i always get an AsynchronousThreadAbort…. is there somethign else i need to do before i can dispose of the amBX? I already dispose of each light and fan before i dispose of the amBX.
November 12th, 2010 - 09:44
Hmm, I looked into it, it should be a pretty easy fix. I’ll update it as soon as I have time