How to control goalV attribute

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  03 March 2010
How to control goalV attribute

Hi guys!
I want to control goalV attribute of my particle system. The particles goal is the curve and in goalU I've plugged ramp. So the goalU attribute is driven by the ramp. How to control goal V? Of course the curve doesn't have V direction but somehow is possible to animate particles in Y axis too. Actualy I want to give a little chaotic movement to particles but they must maintain curve's trajectory.
__________________
vimeoVideos
Render Monkey
 
  03 March 2010
The problem solved. I've added turbulence field and reduced goal weight. But I still wonder if there is some way to controll goalV with expression.
If somebody want see the result here is the scene
Attached Files
File Type: zip test.zip (12.4 KB, 11 views)
__________________
vimeoVideos
Render Monkey

Last edited by Irakli : 03 March 2010 at 09:15 PM.
 
  03 March 2010
Hey Irakli,
This may not produce as random results as your turbulence fields, but try adding something like this in runtime:

yourParticle.goalOffset = dnoise(<) * noise(time + (id + 150)) * 5  ;
yourParticle.position += <<0, noise(time + (id + 150)) * 5, 0>>  ;



Something along those line to randomize the goal offset.

Hope that helps,

~Ilan
__________________
my amazing tumblr
 
  04 April 2010
Thanks Wick3dParticle !
Actualy I was looking something like this expression. It works. I've changed it a little , I removed dnois function from first line,particle offset.
__________________
vimeoVideos
Render Monkey

Last edited by Irakli : 04 April 2010 at 07:30 AM.
 
  04 April 2010
Actually, I was typing this so fast at work, that it looks like I deleted part of the expression while typing. I meant to type it like this:


yourParticle.goalOffset = dnoise(<< id, id +100, id * 10>>) * noise(time + (id + 150)) * 5  ;
yourParticle.position += <<0, noise(time + (id + 150)) * 5, 0>>  ;




Glad you got it figured out!

~Ilan
__________________
my amazing tumblr
 
  04 April 2010
Wick3dParticle
Thanks!!!
__________________
vimeoVideos
Render Monkey
 
  04 April 2010
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



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
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:35 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.