Jump to content

Maya Paint Effects To Houdini


ptakun

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
Link to comment
Share on other sites

  • 9 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...