Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 30-12-2003, 03:20 AM   #1
Sierrus
Registered User
 
Sierrus's Avatar
 
Join Date: Jun 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Question Attaching items to a PaintFX Tree...

Hello all,

I am currently working on a project that requires me to animate a tree with fruit on it. I made a tree with PaintFX and animated it, but do not know how to attach anything else or constrain another object to the tree that it moves with tree as it swings around in the wind. Is there any way to do this, or possibly, some MEL method to place spheres (fruit) on the tree instead of flowers or buds? Any input or advice would be greatly appreciated!

Thanks in advance,

-=Ralph=-
Sierrus is offline   Reply With Quote
Old 30-12-2003, 05:15 AM   #2
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

First question:

What version of Maya are you using?

This will make, or break my answer hehe..
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 30-12-2003, 04:36 PM   #3
Sierrus
Registered User
 
Sierrus's Avatar
 
Join Date: Jun 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

I am using Maya 5 Unlimited.

Thanks for helping!

-=Ralph=-
Sierrus is offline   Reply With Quote
Old 30-12-2003, 05:24 PM   #4
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

NO PROBLEM THEN BUDDY! hehe..

This also segway's nicely to Kurt's response to your animation question in another thread as well:

Simply convert your PFX tree to polygons

That simple

Then, using Kurts PERFECT idea of putting a lattice around the tree parts (or the whole tree, whichever) and animating the lattice by one of three ways:

1. Converting your lattice into a softbody, and effecting it with fields like turbulence and air/wind.

2. Keyframe your lattice over time by hand.

3. Keyframe the lattice animation using blend-shapes

Sounds like you are going to have a LOT of fun with this one, so good luck!

PS, converting the PFX tree to polys will allow you to attach your fruit etc. to it as well.

Tips for that:
-try placing particles by hand to exact spots where you want fruit to be, and instance fruit geometry to them
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 30-12-2003, 05:55 PM   #5
Sierrus
Registered User
 
Sierrus's Avatar
 
Join Date: Jun 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I guess putting a skeleton in the tree, and then attaching all the softbodies to it would help as well.

Those ideas are great, I'll start some tests!

But is there a way to replace the 'flower' or 'bud', in PaintFX into a different object via some sort of MEL technique? If I could do that, than I could save the time on going the soft body poly route, as the animation is inherent.

-=Ralph=-
Sierrus is offline   Reply With Quote
Old 30-12-2003, 07:02 PM   #6
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Might wanna ask Danny that question in the Mel section, as I personally suck at that hehe...
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 30-12-2003, 07:25 PM   #7
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

Ok...don't leave us hanging. Now what if you're using 4 or 4.5?
__________________
"Terminat Bora Diem, Terminal Auctor opus."
NitroLiq is offline   Reply With Quote
Old 30-12-2003, 09:12 PM   #8
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Hanging... that's funny...YOU TRYIN TO BE A FUNNY MAN?? HUH??
hehe... j.k bud

Whoooo... THATS a tough one

By nature, we all know that PFX is a post-process.
By that, I mean that the Maya sw renderer renders the strokes AFTER everything else, AND over-top the image.

AND THAT SUCKS! ...on so many levels! hehe...

...but in the case of users with Maya 4.5 or earlier, I "thought" you could create a PFX tree, and get it to look, and act the way you like it, then, SOMEHOW, either parent a soft-body curve with "objects" attached/constraigned to specific particles that are close enough to where you want them, but that didn't work at all for me...


So, all I can think of is to create the tree from scratch in polys, and do the lattice trick

Sorry Nitro.
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 31-12-2003, 02:12 AM   #9
Sierrus
Registered User
 
Sierrus's Avatar
 
Join Date: Jun 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

Good News! I found a Q&A session with Duncan, the main A|W Brain behind PaintFX answering some questions, and thank god he answered this one. It is possible to attach a mesh to a PaintFX, BUT it would require massive scripting and alot of headaches. Luckily, someone asked how to make fruit on a tree, and he said that the only way is to use the texture channel on the flower node. I went straight to Alias's site and into their download's section and found GumBall Roses, a flower with sphere's at the top! Woo hoo! I attached the MEL file here for you to check out. Now of course the sphere's are actually 2d and within an IFF image (make sure you tell Maya the proper path as it wont find the image without your help, or at least I had to), but this method will work, I think (crossing fingers)!

But I've hit a wall again...

I can't get this method to work within my tree model, although I've tried to copy the settings for the flower. I know I'm doing something wrong, so if you can tell me how to get a tree to display that image, that would be Grrrrrrreat.

I think the solution is around the bend.... :p

Thanks again for all your help,

-=Ralph=-
Attached Files
File Type: zip gum_ball_roses.zip (56.0 KB, 11 views)
Sierrus is offline   Reply With Quote
Old 31-12-2003, 02:48 AM   #10
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Cool!

But, too late at night 4 me, will try tommorrow night! Cool?
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 31-12-2003, 04:21 AM   #11
Sierrus
Registered User
 
Sierrus's Avatar
 
Join Date: Jun 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

Of course! Thanks for all your help!

-=Ralph=-
Sierrus is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.