Emitting Fluid from Particles in Maya

Posted: December 9, 2009 at 6:56 am

Edit: Maya 2011 now supports this out of the box. Go nab it.

So after a days worth of research I now have the information needed to emit fluid from particles in Maya. A whole new world of possibilities has been opened!

First off grab this file - though I only know it works FOR SURE in Maya 2010 x64 on Windows 7. Anything other than that and you’re on your own to compile it!

Place that file in Program Files/Autodesk/Maya2010/bin/plug-ins/

Open Maya, load up the plugin through the plugin manager, then type

createNode simpleFluidEmitter

This will create your simpleFluidEmitter in your scene. It looks like any other emitter. Now, create your particle emitter like you would any other time. If you started from a clean scene, you should have a simpleFluidEmitter called fluidEmitter1 and a particle called particle1. You need to attach these two by using the code

addDynamic fluidEmitter1 particle1

Now every particle you emit from your particle emitter will have a nifty fluid emitter attached to it. Now you need to make sure that your fluid emitter has something to create fluid in. So go create a 3d Fluid Container and then open up your Dynamic Relationship Editor and connect fluidEmitter1 to your new fluid container (just like you would any other fluid sim) and voila! You are now using particles to generate fluid! Go on! Reap the rewards of my toil and failure! Create wonderful simulations!

EDIT: If you can’t get my file to run….here are some instructions on how to compile your own version:

What you need to do first is to compile the plugin. You will need a compiler like Visual Studio C++ If you are using a mac it’s in xCode which comes included with your install discs or can be downloaded from Apple.com.

Windows users also need Windows SDK. Once you have those, locate the project file Maya/Devkit/plugins/simpleFluidEmitter.vcproj. I had take the file out of the application’s plugins folder because my compiler was denied access to change this directory, so I just dumped it on my desktop.

Now open it and build it. You will find a new .mll or (.bundle for mac) so place this into your plugins folder. Thats it! The hard bit is done and you never have to do it again.

Source: http://www.jeremyraven.co.nz/?p=167

9 Responses to “Emitting Fluid from Particles in Maya”

  1. flo Says:

    plugin doesn’t work for me in maya 2010 x64 on windows 7 btw…

  2. fede Says:

    Hey man, great script. I get this error when I try to load.

    The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

  3. chris Says:

    Guess our versions slightly differ. What a pain in the ass.

    I’ve since edited the article with instructions on how to compile your own version. Hopefully you have the means to do this!

  4. Zergadid Says:

    cialis 10 mg effectiveness search
    - buy cialis online
    cialis more:drug_side_effects
    cialis vs viagra comparison board.cgi?mode=

  5. Joanne E Croker Says:

    On June 6th 2013 the Bilderberg group (the worlds Global elite decision makers) will meet at The Grove Hotel, Watford, Hertfordshire for a 4 day conference to decide upon: Destroying Iran’s nuclear facilities within three years, Prolonging the war on Syria by arming anti-Assad elements, The threat of a global pandemic, Internet control, Diffusing austerity induced social protests, Preventing Britain from leaving the EU, Propping up the Euro to keep the Eurozone intact, Minimal 2013 economic growth, Increasing central bank power, tansferring more wealth from ordinary people to corporations and super-rich elites and Preventing a growing credit bubble from popping. You can guarantee none of the decisions made at this meeting will be in your best interest. Join the gathering army of peaceful protestors near the Hotel to have your say. http://bilderberg2013.co.uk/

  6. z pack Says:

    Comprehensive Grime Hither viagra sans ordonnance

  7. Shirleen Says:

    Hi there to every body, it’s my first pay a visit of this web
    site; this webpage consists of awesome and in fact good material in favor of
    readers.

  8. viagra without a doctor prescription Says:

    Non-specific Dope Here this offshoot

  9. spy cams videos Says:

    Hey there, You’ve done an excellent job. I’ll certainly digg it and for my part suggest to my friends. I am confident they will be benefited from this website.

Leave a Reply