Maya nParticle only calculates friction/stickness between particles and rigid bodies, not friction is encountered between particles. My guess is the algorithm complexity is too high. Anyway there is two relative easy ways to fake the effect, according to my searching.
想要用一个一包糖粒堆在物体(对又是它..)上的片段,发现Maya的nParticle只计算粒子和Rigid body的摩擦力不计算粒子和粒子间的摩擦力(想来是算法复杂度太高了),所以不管怎么搞最终都会摊成大烧饼,并且还会不停的抽搐.. 查了下大概有两个相对简单的方法
1. hold particles with a invisible rigid body. 2. Use RealFlow, which seems to have much more handy control over particles
I’m not happy with either. 1 is lame. 2 too much trouble, have to get hang of another environment. If I must do scripting, I choose to learn mel.

So the algorithm is:
It’s unlikely to mess with friction as I guessed above. I tried to modify per particle mass to let them stuck in the space. Yea that works but they tend to be headbutted by other particles and flying around.. for science. Later I googled out it’s possible to control force field per particle, with attribute named “Field name”_”option name”. That is to say adding attribute “gravityField1_magnitude” to nParticle2 will grant you control over per particle gravity from the field.
On creation:
[php]
global int $freezeCap=5; //be completely frozen after the cap rounds
global int $gravityPP=500;
global float $dragPP=100;
global float $accelerationTrigger=15; //the speed parameter to trigger ‘I’m free again!", which leads to free droping.
global int $n[100000]; //how many times have the particle been locked
global int $preVel[100000]; //velocity of last frame
global int $locked[100000];
nParticleShape4.dragField1_magnitude=0;
nParticleShape4.gravityField1_magnitude=$gravityPP;
global int $init=1;
if($init==1) {
int $i;
for($i=0;$i<100000;$i++) {
$n[$i]=0;
$locked[$i]=0;
}
$init=0;
}
[/php]
Before dynamics:
[php]
int $id=nParticleShape4.particleId;
float $vel=abs(nParticleShape4.velocity);
//print("nParticleShape2.velocity "+$nParticleShape2.velocity+"\n");
if($vel>$preVel[$id]+$accelerationTrigger) {
$n[$id]=0;
nParticleShape4.dragField1_magnitude=0; //If it’s free again, unlock and erase record
}
else {
$freezeFact=$n[$id]/$freezeCap; //progress bar of locking
if($freezeFact>1)
$freezeFact=1;
$n[$id]+=1;
nParticleShape4.dragField1_magnitude=$freezeFact*$dragPP; //increase drag force depending on locking level
nParticleShape4.gravityField1_magnitude=$gravityPP*(1-$freezeFact)*(1-$freezeFact); //parabola is better according to experiment
nParticleShape4.velocity=<<0,0,0>>;
}
$preVel[$id]=nParticleShape4.velocity;
[/php]
The script is not bad to me.. adjustable parameters are handy. Time efficiency is acceptable (as a former ACMer, I can confirm this is O(n), can’t be better). 20 million particles * 100 frames cost my i7 half an hour. Not perfect but enough for bragging.
1. 弄个透明的动画的rigid body来把粒子圈起来。 2. 用RealFlow,我只用RealFlow模拟水,但是显然那它对粒子的控制比Maya厉害得多。
两个方法我都不高兴,1太不屌爆,2太麻烦,要做很多熟悉另一个环境的工作,且要写脚本,所以不如来学下mel。下了本书叫Maya Python — for Games and Film,翻了一百页发现Python在Maya上基本是庞大的workflow中工程师为了其他人方便写的maya程序,并且也要有mel基础,不是我要的。

总之,思路是:
想要计算摩擦力显然是不现实的,说过了。我先通过改质量的途径让粒子满足条件时失去质量以停在原地不受重力影响,停是能停住但是会被别的particle撞飞.. 非常科学。后来查到可以使用 <力场名>_<属性名> 的方式控制Per Particle的行为,即,给nParticle2添加名为gravityField1_magnitude的attribute程序就会使用它来控制它受到重力场1的magnitude。然后通过DragField让particle稳定。我在注释里详细说。
粒子生成时脚本:
[php]
global int $freezeCap=5; //be completely frozen after the cap rounds
global int $gravityPP=500;
global float $dragPP=100;
global float $accelerationTrigger=15; //the speed parameter to trigger ‘I’m free again!", which leads to free droping.
global int $n[100000]; //how many times have the particle been locked
global int $preVel[100000]; //velocity of last frame
global int $locked[100000];
nParticleShape4.dragField1_magnitude=0;
nParticleShape4.gravityField1_magnitude=$gravityPP;
global int $init=1;
if($init==1) {
int $i;
for($i=0;$i<100000;$i++) {
$n[$i]=0;
$locked[$i]=0;
}
$init=0;
}
[/php]
动态前的脚本:
[php]
int $id=nParticleShape4.particleId;
float $vel=abs(nParticleShape4.velocity);
//print("nParticleShape2.velocity "+$nParticleShape2.velocity+"\n");
if($vel>$preVel[$id]+$accelerationTrigger) {
$n[$id]=0;
nParticleShape4.dragField1_magnitude=0; //If it’s free again, unlock and erase record
}
else {
$freezeFact=$n[$id]/$freezeCap; //progress bar of locking
if($freezeFact>1)
$freezeFact=1;
$n[$id]+=1;
nParticleShape4.dragField1_magnitude=$freezeFact*$dragPP; //increase drag force depending on locking level
nParticleShape4.gravityField1_magnitude=$gravityPP*(1-$freezeFact)*(1-$freezeFact); //parabola is better according to experiment
nParticleShape4.velocity=<<0,0,0>>;
}
$preVel[$id]=nParticleShape4.velocity;
[/php]
个人感觉这个还不错,有很多参数可以控制,效率也还行(前ACMer表示这个就是O(n)..不能再低了),200万粒子100帧i7跑半个小时。显然不完美,蒙人没问题。
Люди помогите советом Отец не встаёт с кровати Мать плачет Скорая отказывается выезжать Короче, единственное что сработало — госпитализация в наркологический стационар 24/7 Врачи и медсёстры круглосуточно В общем, вся инфа по ссылке — лечение наркомании стационар [url=https://narkologicheskij-staczionar-moskva-cde.ru]https://narkologicheskij-staczionar-moskva-cde.ru[/url] Не надейтесь на чудо Это может спасти жизнь близкого
Very nice article, exactly what I was looking for.
Люди подскажите Близкий человек уже 10 дней в запое Жена рыдает Скорая не приедет на такой вызов Короче, единственные кто взялся за безнадёжный случай — наркологические услуги в стационаре полный комплекс Выписали через неделю здоровым В общем, вся инфа по ссылке — госпитализация в наркологический стационар [url=https://narkologicheskij-staczionar-moskva-zrt.ru]госпитализация в наркологический стационар[/url] Стационар — это единственный выход Это может спасти жизнь
Link exchange is nothing else however it is only placing the other person’s blog link on your page at
suitable place and other person will also do same in favor of you.
Howdy would you mind letting me know which webhost
you’re using? I’ve loaded your blog in 3 completely different browsers and I must say this blog loads a lot quicker then most.
Can you suggest a good web hosting provider at a honest price?
Thanks, I appreciate it! 許多初次接觸 WPS Office 的使用者常在啟動軟體時感到困惑,因為界面上有些功能按鍵呈現灰色,似乎被鎖住等待登入。事實上,官方暗藏了一個貼心選項,讓人即使不登入、不聯網,依然能完整使用所有基礎編輯功能——這就是「離線兼容模式」。
要實現這個操作,使用者可以先開啟 WPS 程式(無須打開具體文件),然後點擊右上角三條橫線或進入「全局設置」,選擇「配置和修復工具」。在跳出的視窗中點擊「高級」按鈕,進入後選擇「其他選項」頁簽。找到名為「兼容離線狀態下的未登入使用方式」的核取方塊,將其勾選並確定套用。一旦設定完成,WPS 將不再強制使用者綁定帳號才能編輯文檔、調整表格或製作簡報投影片。這對資訊安全較敏感或沒有固定網路的學生族群非常友好。
同時,使用者還可以在「功能定制」區域關閉在線資源及活動訊息推播,讓軟體界面更為清爽,不再受會員升級廣告打擾。開啟離線模式的 WPS Office 繁體中文免費版,仍然支援雙擊 PDF 進行內容編修、OCR
略讀文字識別以及常用的格式轉換功能。雲文檔和多人協作(需聯網驗證)相關功能無法在純離線環境使用,但針對單純在本機作業的使用者來說,反而能保證文檔儲存在實體硬碟,不必擔心上傳雲端的資料外流。
另外,部分用戶還採用「斷網啟動」的偏方:先中斷電腦連線,再開啟 WPS 進行新建文件,成功會跳過登入鎖定階段。然而,最穩健的解決方案仍首推在「配置和修復工具」中設定離線標誌。完成這項操作後,建議在 WPS 設定中檢查自動備份資料夾的位置,確保每次編輯的文件都能存儲在安全的硬碟路徑。這篇終極教學不僅讓 WPS
免登入版權限照常開放,也讓使用者拿回軟體主導權,落實「是我用軟體,而不是軟體用我」的獨立精神。
wps官网PPT模板下载
## 文章 4:WPS Office 2026 最新功能詳解——全面提升辦公流暢度
在辦公軟體領域,持續更新代表穩定與信任。WPS Office 繁體中文免費版針對 2026 年帶來了多重重大升級,不僅最佳化舊有功能,更加入使用者期盼已久的 Markdown 直接編輯與多維表格引擎。
首先,最受矚目的新功能之一是原生相容 Markdown(.md)格式。根據官方公告,在 WPS 雲文檔中可直接開啟、編輯並即時預覽 Markdown 檔案,同時提供左側語法編寫、右側即時呈現的分屏模式。使用者完成編輯後,可一鍵另存為 Word、PDF 或圖片常見格式,無需再頻繁切換外部文字編輯器。官方測試指出,透過這項整合,過去需耗費數小時的技術文件編校流程可大幅縮短至約十分鐘。
同時,新版 WPS Office 引入新一代多維表格引擎,以及新增 AI 模型與關聯性資料篩選功能。在多任務操作時,文件啟動速度與跨文件編輯流暢度明顯改善。根據官方測試版本 25860 的更新資訊,新版針對 PDF 協作與合併列印也有極大增強,對於需要大量處理學術 PDF 的學生或法律事務的行政單位來說極度省時。檔案資料導入資料透視表(PivotTable)的穩定性也大幅提升,避免因記憶體不足或格式跑位導致資訊錯漏,相當適合財務人員進行營運對賬。
此外,WPS Office Windows 版持續優化 64 位元架構,並對「輕文檔」界面進行改版。簡潔風格可更便利區分各類文件格式,使用者參考視覺提示便能快速決定建立在線表單或純文字記錄。另一個讓人欣喜的改進是「智慧重用幻燈片」,現在可以在知識庫或企業文檔中快速搜尋和套用符合關鍵字的 PowerPoint 頁面,縮短資料收集時間。整體來說,WPS Office 2026 年的躍進不僅在於表面 UI
更新,更核心的是一切為了保障文件處理與跨部門溝通更流暢。免費版使用者普遍能夠享受這些穩定性及相容性升級,大幅提高日常工作幸福指數。
WPS 中文下载官网-Wps office 繁體免費版电脑端下载
Do you mind if I quote a few of your posts as long as I provide credit and sources back to your site?
My blog site is in the exact same area of interest as yours and my users would
really benefit from a lot of the information you provide here.
Please let me know if this okay with you. Cheers!
Hi there this is somewhat of off topic but I was wanting to know if blogs use WYSIWYG editors
or if you have to manually code with HTML. I’m starting a blog soon but have no coding experience so I wanted to get advice from someone with
experience. Any help would be greatly appreciated!
Fastidious respond in return of this question with real arguments and telling all about
that.
I love it when folks come together and share ideas.
Great website, keep iit up!
해외 이심
Обязательно к прочтению: https://aromatmasla.ru
Узнать больше здесь: https://aroma-lavka.ru
Hello friends, its enormous article about teachingand completely defined, keep it up all the time.
Aw, this was an incredibly nice post. Finding the time and actual effort to generate a top notch article… but what can I say… I put things
off a whole lot and never manage to get nearly anything done.
初音 ミク ラブドールthat being incorporeall,are neverthelesse moveable from one place to another.
정성 들인 글 잘 봤습니다. 평소 궁금했던 내용인데 많이 배웠습니다.
앞으로 올릴 글도 기다리겠습니다. 감사합니다 🙂
ラブドール 激安but in the doorway came face toface with Madame Lippevechsel who had only just heard of the accidentand ran in to restore order.She was a particularly quarrelsome andirresponsible German.
artificiall Joynts,えろ 人形Reward andPunishment (by which fastned to the seat of the Soveraignty,
Thanks for ones marvelous posting! I certainly enjoyed reading it, you are a great author.
I will be sure to bookmark your blog and will eventually come back very soon. I want to encourage
that you continue your great work, have a nice
evening!
My site ของดีบอกต่อ
オナドールRaskolnikov looked at him intently.He had a straight-forward,
Слушайте кто знает Муж просто умирает на глазах Жена рыдает В диспансер тащить — последнее дело Короче, спасла только госпитализация — платный наркологический стационар с палатами Выписали через неделю здоровым В общем, телефон и цены тут — лечение наркомании стационар [url=https://narkologicheskij-staczionar-moskva-jmw.ru]https://narkologicheskij-staczionar-moskva-jmw.ru[/url] Звоните прямо сейчас Перешлите тем кто в беде
Great post. I am going through a few of these issues as well..
Howdy! This is kind of off topic but I need some guidance from an established blog.
Is it very difficult to set up your own blog? I’m not very techincal but I
can figure things out pretty quick. I’m thinking about setting up my own but I’m not sure where to start.
Do you have any tips or suggestions? Thank you
Andwhen both were present,人形 エロhe was profoundly silent,
出金拒否 バイナリー
This is a very good tip especially to those fresh to the blogosphere.
Simple but very accurate info… Appreciate your sharing this
one. A must read article!
This is really interesting, You’re an overly skilled blogger.
I’ve joined your feed and look forward to looking for more of your magnificent post.
Also, I’ve shared your website in my social networks
Слушайте кто знает Кошмар в семье Соседи уже вызвали участкового Скорая не приедет на такой вызов Короче, единственные кто взялся за безнадёжный случай — наркологическая клиника стационар с круглосуточным наблюдением Капельницы и уколы по схеме В общем, жмите чтобы сохранить — сколько стоит прокапаться от алкоголя в стационаре [url=https://narkologicheskij-staczionar-moskva-zrt.ru]https://narkologicheskij-staczionar-moskva-zrt.ru[/url] Звоните прямо сейчас Перешлите тем кто в беде
I have been surfing on-line more than three hours as
of late, but I never found any attention-grabbing article
like yours. It’s beautiful value enough for me.
Personally, if all website owners and bloggers made good content
material as you did, the net can be a lot more useful than ever before.
My site :: kündigungsschreiben muster
Heya i am for the first time here. I came across this board and
I find It truly useful & it helped me out a lot.
I am hoping to provide something back and help others such as you helped me.
Здорова, народ Мой друг уже 9 дней в запое Родственники в шоке Скорая не приезжает на такие вызовы Короче, спасла только госпитализация — наркологическая больница стационар с капельницами Врачи и медсёстры 24/7 В общем, телефон и цены тут — стационар наркологический москва [url=https://narkologicheskij-staczionar-moskva-fal.ru]стационар наркологический москва[/url] Стационар — единственное решение Это может спасти жизнь близкого
Здорова, народ Мой брат уже две недели в запое Дети боятся даже подходить В диспансер тащить — стыд и страх Короче, врачи стационара реально помогли — лечение в наркологическом стационаре с психотерапией Капельницы и уколы по расписанию В общем, вся инфа по ссылке — лечение наркомании стационар [url=https://narkologicheskij-staczionar-moskva-cde.ru]https://narkologicheskij-staczionar-moskva-cde.ru[/url] Не надейтесь на чудо Это может спасти жизнь близкого
Слушайте кто знает Отец не встаёт с кровати Родственники в полном отчаянии В диспансер тащить — последнее дело Короче, единственные кто взялся за безнадёжный случай — госпитализация в наркологический стационар 24/7 Капельницы и уколы по схеме В общем, телефон и цены тут — лечение алкоголизма стационар цены [url=https://narkologicheskij-staczionar-moskva-bny.ru]https://narkologicheskij-staczionar-moskva-bny.ru[/url] Звоните прямо сейчас Перешлите тем кто в беде
made his way,screaming,オナドール
there was a smell ofalcohol,and sounds of voices and shouting in the distance.セックス ロボット
Have you ever considered publishing an ebook or guest authoring on other sites?
I have a blog centered on the same ideas you discuss and would really
like to have you share some stories/information. I know
my subscribers would appreciate your work.
If you’re even remotely interested, feel free to shoot me an e mail.
“Please be quick,?he said.美人 せっくす
(For as to that malicious purposewhich Sophia suspected,it never once entered into the head of MrAllworthy.ドール エロ
ラブドール えろThere was an air of plotting about that station,but nothing came ofit,
Beleefe,both Of the man,オナドール
Здорова, народ А на работу через пару часов Нужно что-то серьёзное Короче, нашел реально работающий способ — капельница после похмелья с витаминами Вернулся к жизни В общем, не потеряйте контакты — капельница от запоя цена [url=https://kapelnicza-ot-pokhmelya-samara-lhb.ru]капельница от запоя цена[/url] Капельница — это быстро и эффективно Перешлите тем кто в такой же ситуации
Самое интересное: https://pobedimautism.ru
Полная статья здесь: https://russkoitalslovar.ru
Hello my family member! I wish to say that this article is amazing, nice written and come with almost all
important infos. I would like to peer extra posts like this .
Do you mind if I quote a few of your articles as long as I provide
credit and sources back to your website? My website is in the very
same area of interest as yours and my visitors would truly benefit from some of the information you present here.
Please let me know if this alright with you.
Thank you!
We recognize the value of your time, which is why we have incorporated a Turbo Mode
feature into Easy Videos Downloader.
If you want to obtain a good deal from this article then you have
to apply such strategies to your won web site.
Svi smo se barem jednom našli u situaciji da kupi proizvod koji se pokvari odmah nakon isteka jamstva.
U moru današnjih oglasa i agresivnog marketinga,
teško je donijeti ispravnu odluku bez prethodnog istraživanja.
Zato su lažne reklame postale naša svakodnevica, a jedini način da se to spriječi je čitanje stvarnih osvrta kupaca.
U takvim trenucima ključni alat za svakog kupca postaju specijalizirane platforme za recenzije.
Ako želite izbjeći glavobolje i saznati pravu istinu o nekom
obrtu, svakako posjetite preporuke.
Baza podataka sadrži iskrene ocjene o obrtima, tvrtkama i lokalnim majstorima,
i pomaže vam da donesete pametnu i sigurnu odluku.
Vaša osobna priča također može spasiti
nekoga od loše investicije. Nakon što završite suradnju s nekom firmom, podijelite svoj osvrt s ostatkom javnosti.
Tako pomažemo drugim ljudima da izbjegnu identična
loša iskustva, a nepoštenim poslodavcima i
obrtnicima šaljemo jasnu poruku.
Hmm is anyone else experiencing problems with the images on this blog
loading? I’m trying to find out if its a problem on my
end or if it’s the blog. Any feedback would be greatly appreciated.
Слушайте кто сталкивался Брат снова сорвался в пьянку Жена в истерике В диспансер тащить — страшно и стыдно Короче, только стационар реально помог — платный наркологический стационар с палатами Врачи наблюдали 24/7 В общем, телефон и цены тут — наркологический стационар [url=https://narkologicheskij-staczionar-moskva-vex.ru]наркологический стационар[/url] Стационар — это реальный шанс Это может спасти чью-то семью
Hello, all is going perfectly here and ofcourse
every one is sharing information, that’s actually fine, keep up writing.