Beer glass scene creation
This course contains a little bit of everything with modeling, UVing, texturing and dynamics in Maya, as well as compositing multilayered EXR's in Photoshop.
# 1 24-10-2003 , 07:57 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695

Expression help

OK gang, this is what I'm trying to do...

I have a particle system of instanced geometry, and I want each instance to face the camera similar to what a sprite would do. However I can't use sprites because of the geometry instancing. I've tried writing an expression, but to no avail. (I'm still new tro writing expressions)

Can anyone help me and tell me what type of expression to write?

Thanks muchly,
-dann

# 2 24-10-2003 , 08:34 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Hmm... tricky one...

Maybe instead of instancing you write expressions to duplicate the geometry for each particle which already had aim constraints to the camera. Just an idea...

Here's how I used this idea in the blood cell animation I did few months ago: https://forum.simplymaya.com/showthre...&threadid=6495


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 3 25-10-2003 , 03:00 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks for the idea, but I know there is a way to script what I'm looking for, I'll just have to keep looking.

# 4 08-11-2003 , 03:57 AM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Have you had any luck yet?


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 5 08-11-2003 , 04:38 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
No, I gave up. Actually I figured out a hack around this. I placed the center point of the particle object at the same location as my camera and linked the particle to the camera. Now when the camera loves, the particle object follows it right? Well since the particles themselves emit int the world, they don't actually care where the particle node goes. Then I asssigned the Aim Direction to be Position and they aim themselves at the position of the particle node's center point.

Not the cleanest method, but it works.

# 6 09-11-2003 , 07:15 AM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Cooluser added image

Sometimes a hack is the easiest way to pull off the shot.

Good goin!


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 7 14-11-2003 , 12:36 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Ugh! I just realized the stupid simple solution. Just give the object being instanced an aim constriant, and aim it at the camera. After that, every instance in the particle system will aim at the camera.

# 8 14-11-2003 , 08:26 AM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
user added image user added image


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads