Random particle rotation

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
Old 11 November 2007   #1
Random particle rotation

Hi

Trying to find out how to work out the random rotation of particles. Basically for 100 particles I want each one of them to rotate (pendulum) arround 1 axis. Should be random for each particle and shoulw be animated. Something like spin but not a full rotation.
Attached Images
File Type: jpg part_rot.jpg (24.9 KB, 24 views)
__________________
Pixel wrangler.
 
Old 11 November 2007   #2
Why dodnt u do the pendular animation on the instanced objects themselves and then choose animated mesh on the settings and animation offset keying
__________________
WebSite
CGPortfolio

Photos

Flickr

 
Old 11 November 2007   #3
Because that's not really random. It's the same animation (same rotation limits) every time for each particle although it's offset. With 500 particles there are bound to be particles that have the same animation. So i was thinking something more random. Like choosing each time a different limit .... from -15 to 14 ..... then back to -10 then jump to 8 then to -15 and so on and so forth. really randomize stuff. Also .. the time it takes from one extreme to the other should be fairly random... one particle may take 5 frames for that another might take 20 frames. also if there's a way of having a nonlinear transition between extremes would be great.

if anybody has any ideas or could point me into the right maxscript direction would appreciate it.
__________________
Pixel wrangler.
 
Old 11 November 2007   #4
well u could easly do the animation on a petal, use a noise controller on the axis u want the rotation, give it a value between -15 n 15, then clone the petal 10 times, change the seed on each one, group them n use the group elements as your instanced shape.
Not that hard I guess. But obviously if theres a script out there that does that for u, then all the better.
__________________
WebSite
CGPortfolio

Photos

Flickr

 
Old 11 November 2007   #5
Thanks for the sugestion. Yes I did think about that but that comes down to rand(10 animations) i really wanted something that's somewhat procedural in method in order to achieve more randomness. If I can't find another solution I think I'll go with the shape anim.
__________________
Pixel wrangler.
 
Old 11 November 2007   #6
Hey
Did you eventually find out a solution? I'm trying to do exactly the same thing on the rotation only it is for the inital position of the particles. I found something that may help though I have 0 knowledge of maxscript. I'm still trying to figure out...if you figure out can you plz let me know? Here's a script that I thought may help...
http://www.orbaz.com/forum/viewtopi...924419e39bc4b49

Thanks

Originally Posted by MihaiPocorschi: Thanks for the sugestion. Yes I did think about that but that comes down to rand(10 animations) i really wanted something that's somewhat procedural in method in order to achieve more randomness. If I can't find another solution I think I'll go with the shape anim.

Last edited by nan1203 : 11 November 2007 at 05:20 PM.
 
Old 11 November 2007   #7
@ nan1203
due to time constraints I was forced to stay with that solution (animating the instanced objects by hand). Probably when I'll have more free time I'll look at it
__________________
Pixel wrangler.
 
Old 11 November 2007   #8
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 04:07 AM.


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