SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 24-10-2003, 07: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, 08: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, 03: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, 02: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, 03: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, 06: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 13-11-2003, 11:36 PM   #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, 07: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
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.