Jump to content
ptakun

Maya Paint Effects To Houdini

Recommended Posts

Script export Paint Effects from Maya to Houdini.

It wasn't widely tested so it might be imperfect;)

INSTALLATION:

Unpack and copy it to a current Maya project to "mel" directory.

When Maya is running write "petoh" in the console.

Make a paint effect and press GO!

In the output directory there should appear a geo file.

Open this file through the node "file" in Houdini.

Rules:

If you need to divide the paint effect into groups use node "partition" and write "$TUBETYPE" in rule.

The attribute Tubetype means: 0 branch, 1 twig, 2 leaf, 3 flower.

Script is slow when there is a lot of elements of the same type in one shape, like grass for example.

For Windows users!

You have to install Python: http://www.python.org/download/

When it's done go to Control Panel/system/Advanced and set Environment Variables

and add "C:\Python24;" to the path.

If you need Python source code please conntact me by e-mail.

Have fun :afro:

post-1397-1153343582_thumb.jpg

http://lizard.neostrada.pl/PeToH.zip

Example pictures (mantra):

post-1397-1171806364_thumb.jpg

post-1397-1171806419_thumb.jpg

Edited by ptakun

Share this post


Link to post
Share on other sites

Hey there,

Thank you very much from odforce for this contribution! Very much appreciated!

Jason

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×