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 24-10-2003, 08:57 PM   #1
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default 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
Dann is offline   Reply With Quote
Old 24-10-2003, 09:34 PM   #2
kbrown
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts
Default

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: http://forum.simplymaya.com/showthre...&threadid=6495
__________________
Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
kbrown is offline   Reply With Quote
Old 25-10-2003, 04:00 AM   #3
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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.
Dann is offline   Reply With Quote
Old 08-11-2003, 03:57 AM   #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

Have you had any luck yet?
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 08-11-2003, 04:38 AM   #5
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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.
Dann is offline   Reply With Quote
Old 09-11-2003, 07:15 AM   #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

Cool

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
ragecgi is offline   Reply With Quote
Old 14-11-2003, 12:36 AM   #7
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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.
Dann is offline   Reply With Quote
Old 14-11-2003, 08:26 AM   #8
kbrown
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts
Default

__________________
Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
kbrown 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.