Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5004183B2 - Image creation apparatus, image creation program, and image creation support program - Google Patents
[go: Go Back, main page]

JP5004183B2 - Image creation apparatus, image creation program, and image creation support program - Google Patents

Image creation apparatus, image creation program, and image creation support program Download PDF

Info

Publication number
JP5004183B2
JP5004183B2 JP2008010407A JP2008010407A JP5004183B2 JP 5004183 B2 JP5004183 B2 JP 5004183B2 JP 2008010407 A JP2008010407 A JP 2008010407A JP 2008010407 A JP2008010407 A JP 2008010407A JP 5004183 B2 JP5004183 B2 JP 5004183B2
Authority
JP
Japan
Prior art keywords
vertex
bones
bone
influence
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008010407A
Other languages
Japanese (ja)
Other versions
JP2009169910A (en
Inventor
正也 高野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sammy Corp
Original Assignee
Sammy Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sammy Corp filed Critical Sammy Corp
Priority to JP2008010407A priority Critical patent/JP5004183B2/en
Publication of JP2009169910A publication Critical patent/JP2009169910A/en
Application granted granted Critical
Publication of JP5004183B2 publication Critical patent/JP5004183B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Description

本発明は、画像作成装置、画像作成プログラム、及び画像作成支援プログラムに関する。   The present invention relates to an image creation device, an image creation program, and an image creation support program.

情報端末、遊技機、ゲーム機等に備えられた表示画面には、現実感の高い映像が表示されるようになってきている。特に、人間や動物などのキャラクタの自然な動作表現を実現するための技術としてスキンモデルが知られている。これは、描画されるキャラクタオブジェクトの外形(ポリゴンの集合)と、そのオブジェクトの動作を制御するための骨格から構成される。骨格は複数のボーンから形成され、オブジェクトの外形を構成する各ポリゴンの頂点は、1つ以上のボーンからの影響を受け、ボーンを動かすことによってオブジェクトの動作が制御される。   Highly realistic images are being displayed on display screens provided in information terminals, game machines, game machines, and the like. In particular, a skin model is known as a technique for realizing natural motion expressions of characters such as humans and animals. This is composed of an outline (a set of polygons) of a character object to be drawn and a skeleton for controlling the movement of the object. The skeleton is formed from a plurality of bones, and the vertexes of each polygon constituting the outline of the object are affected by one or more bones, and the movement of the object is controlled by moving the bones.

特許文献1や特許文献2には、オブジェクトの動作を制御するための骨格を利用した画像処理技術が開示されている。また、特許文献1に開示された画像処理方法では、このようなオブジェクトの動作制御の処理を高速化するため、予めボーンとウェイトの組が等しい頂点のデータが連続するように並び替えておくことにより、ボーン変形の処理工程において導出される値の再利用率を向上させ、計算量が減少するようにしている。
特開2005−141545号公報 特開平10−188028号公報
Patent Documents 1 and 2 disclose image processing techniques using a skeleton for controlling the movement of an object. In addition, in the image processing method disclosed in Patent Document 1, in order to speed up the object motion control process, data of vertices having the same bone and weight pairs are rearranged in advance so as to be continuous. Thus, the reuse rate of values derived in the bone deformation processing step is improved, and the amount of calculation is reduced.
JP 2005-141545 A Japanese Patent Laid-Open No. 10-188028

コンピュータグラフィック作成ソフトでは、オブジェクトの外形を構成する各ポリゴンの頂点に対し、自動的に関連するボーンと影響度(ウェイト)を設定する。しかし、各頂点に影響を与えるボーンを設定する場合、その頂点に距離的に近いボーンが自動的に設定されるため、周囲に多くのボーンが配置されている場合には、実際には影響を考慮する必要がないようなボーンも設定されてしまうことがある。このため、1つの頂点に設定される関連ボーン数はライブラリの都合で所定数に制限される場合があるものの、この制限を超えて関連ボーンが設定されてしまうことがある。また、ボーンの数が多いと、オブジェクトの動作を制御する際の演算量が増大し、処理が遅くなるという問題もある。   In the computer graphic creation software, related bones and influence (weight) are automatically set for the vertices of each polygon constituting the outline of the object. However, when setting a bone that affects each vertex, a bone that is close in distance to that vertex is automatically set, so if there are many bones in the surrounding area, the actual effect is not affected. Sometimes bones are set that do not need to be considered. For this reason, the number of related bones set for one vertex may be limited to a predetermined number for the convenience of the library, but related bones may be set exceeding this limit. In addition, when the number of bones is large, there is a problem that the amount of calculation for controlling the movement of the object increases and the processing becomes slow.

そこで本発明は、簡易な方法で、スキンモデルの1つの頂点に対して設定されるボーン数が所定数を超えないようにすることを目的とする。   Therefore, an object of the present invention is to prevent the number of bones set for one vertex of a skin model from exceeding a predetermined number by a simple method.

本発明に係る画像作成装置は、三次元オブジェクトの外形情報を記憶する第1の記憶部と、複数のボーンから形成され、前記三次元オブジェクトの動作を制御するための骨格情報を記憶する第2の記憶部と、前記三次元オブジェクトの外形を形成する各々の頂点の動きに影響を及ぼすボーンとその影響度を、各々の頂点に対して設定する影響度情報生成部と、一の頂点に対して設定されたボーンが、所定数を超えて存在する場合には、当該頂点に対して設定されたボーンのうち割り当てられている影響度が小さいものから順に、設定されたボーンの数が前記所定数になるまで当該頂点に対するボーンの設定を削除し、削除したボーンに割り当てられていた影響度を当該頂点に設定されている残りのボーンに対して割り当てる影響度情報調整部を備える。   An image creating apparatus according to the present invention includes a first storage unit that stores outline information of a three-dimensional object, and a second storage unit that is formed of a plurality of bones and stores skeleton information for controlling the operation of the three-dimensional object. A storage section, an influence information generating section for setting a bone that affects the movement of each vertex forming the outline of the three-dimensional object, and an influence degree thereof for each vertex, and a vertex If there are more than a predetermined number of bones set, the number of the set bones is set in descending order of the assigned degree of influence among the bones set for the vertex. The degree of influence information adjustment unit assigns the degree of influence assigned to the deleted bone to the remaining bones set to the vertex, deleting the bone setting for that vertex until the number is reached Provided.

本発明によれば、一の頂点に対して設定されたボーンが、所定数を超えて存在する場合には、当該頂点に対して設定されたボーンのうち割り当てられている影響度が小さいものから順に、当該頂点に対するボーンの設定を削除し、設定されるボーンの数を少なくするようにしたので、簡易な方法で、1つの頂点に対して設定されるボーン数が所定数を超えないようにすることができる。   According to the present invention, when there are more than a predetermined number of bones set for one vertex, the assigned degree of influence is small among the bones set for the vertex. In order, the bone setting for the vertex is deleted in order and the number of bones set is reduced so that the number of bones set for one vertex does not exceed the predetermined number with a simple method. can do.

また、前記影響度情報調整部は、前記削除したボーンに割り当てられていた影響度を、前記残りのボーンに対し、残りのボーンの各々に設定されている影響度に従って割り当てることが望ましい。
これにより、ボーンを減らしたことによるオブジェクトの動作に与える影響を小さくすることができる。
前記影響度情報調整部は、前記削除したボーンに割り当てられていた影響度を、前記残りのボーンに対し、等分に割り当てるようにしてもよい。
In addition, it is preferable that the influence degree information adjustment unit assigns the influence degree assigned to the deleted bone to the remaining bones according to the influence degree set for each of the remaining bones.
As a result, the influence on the motion of the object due to the reduction of bones can be reduced.
The influence degree information adjustment unit may equally assign the influence degree assigned to the deleted bone to the remaining bones.

本発明に係る画像作成プログラムは、コンピュータに、記憶部から、三次元オブジェクトの外形情報と、複数のボーンから形成され、前記三次元オブジェクトの動作を制御するための骨格情報を取得する機能と、前記三次元オブジェクトの外形を形成する各々の頂点の動きに影響を及ぼすボーンとその影響度を、各々の頂点に対して設定する機能と、一の頂点に対して設定されたボーンが、所定数を超えて存在する場合には、当該頂点に対して設定されたボーンのうち割り当てられている影響度が小さいものから順に、設定されたボーンの数が前記所定数になるまで当該頂点に対するボーンの設定を削除し、削除したボーンに割り当てられていた影響度を当該頂点に設定されている残りのボーンに対して割り当てる機能を実行させるものである。   The image creation program according to the present invention is a computer, from a storage unit, the external shape information of the three-dimensional object, a function of acquiring skeleton information formed from a plurality of bones for controlling the operation of the three-dimensional object, The bone that affects the movement of each vertex forming the outline of the three-dimensional object and the function of setting the influence degree for each vertex, and a predetermined number of bones set for one vertex If the number of bones set for the vertex reaches the predetermined number, the bones set for the vertex are ordered in descending order of the degree of influence assigned to the vertex. Deletes the setting and executes the function to assign the degree of influence assigned to the deleted bone to the remaining bones set for the vertex. .

本発明に係る画像作成支援プログラムは、三次元オブジェクトの外形情報と、複数のボーンから形成され、前記三次元オブジェクトの動作を制御するための骨格情報を取得し、前記三次元オブジェクトの外形を形成する各々の頂点の動きに影響を及ぼすボーンとその影響度を、各々の頂点に対して設定することにより、三次元オブジェクトを作成する画像作成プログラムを補助する画像作成支援プログラムであって、コンピュータに、一の頂点に対して設定されたボーンが、所定数を超えて存在する場合には、当該頂点に対して設定されたボーンのうち割り当てられている影響度が小さいものから順に、設定されたボーンの数が前記所定数になるまで当該頂点に対するボーンの設定を削除し、削除したボーンに割り当てられていた影響度を当該頂点に設定されている残りのボーンに対して割り当てる機能を実行させるものである。   An image creation support program according to the present invention is formed from outline information of a three-dimensional object and a plurality of bones, acquires skeleton information for controlling the operation of the three-dimensional object, and forms the outline of the three-dimensional object An image creation support program for assisting an image creation program for creating a three-dimensional object by setting a bone that affects the movement of each vertex and its degree of influence for each vertex. When there are more than a certain number of bones set for one vertex, the bones set for that vertex are set in order from the one with the smallest influence. Delete the bone setting for the vertex until the number of bones reaches the specified number, and apply the degree of influence assigned to the deleted bone. It is intended to execute the function to be assigned to the rest of the bone that is set to the vertices.

また本発明のプログラムは、記憶媒体に格納されて流通されるものである。このような記憶媒体としては、コンピュータに読み取り可能な媒体であり、各種ROM、フラッシュメモリを備えたUSBメモリ、SDメモリ、メモリスティック、メモリカードや、FD、CD−ROM、DVD−ROM等の物理的な記憶媒体を含む。また広義の記録媒体として、プログラムを伝送可能なインターネット等の伝送媒体をも含むものとする。伝送媒体を通して伝送(ダウンロード)されたプログラムは、そのままメモリに記憶されて、コンピュータに実行されるものだからである。   The program of the present invention is stored in a storage medium and distributed. Such a storage medium is a computer-readable medium such as various ROMs, USB memories equipped with flash memories, SD memories, memory sticks, memory cards, FDs, CD-ROMs, DVD-ROMs, etc. A typical storage medium. In addition, the broad recording medium includes a transmission medium such as the Internet capable of transmitting the program. This is because the program transmitted (downloaded) through the transmission medium is stored in the memory as it is and executed by the computer.

本発明によれば、簡易な方法で、1つの頂点に対して設定されるボーン数が所定数を超えないようにすることができる。   According to the present invention, it is possible to prevent the number of bones set for one vertex from exceeding a predetermined number by a simple method.

以下、本発明の実施の形態について図面を参照して説明する。
実施の形態1.
図1は、実施の形態1による画像作成装置10の機能的な構成を示すブロック図である。
図に示すように、画像作成装置10は、オブジェクト外形データ記憶部(第1の記憶部)101、骨格情報記憶部(第2の記憶部)102、影響度情報生成部103、影響度情報調整部104、スキンモデルデータ記憶部105、入出力インタフェース部106、入力装置11、表示装置12を備えている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a functional configuration of an image creating apparatus 10 according to the first embodiment.
As shown in the figure, the image creating apparatus 10 includes an object outline data storage unit (first storage unit) 101, a skeleton information storage unit (second storage unit) 102, an influence information generation unit 103, and influence information adjustment. Unit 104, skin model data storage unit 105, input / output interface unit 106, input device 11, and display device 12.

画像作成装置10は、例えば汎用的な計算機に所定のプログラムを実行させたものである。影響度情報生成部103、影響度情報調整部104、および入出力インタフェース部106は、プログラムに従って動作するコンピュータのプロセッサが対応している。   The image creating apparatus 10 is obtained, for example, by causing a general purpose computer to execute a predetermined program. The influence information generation unit 103, the influence information adjustment unit 104, and the input / output interface unit 106 are supported by a processor of a computer that operates according to a program.

オブジェクト外形データ記憶部101、骨格情報記憶部102およびスキンモデルデータ記憶部105は、画像作成装置10のハードディスク等の記憶装置である。
入力装置11は、例えばキーボード、マウス、タッチパネル等の入力手段であり、ユーザが画像作成装置10に処理の指示を与えたり、図形データやパラメータを指定するために用いられる。
表示装置12は、液晶表示装置等であり、図形データ等が出力される。
The object outline data storage unit 101, the skeleton information storage unit 102, and the skin model data storage unit 105 are storage devices such as a hard disk of the image creation device 10.
The input device 11 is input means such as a keyboard, a mouse, and a touch panel, for example, and is used by the user to give processing instructions to the image creation device 10 and to specify graphic data and parameters.
The display device 12 is a liquid crystal display device or the like, and outputs graphic data and the like.

(オブジェクト外形データ記憶部101)
オブジェクト外形データ記憶部101は、立体画像生成のためのオブジェクトの形状データを記憶するものである。オブジェクトの形状データは、仮想三次元空間に表示する各オブジェクトの形状及び配置を定義する数値情報を含んでいる。データの内容はモデリング方法に応じて決まる。例えばサーフェスモデルを用いる場合には、オブジェクトごとに予め設定された基準座標を原点とした場合の、オブジェクトを構成する各々のポリゴンの頂点座標の集合体となる。従って、各ポリゴンを基準座標からの相対位置に配置していけばオブジェクトの外形が規定される。オブジェクトの形状データによって、各オブジェクトのローカル座標系におけるポリゴンの相対位置(形状、向き、大きさ)が三次元的に定義される。
(Object outline data storage unit 101)
The object outline data storage unit 101 stores object shape data for generating a stereoscopic image. The object shape data includes numerical information that defines the shape and arrangement of each object displayed in the virtual three-dimensional space. The content of the data depends on the modeling method. For example, when a surface model is used, it becomes an aggregate of vertex coordinates of each polygon constituting the object when the origin is set to reference coordinates preset for each object. Therefore, if each polygon is arranged at a relative position from the reference coordinates, the outer shape of the object is defined. The relative position (shape, orientation, size) of the polygon in the local coordinate system of each object is three-dimensionally defined by the object shape data.

(骨格情報記憶部102)
骨格情報記憶部102は、オブジェクトの動作を制御するための骨格情報を記憶する。骨格は、複数のボーンから形成され、各々のボーン同士は親子関係を有する。骨格は表示装置12には画像として表示されず、実際に表示されるオブジェクトの動作を制御するために用いられる。
(Skeleton information storage unit 102)
The skeleton information storage unit 102 stores skeleton information for controlling the movement of the object. The skeleton is formed of a plurality of bones, and each bone has a parent-child relationship. The skeleton is not displayed as an image on the display device 12, but is used to control the operation of the object actually displayed.

図2は、オブジェクトと骨格との関係を示す図である。
図2の例では、腕オブジェクト501と骨格502の関係を模式的に示している。腕オブジェクト501は、ポリゴン頂点V101〜V116を備えている。骨格502は、ボーンB01〜B04を備えている。腕オブジェクト501の内部には、ボーンB01〜B04が埋め込まれている。ポリゴン頂点V101〜V116がボーンB01〜B04の動きに影響を受けてその位置を変えることにより、腕の屈伸動作が表現される。
FIG. 2 is a diagram illustrating a relationship between an object and a skeleton.
In the example of FIG. 2, the relationship between the arm object 501 and the skeleton 502 is schematically shown. The arm object 501 includes polygon vertices V101 to V116. The skeleton 502 includes bones B01 to B04. Inside the arm object 501, bones B01 to B04 are embedded. The polygon vertices V101 to V116 are affected by the movement of the bones B01 to B04 and change their positions to express the bending and stretching movements of the arms.

ボーンB01〜B04は相関関係を有しており、ボーンB01の下にボーンB02、その下にボーンB03、その下にボーンB04という階層構造を有している。下の階層にあるボーンの位置情報は、上の階層のボーンに対する相対的な位置情報として表され、回転(ローテーション)、平行移動(トランスレーション)、縮尺(スケール)を含むマトリクスが利用される。   The bones B01 to B04 have a correlation, and have a hierarchical structure of a bone B02 below the bone B01, a bone B03 below it, and a bone B04 below it. The position information of the bones in the lower layer is expressed as position information relative to the bones in the upper layer, and a matrix including rotation (rotation), translation (translation), and scale (scale) is used.

(影響度情報生成部103)
影響度情報生成部103は、オブジェクトの外形を形成する各々のポリゴンの頂点の動きに影響を及ぼすボーンとその影響度を、各々の頂点に対して設定する。各頂点に影響を与えるボーンを設定する場合、その頂点に距離的に近いボーンが自動的に設定される。したがって、オブジェクトの外形とボーンの設定によって、一つの頂点に対し、一つのボーンのみが影響を及ぼす場合も、2つまたはそれ以上のボーンがともに影響を及ぼす場合もありうる。
この影響度情報は、デザイナによりポリゴンの頂点位置が設定されたことを契機に自動的に影響度情報生成部103が生成を開始するように構成してもよいし、デザイナが操作手段から影響度情報生成を指示したことを契機に位置設定されたポリゴンの頂点に対して生成を開始するようにしてもよい。
(Influence level information generation unit 103)
The influence information generation unit 103 sets bones that affect the movement of the vertices of the polygons that form the outline of the object and the influence degrees for the vertices. When setting a bone that affects each vertex, a bone that is close to the vertex is automatically set. Therefore, depending on the object outline and bone settings, only one bone may affect one vertex, or two or more bones may both affect.
The influence degree information may be configured so that the influence degree information generation unit 103 automatically starts generation when the vertex position of the polygon is set by the designer. Generation may be started for a vertex of a polygon whose position is set in response to an instruction to generate information.

図3は、図2に示すポリゴン頂点V101〜V116がボーンB01〜B04の動きに影響を受ける度合いであるウェイト値(影響度)を示した図である。図に示すように、上腕部分に位置するV101〜V105、V107〜V111は、上腕部に位置するボーンB01〜B03から影響を受け、下腕部に位置するV113〜V116は、下腕部に位置するボーンB04から影響を受けている。また、関節部分に位置するV106、V112は、ボーンB03からの影響とボーンB04からの影響がそれぞれ50%の割合に設定されている。   FIG. 3 is a diagram showing weight values (degrees of influence) that are degrees to which the polygon vertices V101 to V116 shown in FIG. 2 are affected by the motion of the bones B01 to B04. As shown in the figure, V101 to V105 and V107 to V111 located in the upper arm part are affected by bones B01 to B03 located in the upper arm part, and V113 to V116 located in the lower arm part are located in the lower arm part. Influenced by Bone B04. In addition, V106 and V112 located in the joint portion are set at a ratio of 50% for the influence from the bone B03 and the influence from the bone B04, respectively.

頂点V101やV107は、ボーンB01からのみ影響を受けるため、頂点V101、V107は、ボーンB01と同じ動きをする。具体的には、ボーンB01が平行移動した場合は頂点V101、V107も同じ量だけ平行移動し、ボーンB01が回転した場合は頂点V101、V107も同じ量だけ回転し、ボーンB01が拡縮した場合は頂点V101、V107の座標も同じだけ拡縮する。また、頂点V106、V112はボーンB03とボーンB04からの影響がそれぞれ50%なので、頂点V106、V112はボーンB03の動きとボーンB04の動きをそれぞれ50%ずつ混合した動きをする。具体的には、ボーンB03とボーンB04がともに平行移動した場合、頂点V106、V112はボーンB03の平行移動量の半分とボーンB04の平行移動量の半分とを加算した量だけ移動する。
なお、ウェイト値は、入力装置11を用いてデザイナが設定することも可能である。
Since the vertices V101 and V107 are affected only by the bone B01, the vertices V101 and V107 move in the same manner as the bone B01. Specifically, when the bone B01 is translated, the vertices V101 and V107 are also translated by the same amount. When the bone B01 is rotated, the vertices V101 and V107 are also rotated by the same amount, and the bone B01 is enlarged or reduced. The coordinates of the vertices V101 and V107 are also enlarged or reduced by the same amount. In addition, since the vertices V106 and V112 have 50% influence from the bone B03 and the bone B04, respectively, the vertices V106 and V112 move by mixing 50% each of the motion of the bone B03 and the motion of the bone B04. Specifically, when both the bone B03 and the bone B04 are translated, the vertices V106 and V112 move by an amount obtained by adding half of the translation amount of the bone B03 and half of the translation amount of the bone B04.
The weight value can also be set by the designer using the input device 11.

(影響度情報調整部104)
影響度情報調整部104は、1つの頂点に対して設定されたボーンが、所定数を超えて存在する場合には、その頂点に対して設定されたボーンのうち割り当てられているウェイト値が小さいものから順に、その頂点に対するボーンの設定を削除し、削除したボーンに割り当てられていたウェイト値をその頂点に設定されている残りのボーンに対して割り当てる。
この影響度情報調整は、影響度情報生成部103により各頂点に対するボーンの影響度が生成された後に自動的に実施されるようにしてもよいし、デザイナが操作手段から影響度情報調整を指示したことを契機に実施されるようにしてもよい。
(Influence degree information adjustment unit 104)
When there are more than a predetermined number of bones set for one vertex, the influence information adjustment unit 104 has a smaller weight value assigned among the bones set for that vertex. In order from the first, the bone setting for the vertex is deleted, and the weight value assigned to the deleted bone is assigned to the remaining bones set for the vertex.
This influence degree information adjustment may be automatically performed after the influence degree information generation unit 103 generates the influence degree of the bone for each vertex, or the designer instructs the influence degree information adjustment from the operation means. You may be made to take advantage of that.

(スキンモデルデータ記憶部105)
スキンモデルデータ記憶部105には、生成されたスキンモデルデータが記憶される。
図4は、本発明による、キャラクタなどのスキンモデルを作成する処理のフローチャートである。
まず始めに、デザイナ(ユーザ)は入力装置11を介して、スキンモデルを作成したいオブジェクトの形状情報を入力する(ステップS401)。具体的にはオブジェクトを構成する各々のポリゴンの頂点座標を指定する。入力されたオブジェクトの形状情報はオブジェクト外形データ記憶部101に格納される。なお、オブジェクトの形状情報を入力する代わりに、オブジェクト外形データ記憶部101に格納されているデータを指定するようにしてもよい。
(Skin model data storage unit 105)
The skin model data storage unit 105 stores the generated skin model data.
FIG. 4 is a flowchart of a process for creating a skin model such as a character according to the present invention.
First, a designer (user) inputs shape information of an object for which a skin model is to be created via the input device 11 (step S401). Specifically, vertex coordinates of each polygon constituting the object are designated. The input object shape information is stored in the object outline data storage unit 101. Instead of inputting the object shape information, data stored in the object outline data storage unit 101 may be designated.

次に、デザイナ(ユーザ)は入力装置11を介して、ステップS401で作成したオブジェクトに対し、オブジェクトの動作を制御するための骨格情報を入力する(ステップS402)。具体的には、オブジェクト内部あるいは外部に、複数のボーンを配置する。入力された骨格情報は骨格情報記憶部102に格納される。なお、骨格情報を入力する代わりに、骨格情報記憶部102に格納されている骨格情報を指定するようにしてもよい。   Next, the designer (user) inputs skeleton information for controlling the operation of the object created in step S401 via the input device 11 (step S402). Specifically, a plurality of bones are arranged inside or outside the object. The inputted skeleton information is stored in the skeleton information storage unit 102. Instead of inputting the skeleton information, the skeleton information stored in the skeleton information storage unit 102 may be designated.

次に、デザイナ(ユーザ)が入力装置11を介して、ウェイト値の設定を指示すると、影響度情報生成部103は、ステップS401で作成したオブジェクトの各ポリゴン頂点に対し、頂点の動きに影響を及ぼすボーンとそのウェイト値を設定する(ステップS403)。例えば、図2に示すオブジェクトの各頂点に対するボーンB01〜04のウェイト値設定を指示することにより、図3に示すウェイト値情報が得られる。   Next, when the designer (user) instructs the setting of the weight value via the input device 11, the influence information generation unit 103 affects the movement of the vertex with respect to each polygon vertex of the object created in step S401. An effect bone and its weight value are set (step S403). For example, the weight value information shown in FIG. 3 can be obtained by instructing the setting of the weight values of the bones B01 to 04 for each vertex of the object shown in FIG.

次に、影響度情報調整部104は、影響度情報生成部103によって設定された各頂点のウェイト値に対し、1つの頂点に対して設定されたボーンが、所定の数を超えて存在する場合には、その頂点に対して設定されたボーンのうち割り当てられているウェイト値が小さいものから順に、その頂点に対するボーンの設定を削除する(ステップS404)。   Next, the influence information adjustment unit 104 has more than a predetermined number of bones set for one vertex with respect to the weight value of each vertex set by the influence information generation unit 103. Are deleted from the bones set for the vertex in order from the smallest assigned weight value (step S404).

例えば、1つの頂点に対して設定されるボーンの数が2つ以下に制限されている場合、図3に示す例において、頂点V102〜V105、V108〜V111に対しては、ボーンが3つ以上設定されているので、ウェイト値が最も小さいボーンから順に削除していく。例えば頂点V102の場合、最もウェイト値が小さいボーンB01(ウェイト値0.2)を削除する。ボーンB01を削除することにより、V102に設定されたボーン数は2となり、制限数を満たすのでこれ以上の削除は行わない。同様に、V103〜V105についてはボーンB01が削除され、V108,V109についてはボーンB03が削除される。
V110,V111については、ボーンB01とB02のウェイト値が共に0.2であるが、このような場合には、例えば隣り合う頂点のウェイト値を参照し、ウェイト値が小さい方のボーンを削除するようにすることができる。図3の例では、V110と隣り合う頂点V109のウェイト値を参照すると、B01のウェイト値が0.3、B02のウェイト値が0.5でB02の方がウェイト値が大きいので、V110についてもB02を優先し、B01を削除する。V111については、隣り合う頂点V112に対してはB01,B02が設定されていないため、最も近いV109を参照し、B02を残してB01を削除する。
なお、ウェイト値が同値の場合の処理方法は上記のものに限られず、例えば予め各ボーンに優先順位を設定しておき、ウェイト値が同値の場合には、優先順位の低い方のボーンを削除するようにしてもよい。
For example, when the number of bones set for one vertex is limited to two or less, in the example shown in FIG. 3, there are three or more bones for the vertices V102 to V105 and V108 to V111. Since it is set, the bones with the smallest weight value are deleted in order. For example, in the case of the vertex V102, the bone B01 (weight value 0.2) having the smallest weight value is deleted. By deleting the bone B01, the number of bones set in the V102 becomes 2, which satisfies the limit number, and no further deletion is performed. Similarly, the bone B01 is deleted for V103 to V105, and the bone B03 is deleted for V108 and V109.
For V110 and V111, the weight values of the bones B01 and B02 are both 0.2. In such a case, for example, the weight value of the adjacent vertex is referred to and the bone having the smaller weight value is deleted. Can be. In the example of FIG. 3, when referring to the weight value of the vertex V109 adjacent to V110, the weight value of B01 is 0.3, the weight value of B02 is 0.5, and the weight value of B02 is larger. B02 is given priority and B01 is deleted. As for V111, since B01 and B02 are not set for the adjacent vertex V112, the nearest V109 is referred to and B01 is deleted while leaving B02.
Note that the processing method when the weight values are the same is not limited to the above, and for example, priorities are set in advance for each bone, and if the weight values are the same, the bone with the lower priority is deleted. You may make it do.

次に、影響度情報調整部105は、削除したボーンに割り当てられていたウェイト値をその頂点に設定されている残りのボーンに対して割り当てる(ステップS405)。この時、影響度情報調整部105は、削除したボーンに割り当てられていたウェイト値を、残りのボーンに対し、それぞれのボーンに割り当てられているウェイト値に従って割り当てる。   Next, the influence degree information adjustment unit 105 assigns the weight value assigned to the deleted bone to the remaining bones set at the vertex (step S405). At this time, the influence information adjustment unit 105 assigns the weight values assigned to the deleted bones to the remaining bones according to the weight values assigned to the respective bones.

例えば、図3に示す例において、V102に対して設定されていたボーンB01のウェイト値0.2は、残りのボーンB02、B03に割り当てられる。ボーンB02とボーンB03のウェイト値はそれぞれ0.4と0.4で等しいので、削除したウェイト値0.2を1:1で配分する。すなわち、ボーンB02に対しては、0.2×1/2=0.1が割り当てられ、ボーンB03に対しては、0.2×1/2=0.1が割り当てられる。この結果、調整後のV102に対するボーンB02のウェイト値は0.5、ボーンB03のウェイト値は0.5となる。   For example, in the example shown in FIG. 3, the weight value 0.2 of the bone B01 set for V102 is assigned to the remaining bones B02 and B03. Since the weight values of bone B02 and bone B03 are equal to 0.4 and 0.4, respectively, the deleted weight value 0.2 is distributed 1: 1. That is, 0.2 × 1/2 = 0.1 is assigned to the bone B02, and 0.2 × 1/2 = 0.1 is assigned to the bone B03. As a result, the weight value of the bone B02 for the adjusted V102 is 0.5, and the weight value of the bone B03 is 0.5.

また、V104については、削除されたボーンB01のウェイト値0.1は、残りのボーンB02、B03に割り当てられる。ボーンB02とボーンB03のウェイト値はそれぞれ0.3と0.6なので、削除したウェイト値0.1を1:2で配分する。すなわち、ボーンB02に対しては、0.1×1/3=0.033が割り当てられ、ボーンB03に対しては、0.1×2/3=0.066が割り当てられる。この結果、調整後のV104に対するボーンB02のウェイト値は0.333、ボーンB03のウェイト値は0.666となる。   For V104, the weight value 0.1 of the deleted bone B01 is assigned to the remaining bones B02 and B03. Since the weight values of bone B02 and bone B03 are 0.3 and 0.6, respectively, the deleted weight value 0.1 is distributed 1: 2. That is, 0.1 × 1/3 = 0.033 is assigned to bone B02, and 0.1 × 2/3 = 0.066 is assigned to bone B03. As a result, the weight value of the bone B02 with respect to the adjusted V104 is 0.333, and the weight value of the bone B03 is 0.666.

なお、影響度情報調整部105は、削除したボーンに割り当てられていたウェイト値を、残りのボーンに対し、等分に割り当てるようにしてもよい。例えば、上記の例では、V104,V105に対して設定されていたボーン01のウェイト値0.1がボーンB02とボーンB03に対して0.05ずつ等分に割り当てられ、調整後のV104,105に対するボーンB02のウェイト値は0.35、ボーンB03のウェイト値は0.65となる。   The influence information adjustment unit 105 may assign the weight values assigned to the deleted bones equally to the remaining bones. For example, in the above example, the weight value 0.1 of the bone 01 set for the V104 and V105 is equally allocated to the bone B02 and the bone B03 by 0.05, and the adjusted V104 and 105 are adjusted. The bone B02 has a weight value of 0.35, and the bone B03 has a weight value of 0.65.

最後に、作成されたスキンモデルとウェイト値は、スキンモデルデータ記憶部105に格納される(ステップS406)。なお、ウェイト値は、ユーザが入力装置11を利用して具体的に数値を指定することにより、さらに調整することも可能である。   Finally, the created skin model and weight value are stored in the skin model data storage unit 105 (step S406). The weight value can be further adjusted by the user specifying a specific value using the input device 11.

以上のようにして作成されたスキンモデルデータは、図5に示すような画像処理装置20によって画像表示される。
モデルデータ記憶部201には、本発明による画像作成装置10によって作成されたスキンモデルデータ、ウェイト値情報、ボーン間の階層構造情報、およびスキンモデルデータの動作(ポリゴン頂点位置の移動)を算出するためのマトリクス情報等が格納されている。
The skin model data created as described above is displayed as an image by an image processing apparatus 20 as shown in FIG.
The model data storage unit 201 calculates the skin model data created by the image creating apparatus 10 according to the present invention, weight value information, hierarchical structure information between bones, and the operation of the skin model data (movement of the polygon vertex position). Matrix information and the like are stored.

スキンモデル画像処理部202は、モデルデータ記憶部201に格納されたスキンモデルデータ、ウェイト値情報、マトリクス情報を用いて、オブジェクトを構成するポリゴンの各頂点の変位を算出する。   The skin model image processing unit 202 uses the skin model data, weight value information, and matrix information stored in the model data storage unit 201 to calculate the displacement of each vertex of the polygon constituting the object.

さらに、描画処理部203は、頂点の変位を算出されたポリゴンに対して、テクスチャデータ記憶部204に格納されたテクスチャデータを用いてレンダリングを施し、生成された画像データをフレームバッファ205に供給する。表示制御部206は、フレームバッファ205内の画像データを表示装置207に供給し、表示させる。   Further, the rendering processing unit 203 renders the polygons whose vertex displacements are calculated using the texture data stored in the texture data storage unit 204, and supplies the generated image data to the frame buffer 205. . The display control unit 206 supplies the image data in the frame buffer 205 to the display device 207 for display.

以上のように、本実施形態によれば、1つの頂点に対して設定されたボーンが、所定数を超えて存在する場合には、当該頂点に対して設定されたボーンのうち割り当てられているウェイト値が小さいものから順に、その頂点に対するボーンの設定を削除し、設定されるボーンの数を少なくするようにしたので、簡易な方法で、1つの頂点に対して設定されるボーン数が所定数を超えないようにすることができる。   As described above, according to the present embodiment, when there are more than a predetermined number of bones set for one vertex, the bones assigned to the vertex are assigned. Since the bone settings for the vertices are deleted in order from the smallest weight value, the number of bones set is reduced, so the number of bones set for one vertex is determined in a simple way. You can avoid exceeding the number.

本発明による画像作成装置によって作成されたスキンモデルデータは、各種情報端末や、家庭用ゲーム機、遊技機等の表示装置に表示する画像データとして利用することができる。遊技機は、例えば、ぱちんこ機(第一種ぱちんこ機、第二種ぱちんこ機を含む)、回動式遊技機(以下、「スロットマシン」という。)等を含む。   Skin model data created by the image creating apparatus according to the present invention can be used as image data to be displayed on various information terminals, display devices such as home game machines and game machines. The gaming machine includes, for example, a pachinko machine (including a first kind pachinko machine and a second kind pachinko machine), a rotary game machine (hereinafter referred to as “slot machine”), and the like.

実施の形態1による画像作成装置の機能的な構成を示すブロック図1 is a block diagram showing a functional configuration of an image creation apparatus according to Embodiment 1; オブジェクトと骨格との関係を示す図Diagram showing the relationship between objects and skeletons 図2に示すポリゴン頂点V101〜V116がボーンB01〜B04の動きに影響を受ける度合いであるウェイト値(影響度)を示した図The figure which showed the weight value (influence degree) which is a degree which the polygon vertex V101-V116 shown in FIG. 2 is influenced by the motion of bone B01-B04 本発明による、キャラクタなどのスキンモデルを作成する処理のフローチャートFlowchart of processing for creating a skin model such as a character according to the present invention 本発明により作成されたスキンモデルを画像表示するための画像処理装置の構成を示すブロック図The block diagram which shows the structure of the image processing apparatus for displaying the image of the skin model produced by this invention

符号の説明Explanation of symbols

10 画像作成装置、11 入力装置、12 表示装置、101 オブジェクト外形データ記憶部、102 骨格情報記憶部、103 影響度情報生成部、104 影響度情報調整部、105 スキンモデルデータ記憶部、106 入出力インタフェース部、20 画像処理装置、201 モデルデータ記憶部、202 スキンモデル画像処理部、203 描画処理部、204 テクスチャデータ記憶部、205 フレームバッファ205、206 表示制御部、207 表示装置   DESCRIPTION OF SYMBOLS 10 Image creation apparatus, 11 Input apparatus, 12 Display apparatus, 101 Object external shape data storage part, 102 Skeletal information storage part, 103 Influence degree information generation part, 104 Influence degree information adjustment part, 105 Skin model data storage part, 106 Input-output Interface unit, 20 image processing device, 201 model data storage unit, 202 skin model image processing unit, 203 drawing processing unit, 204 texture data storage unit, 205 frame buffer 205, 206 display control unit, 207 display device

Claims (5)

三次元オブジェクトの外形情報を記憶する第1の記憶部と、
複数のボーンから形成され、前記三次元オブジェクトの動作を制御するための骨格情報を記憶する第2の記憶部と、
前記三次元オブジェクトの外形を形成する各々の頂点の動きに影響を及ぼすボーンとその影響度を、各々の頂点に対して設定する影響度情報生成部と、
一の頂点に対して設定されたボーンが、所定数を超えて存在する場合には、当該頂点に対して設定されたボーンのうち割り当てられている影響度が小さいものから順に、設定されたボーンの数が前記所定数になるまで当該頂点に対するボーンの設定を削除し、削除したボーンに割り当てられていた影響度を当該頂点に設定されている残りのボーンに対して割り当てる影響度情報調整部を備えた画像作成装置。
A first storage unit for storing external shape information of the three-dimensional object;
A second storage unit that is formed of a plurality of bones and stores skeleton information for controlling the operation of the three-dimensional object;
An influence information generating unit that sets bones that affect the movement of each vertex forming the outline of the three-dimensional object and the degree of influence thereof for each vertex;
If there are more than a certain number of bones set for one vertex, the bones set in order from the bone set for that vertex in ascending order of influence. The influence information adjustment unit that assigns the degree of influence assigned to the deleted bone to the remaining bones set to the vertex is deleted until the number of is equal to the predetermined number. An image creation apparatus provided.
前記影響度情報調整部は、前記削除したボーンに割り当てられていた影響度を、前記残りのボーンに対し、残りのボーンの各々に設定されている影響度に従って割り当てることを特徴とする請求項1に記載の画像作成装置。   2. The influence degree information adjustment unit assigns the influence degree assigned to the deleted bone to the remaining bones according to the influence degree set for each of the remaining bones. The image creating apparatus described in 1. 前記影響度情報調整部は、前記削除したボーンに割り当てられていた影響度を、前記残りのボーンに対し、等分に割り当てることを特徴とする請求項1に記載の画像作成装置。   The image creation apparatus according to claim 1, wherein the influence degree information adjustment unit assigns the degree of influence assigned to the deleted bone equally to the remaining bones. コンピュータに、
記憶部から、三次元オブジェクトの外形情報と、複数のボーンから形成され、前記三次元オブジェクトの動作を制御するための骨格情報を取得する機能と、
前記三次元オブジェクトの外形を形成する各々の頂点の動きに影響を及ぼすボーンとその影響度を、各々の頂点に対して設定する機能と、
一の頂点に対して設定されたボーンが、所定数を超えて存在する場合には、当該頂点に対して設定されたボーンのうち割り当てられている影響度が小さいものから順に、設定されたボーンの数が前記所定数になるまで当該頂点に対するボーンの設定を削除し、削除したボーンに割り当てられていた影響度を当該頂点に設定されている残りのボーンに対して割り当てる機能を実行させる画像作成プログラム。
On the computer,
From the storage unit, the outer shape information of the three-dimensional object, a function of acquiring skeleton information formed from a plurality of bones for controlling the operation of the three-dimensional object,
A function of setting the bones that affect the movement of each vertex forming the outline of the three-dimensional object and the degree of influence thereof for each vertex;
If there are more than a certain number of bones set for one vertex, the bones set in order from the bone set for that vertex in ascending order of influence. Create a picture that executes the function to delete the bone setting for the vertex until the number reaches the predetermined number and assign the degree of influence assigned to the deleted bone to the remaining bones set for the vertex program.
三次元オブジェクトの外形情報と、複数のボーンから形成され、前記三次元オブジェクトの動作を制御するための骨格情報を取得し、前記三次元オブジェクトの外形を形成する各々の頂点の動きに影響を及ぼすボーンとその影響度を、各々の頂点に対して設定することにより、三次元オブジェクトを作成する画像作成プログラムを補助する画像作成支援プログラムであって、
コンピュータに、
一の頂点に対して設定されたボーンが、所定数を超えて存在する場合には、当該頂点に対して設定されたボーンのうち割り当てられている影響度が小さいものから順に、設定されたボーンの数が前記所定数になるまで当該頂点に対するボーンの設定を削除し、削除したボーンに割り当てられていた影響度を当該頂点に設定されている残りのボーンに対して割り当てる機能を実行させる画像作成支援プログラム。
Obtains the outline information of the 3D object and the skeleton information that is formed from a plurality of bones and controls the movement of the 3D object, and affects the movement of each vertex forming the outline of the 3D object. An image creation support program for assisting an image creation program for creating a three-dimensional object by setting a bone and its influence on each vertex,
On the computer,
If there are more than a certain number of bones set for one vertex, the bones set in order from the bone set for that vertex in ascending order of influence. Create a picture that executes the function to delete the bone setting for the vertex until the number reaches the predetermined number and assign the degree of influence assigned to the deleted bone to the remaining bones set for the vertex Support program.
JP2008010407A 2008-01-21 2008-01-21 Image creation apparatus, image creation program, and image creation support program Expired - Fee Related JP5004183B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008010407A JP5004183B2 (en) 2008-01-21 2008-01-21 Image creation apparatus, image creation program, and image creation support program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008010407A JP5004183B2 (en) 2008-01-21 2008-01-21 Image creation apparatus, image creation program, and image creation support program

Publications (2)

Publication Number Publication Date
JP2009169910A JP2009169910A (en) 2009-07-30
JP5004183B2 true JP5004183B2 (en) 2012-08-22

Family

ID=40970961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008010407A Expired - Fee Related JP5004183B2 (en) 2008-01-21 2008-01-21 Image creation apparatus, image creation program, and image creation support program

Country Status (1)

Country Link
JP (1) JP5004183B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111260764B (en) * 2020-02-04 2021-06-25 腾讯科技(深圳)有限公司 Method, device and storage medium for making animation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4053078B2 (en) * 1996-07-03 2008-02-27 株式会社バンダイナムコゲームス 3D game device and information storage medium
JP4206547B2 (en) * 1999-02-23 2009-01-14 株式会社セガ Image processing method, image processing apparatus, integrated shaping model data used therefor, and recording medium on which image processing program is recorded
JP4692175B2 (en) * 2005-09-14 2011-06-01 パナソニック電工株式会社 Digital human system

Also Published As

Publication number Publication date
JP2009169910A (en) 2009-07-30

Similar Documents

Publication Publication Date Title
US9050538B2 (en) Collision detection and motion simulation in game virtual space
JP2009042811A (en) Three-dimensional shape development apparatus, three-dimensional shape development method, and program for three-dimensional shape development
JP3926307B2 (en) Three-dimensional image drawing apparatus and method, program, and recording medium
WO2014086925A1 (en) Method for forming an optimized polygon based shell mesh
JP2020080007A (en) Information processor, information processing program, information processing system, and information processing method
US9734616B1 (en) Tetrahedral volumes from segmented bounding boxes of a subdivision
JP6714357B2 (en) Video processing device, video processing method, and video processing program
JP7604521B2 (en) Image processing device and image processing method
JP7353418B1 (en) Program, method, image generation device, and game system for generating images
JP5004183B2 (en) Image creation apparatus, image creation program, and image creation support program
JP4936522B2 (en) Image processing method and image processing apparatus
JP2003022452A (en) Image processor and solid-shape display program
JP5920858B1 (en) Program, information processing apparatus, depth definition method, and recording medium
JP4993304B2 (en) Image creation apparatus, image creation program, and image creation support program
JP3756888B2 (en) Graphics processor, graphics card and graphics processing system
Cheung et al. Incremental rendering of deformable trimmed NURBS surfaces
JPH11296696A (en) Three-dimensional image processor
US8890889B1 (en) System and method for generating a pose of an object
JP7649184B2 (en) Information processing device, information processing method, and program
JP7851339B2 (en) Image processing program, image processing system, image processing method, and image processing apparatus.
US8395627B2 (en) Spline technique for 2D electronic game
JP7475625B2 (en) Method and program for receiving and displaying input in three-dimensional space, and device for receiving and displaying input in three-dimensional space
JP3867071B2 (en) Image processing apparatus and image processing method
CN116051791A (en) Method, device, device and storage medium for managing a model of a physical environment
JP6660159B2 (en) Information processing apparatus, control method for information processing apparatus, and program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100528

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101105

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120417

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120516

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150601

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees