January 9, 2012, 1:04pm
I’m trying to write plugin with EX9 LayerOut and have question about SlimDX.
i’d like to use InternalPointer property of Device class(its pointer of IDirect3DDevice9 interface) for initialize 3rd party DLL, but couldn’t access to it.
CreateDeviceData(Device device) method, other property like device.PixelShaderProfile is OK.
but device.InternalPointer show error:
CS0122: ‘SlimDX.Direct3D9.Device.InternalPointer’ is inaccessible due to its protection level
SlimDX documentation, it looks public too…
January 9, 2012, 2:43pm
you need to use Device.ComPointer, which is of type IntPtr.
January 10, 2012, 4:21pm
yes, I could initialize with ComPointer. Level Up!
my next challenge is getting Keyboard and Mouse event.
January 10, 2012, 7:53pm
for events easiest is to send Mouse/Keyboard data and create events manually as Plugin input, since it’s not so easy to get renderer messages.
Out of interest what library are you playing with?
January 11, 2012, 5:44am
create events manually will good. I tried getting event with SlimDX.RawInput namespace, but failed:-(
AntTweakBar is my first plugin work. I found and use it with OpenFrameworks, looks great. did you know?
it will be smart GUI tool for vvvv. I know it’s worth waiting!
January 11, 2012, 7:54am
really love to see the antTweakBar working with vvvv.
January 12, 2012, 3:11am
I started upload screenshot. please enjoy:-)
January 12, 2012, 2:17pm
Quite cool, played with some gui bits lately as well, but was using Gwen (
http://code.google.com/p/gwen/) instead of anttweakbar.
Pop on skype maybe can join forces on that (my username: jvulliet)
January 13, 2012, 10:13am
Gwen looks nice. how behavior/view on Node and Pins?
Also thanks to skype invitation!
January 16, 2012, 3:46pm
Basically got a Renderer node which outputs a layer (also creates the root canvas).
Then there’s a node per control, which you can join together to build your layout.
Data update retrieval is handled by todomap and is fully bidirectional midi/gui/osc.
This sounds like a massive feat. I volunteer for bug hunting if you decide to go forward with this.
Interesting! Looking forward :)