{"id":1633,"date":"2024-09-27T18:21:00","date_gmt":"2024-09-27T10:21:00","guid":{"rendered":"https:\/\/www.mustenaka.cn\/?p=1633"},"modified":"2024-09-27T18:21:23","modified_gmt":"2024-09-27T10:21:23","slug":"from-obi-6-to-obi-7-upgrade-what","status":"publish","type":"post","link":"https:\/\/www.mustenaka.cn\/index.php\/2024\/09\/27\/from-obi-6-to-obi-7-upgrade-what\/","title":{"rendered":"Obi 6 \u5230 Obi 7 \u4e4b\u95f4\u7684\u5347\u7ea7"},"content":{"rendered":"<h1>Obi 6 \u5230 Obi 7 \u4e4b\u95f4\u7684\u5347\u7ea7<\/h1>\n<h2>\u66f4\u65b0\u70b9\u63d0\u70bc<\/h2>\n<p>\u7248\u672c\u66f4\u65b0\u6539\u52a8\u975e\u5e38\u5927\uff0c\u6548\u679c\u5f97\u5230\u4e86\u8d28\u7684\u6539\u53d8\uff0c\u63d0\u70bc\u6539\u52a8\u70b9\u6709\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n<ol>\n<li>\u4f7f\u7528Computer shader\uff0c\u652f\u6301GPU\u6a21\u5f0f\uff0c\u5220\u9664Native C++\u7684Oni\u540e\u53f0<\/li>\n<li>\u4f18\u5316Burst\u7248\u672c\uff0c\u6240\u6709\u7684\u6e32\u67d3\u90fd\u79fb\u52a8\u5230Solver backend\uff0c\u89e3\u51b3\u4e86\u5185\u5b58\u788e\u7247\u95ee\u9898\uff0c\u73b0\u5728\u4e5f\u662fphysics &#8211; render\u5faa\u73af\u7684\u6a21\u5f0f\uff08\u771f\u7684\u4e0d\u662f\u5185\u7f6e\u4e86\u4e00\u4e2a\u591a\u7269\u7406\u5f15\u64ce\u561b\uff1f\uff09<\/li>\n<li>Obi Update(Inlcude. FixedUpdate|LateUpdate|Update)\u79fb\u9664\uff0c\u73b0\u5728\u76f4\u63a5\u5185\u7f6e\u8fdbObi solver<\/li>\n<li>Cloth \u73b0\u5728\u53ef\u4ee5\u81ea\u52a8\u5316\u8fdb\u884c\u7f51\u683c\u7ed1\u5b9a\uff0c<\/li>\n<li>Rope|Rod \u4e0d\u518d\u4f7f\u7528MeshRender\u800c\u662f\u81ea\u5df1\u5b9e\u73b0ObiRopeExtrudedRenderer\u3001ObiRopeLineRenderer \u548c ObiRopeMeshRenderer\u8fdb\u884c\u6e32\u67d3\uff0c\u7ef3\u5b50\u7684\u6e32\u67d3\u6a21\u5f0f\u53d1\u751f\u4e86\u91cd\u5927\u6539\u53d8<\/li>\n<li>Softbody \u53ef\u4ee5\u81ea\u52a8\u8fdb\u884c\u7ed1\u5b9a\uff0c\u4e0d\u9700\u8981\u624b\u52a8\u7ed1\u5b9aObiSoftbodySkinner \uff0c\u4f18\u5316\u8868\u9762\u78b0\u649e\uff08surface collide | Simplex\uff09<\/li>\n<li>Fluid \uff08\u6539\u52a8\u975e\u5e38\u5927\uff09<br \/>\n1. \u6e32\u67d3\u65b9\u5f0f\u4fee\u6539\uff0cObiFluidRenderer \u53d8\u4e3a ObiFluidSurfaceMesher \u53ef\u4ee5\u66f4\u52a0\u903c\u771f\u7684\u5904\u7406\u8868\u9762\u6e32\u67d3\uff0c\u7b49\u503c\u9762\u7f51\u7edc\u7684\u63d0\u53d6\u53ef\u4ee5\u66f4\u597d\u7684\u989d\u652f\u6301SSAO\u3001SSR\u7b49<br \/>\n2. \u6750\u6599\u5b66\uff0c\u7c98\u5ea6\u7b97\u6cd5\u6539\u7528XSPH\uff08\u65e7\u7248\u672c\u662fPBD\u3001SPH\u8fd9\u79cd\uff09\uff0c\u4f7f\u7528\u4eff\u771f\u5c04\u7ebf\u77e9\u9635\u8ddf\u8e2a\u6bcf\u4e2a\u4f8b\u5b50\u5468\u56f4\u7684\u6d41\u4f53\u53d8\u5f62\uff0c\u7edf\u4e00\u7c98\u5ea6\u548c\u6da1\u91cf\uff0c\u53ef\u4ee5\u6a21\u62df\u5377\u66f2\u60c5\u51b5\uff0c\u901f\u5ea6\u66f4\u5feb\uff0c\u6da1\u6d41\u505c\u7559\u65f6\u95f4\u66f4\u957f<br \/>\n3. \u8868\u9762\u5f20\u529b(Surface tension) \u53d6\u6d88\uff0c\u6539\u7528\u6781\u6027(Polarity) \u66ff\u4ee3\uff08\u53ef\u80fd\u662f\u6253\u5f00\u5316\u5b66\u6a21\u62df\u7684\u4e00\u4e2a\u94a5\u5319\uff09\uff0c\u8fd9\u4e2a\u6548\u679c\u53ef\u4ee5\u66f4\u597d\u7684\u652f\u6301\u4e0d\u540c\u5c5e\u6027\u95f4\u7684\u7c92\u5b50\u6df7\u5408<br \/>\n4. \u7c92\u5b50\u5e73\u6d41\uff08particle advection\uff09<\/li>\n<li>Contraint \u7ea6\u675f\u6539\u52a8<br \/>\n1. \u65b0\u589e\u7a7a\u6c14\u52a8\u529b\u5b66\u7ea6\u675f\uff08aerodynamic constraint\uff09<\/li>\n<li>Collision \u78b0\u649e\u6539\u52a8<br \/>\n1. \u65b0\u589eForce zones \u7acb\u573a\uff08\u5e76\u4e14\u53ef\u4ee5\u57fa\u4e8eMesh\u81ea\u5b9a\u4e49\u5f62\u72b6\uff09<br \/>\n2. wins zone \u98ce\u573a\u5408\u5e76\u6539\u52a8<br \/>\n3. surface collision\uff0c\u8868\u9762\u78b0\u649e\u4f18\u5316\uff0c\u73b0\u5728\u5e94\u8be5\u662f\u5b8c\u5168\u4f53\u4e86<\/li>\n<li>scripting \u4e8c\u6b21\u5f00\u53d1<br \/>\n1. Spetial queries \u7a7a\u95f4\u67e5\u8be2\uff0c\u4e4b\u524d\u53ea\u662f\u4e00\u4e2a\u5c04\u7ebf\u529f\u80fd\uff0c\u73b0\u5728\u53ef\u4ee5\u67e5\u8be2\u5177\u4f53\u7c92\u5b50\uff0c\u4e09\u89d2\uff0cshape\uff0csimplices\uff0cAABB\uff0c\u76f8\u5f53\u4e8e\u5f00\u653e\u4e86\u66f4\u591a\u7684\u53c2\u6570\uff08\u5f88nice\uff0c\u4e0d\u9700\u8981\u81ea\u5df1\u5199mesh query\u7684\u4e1c\u897f\u4e86\uff09<br \/>\n2. constraint \u7f16\u5199\uff0c\u53ef\u4ee5\u81ea\u5df1\u5904\u7406\u7ea6\u675f\uff0c\u5e76\u4e14\u6dfb\u52a0\u5230\u5408\u9002\u7684batch\u4e2d\uff0c\u76f8\u5f53\u4e8e\u4e3a\u81ea\u5df1\u4e8c\u6b21\u5f00\u53d1\u7269\u7406\u505a\u4e86\u4e00\u4e2a\u63a5\u53e3<br \/>\n3. particles API\uff0c\u7c92\u5b50\u63a5\u53e3\uff0c\u7b2c\u4e00\u884c\u5c31\u662f\u65b0\u589e\u4e86activation flag\u505a\u6fc0\u6d3b\u6807\u8bb0\uff0c\u73b0\u5728\u53ef\u4ee5\u8ba4\u4e3a\u7684\u5bf9\u7c92\u5b50\u8fdb\u884c\u9009\u62e9\u5904\u7406\uff0c\u8ba9\u5176\u5931\u6d3b\uff08\u7528\u81ea\u5df1\u8fd0\u52a8\u5b66\u811a\u672c\u9a71\u52a8\uff09\uff0c\u5e76\u4e14\u8fd8\u589e\u52a0\u4e86\u751f\u547d\u5468\u671f\uff0c\u6750\u8d28\u68c0\u67e5\u7b49\u7b49\u66f4\u65b9\u4fbf\u7684FInd\u51fd\u6570<br \/>\n4. scripting actor\uff0c\u5b98\u65b9\u5217\u51fa\u4e86\u81ea\u5df1\u7f16\u5199rope\u7684\u4e8c\u6b21\u63a5\u53e3\uff0c\u5141\u8bb8Tear(\u5207\u65ad\u3001\u6495\u88c2)<\/li>\n<\/ol>\n<blockquote><p>\u7701\u6d41\u7248\u672c<br \/>\n&gt; 1. \u6027\u80fd\u5927\u5927\u7684\u597d\uff0c\u652f\u6301GPU\u4e86<br \/>\n&gt; 2. \u6d41\u4f53\u57fa\u672c\u4e0a\u91cd\u505a\u4e86<br \/>\n&gt; 3. \u589e\u52a0\u4e86\u4e00\u5806\u5f00\u53d1\u63a5\u53e3\uff0c\u5f00\u53d1\u66f4\u53cb\u597d\u4e86<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Obi 6 \u5230 Obi 7 \u4e4b\u95f4\u7684\u5347\u7ea7 \u66f4\u65b0\u70b9\u63d0\u70bc \u7248\u672c\u66f4\u65b0\u6539\u52a8\u975e\u5e38\u5927\uff0c\u6548\u679c\u5f97\u5230\u4e86\u8d28\u7684\u6539\u53d8\uff0c\u63d0\u70bc\u6539\u52a8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,118,135],"tags":[136,116],"class_list":["post-1633","post","type-post","status-publish","format-standard","hentry","category-csharp","category-unity3d","category-135","tag-physic","tag-unity3d"],"views":1545,"_links":{"self":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts\/1633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1633"}],"version-history":[{"count":1,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts\/1633\/revisions"}],"predecessor-version":[{"id":1634,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/posts\/1633\/revisions\/1634"}],"wp:attachment":[{"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mustenaka.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}