Does anybody know where are the methods concerning operations with matrices and vectors in the dynamic plugins, described in this hidden (the link in namespaces is broken) page : pluginspecs/ ?
I do not find them, or equivalent ones.
Thank you.
But sorry, I was not clear in my thread. My question was, how to use these methods in coding in dynamic plugins ? They are not there. For example, I would like to use Decompose or Multiply methods.
the documentation is a bit unclear with operators, actually the Multiply method is the * operator, Subtraction is -, Modulus is %, and so on… look at the descriptions, there is a little hint to what operator it is.
like vux said, the decompose method is part of the SlimDX matrix, you can use it for Matrix4x4 like:
Ok for operators, it works. It’s not so unclear in the documentation, now it’s obvious for me (don’t understand why I didn’t see all that first time).
But Decompose doesn’t work with VVVV or SlimDX matrices. I can not declare a SlimDX matrix. I (re)installed SlimDX, is there something else to do ?
Is there a special “using” to insert ?
I’m able to add SlimDX in references as you said (for other people who would have difficulties as I had, use the right click, choose add, then first select the item you want and add with the right click, finally confirm with OK).
But the plugin doesn’t compile, it tells me that the file SlimDX.dll can not be found.
Indeed I installed the March 2011 version. So I uninstalled it, then installed the June 2010 version (2.0.10.43). When I try to add reference I have two SlimDX items (x86 and x64 as you say). I tried both (don’t know which one is the x86) without success, still the same message about the missing SlimDX.dll
I looked in the path bin\managed of the release I use (45beta25), I have a SlimDX.dll. Does vvvv use this one or an other ?
you shoud NOT install slimdx, that would only confuse versions and whatever. clone a plugin which uses slimdx, like the DX9 template or so and copy your code into it… should be the easiest way.
Ah thank you !!
This template has all the usings and references for manipulating matrices (more than the one I used : the Transform template). Now I have the 2 decompose methods (vvvv and SlimDX).