SimplyMaya Forums

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

Home / forum / Lighting & Rendering, Dynamics & Effects, Texturing / Dynamics & Special Effects / Plancton Particle: Intelligent Solution for Huge Scene Movement?
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 26-03-2011, 05:39 PM   #1
stingray2006
Registered User
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Default Plancton Particle: Intelligent Solution for Huge Scene Movement?

Hi! I actually work on some underwater shots, and have created
a simple sphere volume emitter with instances pointing to the camera.

the camera has a fulldome lens attached and is placed in the center of
the emitter. a volume field kills particles near the camera (to avoid
getting extreme huge planctons on screen)

that works fine for stills, where the camera isnt moving. but i have
some shots, where the camera is following a submarine, and the movement
is very long. instead of creating a field of millions of planction it
would be great to find a solution, where just the plancton surrounding
the center camera is visible.

do you have ideas, how to solve this problem?!?

btw, i dont wanna just make them invisible, i just want to make them appear, if they are near the camera, you know?!

thanks alot for your time & Help!
stingray2006 is offline   Reply With Quote
Old 26-03-2011, 07:16 PM   #2
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,472
Thanks: 101
Thanked 952 Times in 879 Posts
Default

Is the problem that the emitter is in the middle of the camera and when you move farward the partical are being left behind, may be move the emitter some distance in front of the camera...........dave
__________________


Avatar Challenge Winner 2010
daverave is offline   Reply With Quote
Old 31-03-2011, 10:55 AM   #3
LauriePriest
Moderator
 
LauriePriest's Avatar
 
Join Date: May 2003
Location: London
Posts: 1,001
Thanks: 0
Thanked 59 Times in 51 Posts
Default

You can always emit from the camera frustum so particles arn't born too far ahead where you won't seem them, there are a few scripts around that do that. Though something simpler may be better as this will only work if the particles dont re-appear.

Yyou could have the source a reasonable distance from the camera that moves with the camera and put your kill box behind the camera.

Arn't you getting popping as they are culled when close to the camera?

You would need something like this (ignoring terriple syntax):
float $cameraWorld[] = (`xform -q -ws -rp "pSphere1"`); (this just ensures you get the actual position rather than the channel information which is useless if you have frozen transforms at any poin)
vector $cameraPos = <<$cameraWorld[0], $cameraWorld[1], $cameraWorld[2]>>;
float $displacement = mag(position - $cameraPos);
float $fade = linstep(0, 100 , $displacement); ( 0 - 100 can be set to whatever your range is)
$opacityPP =$opacityPP * $fade;

You could always not bother with the fade and use a ramp driven by $displacement instead with a range thats 0 - fade distance. then mult that with opacityPP seperately for more intuative control.
__________________
FX supervisor - double negative
LauriePriest 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scene 2 - Original SM Gallery Image by Animadeus Miss_Nova Simply Maya Gallery 2 17-12-2010 11:48 AM

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.