CGTalk > Software > Autodesk 3ds max
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 06-07-2013, 01:22 PM   #1
Rudiam
Expert
portfolio
maziar rud
Freelancer
Western Sahara
 
Join Date: Apr 2013
Posts: 329
Animating a Waveform controller's Period

Is there any way to do this?... I want to decrease the period of a waveform controller over time...
 
Old 06-07-2013, 07:47 PM   #2
JohnnyRandom
Configurator
 
JohnnyRandom's Avatar
portfolio
John Rand
still wandering the binary void
salt lake city, USA
 
Join Date: Oct 2003
Posts: 5,000
Maybe use a float list with one waveform with the Max value and one with the Min value and blend the weight of them over the desired duration.

EDIT: Hmm I can only get it to properly effect the amplitude and not the period

Absolutely NO maxscript access to the waveform controller either.
__________________
poof ~>Vimeo<~

Last edited by JohnnyRandom : 06-07-2013 at 08:09 PM.
 
Old 06-07-2013, 08:27 PM   #3
oatz
particle wrangler
Khye Kading
Khye Kading S.P.
Ankeny, USA
 
Join Date: Jan 2004
Posts: 260
Waveform has always been limited since it was implemented. I want to say it was bought from an external developer and didn't see any love.
__________________
Khye Kading
 
Old 06-07-2013, 09:27 PM   #4
davius
Positive electron
 
davius's Avatar
portfolio
David Almeida
Part-time dreamer
Maceió, Brazil
 
Join Date: Apr 2005
Posts: 1,449
Amazing how one can not animate any of the waveform's options. I'd script something to do what you want or do as JohnnyRandom said in his first paragraph - I tested and it worked.
__________________
didali
 
Old 06-07-2013, 09:47 PM   #5
Rudiam
Expert
portfolio
maziar rud
Freelancer
Western Sahara
 
Join Date: Apr 2013
Posts: 329
I actually did try the list method(blending between 2 waveforms with different periods over time), it kiiiiinda works, not perfectly though and I can not even imagine what's happening behind the scene, my head hurts, It's a shame, this could be really useful...

Edit:Seems like I missed your post davius, If it can be done that would be great, I'm trying to simulate the smoke coming out of a locomotive by animating the rate of a pflow's birth operator, everything works create, but i need to decrease the period of the waveform gradually to simulate the effect of the train accelerating...

As I said the list method kind of works but it's obviously blending between the two periods which isn't correct...

Last edited by Rudiam : 06-07-2013 at 10:22 PM.
 
Old 06-07-2013, 10:09 PM   #6
davius
Positive electron
 
davius's Avatar
portfolio
David Almeida
Part-time dreamer
Maceió, Brazil
 
Join Date: Apr 2005
Posts: 1,449
If I understood that correctly you could script the position of your object (a piston?) using a sin function. Then you could make some variables to drive the function and link those variables to an attribute holder or something. Nothing fancy...
__________________
didali
 
Old 06-07-2013, 10:39 PM   #7
Rudiam
Expert
portfolio
maziar rud
Freelancer
Western Sahara
 
Join Date: Apr 2013
Posts: 329
Well I'm not really a scripter(not yet anyway), so all I can do right now is hope for someone to come up with a way to access the waveform's parameters and ultimately make them animatable, if that is possible at all, since Johnny said that they're not even exposed...

By the way I'm using the square function curve(not the Sine) in the waveform to achieve the burst effect, thought I mention this...
 
Old 06-07-2013, 11:38 PM   #8
JohnnyRandom
Configurator
 
JohnnyRandom's Avatar
portfolio
John Rand
still wandering the binary void
salt lake city, USA
 
Join Date: Oct 2003
Posts: 5,000
Hmm you know I bet you could do something like this:

https://vimeo.com/44285204

And blend that script float with a waveform

As a matter of fact, just did, so the faster the object move the more particles are born. Not perfect and not exactly what you want (what is the fun in that) you'll have to tweak it for your needs. It should give you some ideas.
Attached Files
File Type: zip max2011_PF_ScriptedBirthRateByVelocity_wWaveForm.zip (30.5 KB, 4 views)
__________________
poof ~>Vimeo<~
 
Old 06-08-2013, 09:05 AM   #9
Rudiam
Expert
portfolio
maziar rud
Freelancer
Western Sahara
 
Join Date: Apr 2013
Posts: 329
Very interesting, actually in a way this is better than what I wanted since now I don't have to manually animate the period, and while it's doing something else all together the effect is exactly what I had in mind, maybe even better than that, lol, this is exactly why I need to learn to script... script controllers and expression controllers are so useful, I'm so jealous of you guys...

Lol, almost forgot, thanks a lot Johnny...
 
Old 06-08-2013, 09:05 AM   #10
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 02:30 PM.


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