Python Effector Plugin Example



  • On 18/03/2013 at 12:46, xxxxxxxx wrote:

    Hello,
    New here but would like to know if any one can help me.
    I am trying to find any examples of a python effector plugin example. Not the code its self but forming it into and actual plugin. I can't find any examples any where in the SDK or anything?

    Would I need to code in the 'full control' mode in order to form the plugin or can I still use the 'parametric control' option. Information on this seems to be a little thin on the ground so hoping some one can point me in the right way.

    Cheers



  • On 18/03/2013 at 12:59, xxxxxxxx wrote:

    We can not create effector plugins in Python, yet.

    Best,
    -Niklas



  • On 18/03/2013 at 13:05, xxxxxxxx wrote:

    Ah I thought as much I just didn't want to admit it to my self :(

    Thanks anyway



  • On 18/03/2013 at 13:09, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    We can not create effector plugins in Python, yet.
    Best,
    -Niklas

    i do not know, why you would say that ? it would be some work to fully replicate the
    behaviour of effectors, but i cannot see a reason why it should not work.

    edit : ontopic, you would have to do the same as in full control. the basic approach would
    be something like this, if i am not missing something important here (regarding what nikklas
    posted).

    1. find all clone generators in your scene
    2. check if n out of generators is dirty.
    3. check if n out of generators includes your effector.
    4. modify the data arrays of n.



  • On 18/03/2013 at 13:55, xxxxxxxx wrote:

    Hi littledevil,

    an effector requires an EffectorData implementation. This class is not exposed to Python.
    Yes, there's still the hacky approach of modifieng the cloners cache. ;-)

    Best,
    -Niklas


Log in to reply