物理演算エンジンによる物理シミュレーション 坂の上へ落ちる物体の、物理演算によるシミュレーション4例。 物理演算エンジン(ぶつりえんざんエンジン、Physics engine)とは、質量・速度・摩擦・風といった、古典力学的な法則をシミュレーションするコンピュータのソフトウェアである。多くの場合、ミドルウェアライブラリを指す。 略して物理演算、物理エンジン、Physicsとも言う。 物理演算の基本となるのは衝突判定とダイナミックシミュレーション
物理シミュレーションなし
重力のみ。衝突判定なし
重力と衝突判定のみ。回転演算なし。
重力、衝突判定と回転演算。
概要
長年、学術的シミュレーションや3DCGアニメ製作の現場などの専門分野でのみ使われていたが、2000年代以降には高度な物理演算エンジンを搭載した家庭用ゲーム機やゲーム用グラフィックカードの登場により、ゲームを通じて一般にもなじみが深いものとなっている。物理エンジンを史上初めて搭載した家庭用ゲームは『Rocket: Robot on Wheels』(Nintendo 64、Ubisoft、1999年)。特に2000代後半のPS3/Xbox 360世代の初期のゲームは「HD」と「物理演算」がキーワードとなっており、ソニーは物理演算をゲーム性の基軸に据えた「リトルビッグプラネット」を2008年にリリースし、ヒットさせた。
また、物理演算を搭載した3DCGソフトウェアも、かつてはプロユーザーにしか手が出せなかったが、現在ではフリーのBlenderを初めとして一般人にも手が届く物がいくつも存在しているため、ゲームや映像を介して物理演算を実感するだけでなく自身で物理演算を利用した3DCGアニメーションを製作することも容易となっている。
Algodoo等の物理演算を活用した教育用ソフトウェアも存在する。 物理演算エンジンの主要な応用例は、科学技術計算とエンターテイメント分野である。 最初の汎用計算機、ENIACは非常に単純な物理計算、すなわち弾道計算のために使われた。そしてコンピュータの発達とともに航空機の設計などへ応用されていった。 1980年代ごろから、スーパーコンピュータが天気予報のために、大気や海流といった流体のシミュレーションのために使われるようになった。これらの分野は数値流体力学として知られている。 ゲームのようなエンターテイメント分野では、物理シミュレーションの正確さよりも速度、リアルタイム性が重要である場合が多い。そのため、正確さを犠牲にしても高速性を得られるような手法が取られる。PhysXのように、ハード/ソフトウェア両面から高速性を実現するアーキテクチャを採用するものもある。
応用
科学技術計算
エンターテイメント
物理演算エンジンの例
ライブラリ
Box2D
Havok
Bullet
ODE
⇒DynaMo
⇒Springhead
アプリケーション
Algodoo
RigidChips
関連項目
剛体の力学
流体力学
ゲームエンジン
COLLADA
物理モデル音源 - 電子楽器において、音響物理学的演算によって楽器音を合成する方式
.mw-parser-output .asbox{position:relative;overflow:hidden}.mw-parser-output .asbox table{background:transparent}.mw-parser-output .asbox p{margin:0}.mw-parser-output .asbox p+p{margin-top:0.25em}.mw-parser-output .asbox{font-size:90%}.mw-parser-output .asbox-note{font-size:90%}.mw-parser-output .asbox .navbar{position:absolute;top:-0.90em;right:1em;display:none}
.mw-parser-output .hlist ul,.mw-parser-output .hlist ol{padding-left:0}.mw-parser-output .hlist li,.mw-parser-output .hlist dd,.mw-parser-output .hlist dt{margin-right:0;display:inline-block;white-space:nowrap}.mw-parser-output .hlist dt:after,.mw-parser-output .hlist dd:after,.mw-parser-output .hlist li:after{white-space:normal}.mw-parser-output .hlist li:after,.mw-parser-output .hlist dd:after{content:" ・\a0 ";font-weight:bold}.mw-parser-output .hlist dt:after{content:": "}.mw-parser-output .hlist-pipe dd:after,.mw-parser-output .hlist-pipe li:after{content:" |\a0 ";font-weight:normal}.mw-parser-output .hlist-hyphen dd:after,.mw-parser-output .hlist-hyphen li:after{content:" -\a0 ";font-weight:normal}.mw-parser-output .hlist-comma dd:after,.mw-parser-output .hlist-comma li:after{content:"、";font-weight:normal}.mw-parser-output .hlist-slash dd:after,.mw-parser-output .hlist-slash li:after{content:" /\a0 ";font-weight:normal}.mw-parser-output .hlist dd:last-child:after,.mw-parser-output .hlist dt:last-child:after,.mw-parser-output .hlist li:last-child:after{content:none}.mw-parser-output .hlist dd dd:first-child:before,.mw-parser-output .hlist dd dt:first-child:before,.mw-parser-output .hlist dd li:first-child:before,.mw-parser-output .hlist dt dd:first-child:before,.mw-parser-output .hlist dt dt:first-child:before,.mw-parser-output .hlist dt li:first-child:before,.mw-parser-output .hlist li dd:first-child:before,.mw-parser-output .hlist li dt:first-child:before,.mw-parser-output .hlist li li:first-child:before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child:after,.mw-parser-output .hlist dd dt:last-child:after,.mw-parser-output .hlist dd li:last-child:after,.mw-parser-output .hlist dt dd:last-child:after,.mw-parser-output .hlist dt dt:last-child:after,.mw-parser-output .hlist dt li:last-child:after,.mw-parser-output .hlist li dd:last-child:after,.mw-parser-output .hlist li dt:last-child:after,.mw-parser-output .hlist li li:last-child:after{content:")\a0 ";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li:before{content:" "counter(listitem)" ";white-space:nowrap}.mw-parser-output .hlist dd ol>li:first-child:before,.mw-parser-output .hlist dt ol>li:first-child:before,.mw-parser-output .hlist li ol>li:first-child:before{content:" ("counter(listitem)" "}.mw-parser-output .navbar{display:inline;font-size:75%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}.mw-parser-output .infobox .navbar{font-size:88%}.mw-parser-output .navbox .navbar{display:block;font-size:88%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}