Originally posted by robinmitra1
Hi,
The ripple modifier in Max is great for continuous rippes. I want to create a single ripple. I have tried the displace modifier. But I really want to use the ripple modifier.I think that every modifier in Max has some script defined for it to work(some coding). So, it is possible to create a single ripple by modifying the script in some way. But unfortunately I am not versed with maxscript. So, any help is welcome.
Robin
Nope, the original Ripple modifier is a C++ plug-in. It has been part of Max since pre-1.0 times and ships with the SDK.
I took the function out of the SDK version, simplified it a bit (one Amplitude instead of 2, let me know if you need both!) and implemented as a scripted plug-in. It will be slower than the original one, but should work in most cases.
Another difference is that the Phase value is inverted in my version, as you usually want the waves to go out and not in (for example, for raindrops etc.) So if you animate the Phase to 10, you will get the SECOND ripple spreading out at a disatance of 10 Wavelengths. I took the second ripple instead of the first so you start up with no wave at all at Phase 0 and don't have to animate the Phase with negative values just to hide the beginning of the ripple.
Here is the code:
http://www.scriptspot.com/bobo/stuff/cgtalk/RippleOne.ms
Copy the file to your Plugins folder and restart max. Should work in Max 3, 4, 5 and 6.
Should appear as "RippleOne" in your modifiers list, just after the original Ripple modifier.
Note that you need to distribute the script if you are giving scenes using it to other max users. The script itself is free and may be distributed.
The following AVI preview was made using a 100x100 units plane with 50x50 segments, RippleOne modifier with Amplitude 10, WaveLength 20, Phase animated from 0 to 4 and Decay of 0.07
http://www.scriptspot.com/bobo/stuff/cgtalk/RippleOne.avi
Hope this helps,
Bobo
robinmitra
04-09-2004, 02:59 PM
Thanks a lot for your kind attention. I'll try it out.
Robin
CGTalk Moderation
01-17-2006, 09:00 PM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.