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
JP4993304B2 - Image creation apparatus, image creation program, and image creation support program - Google Patents
[go: Go Back, main page]

JP4993304B2 - 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
JP4993304B2
JP4993304B2 JP2008010401A JP2008010401A JP4993304B2 JP 4993304 B2 JP4993304 B2 JP 4993304B2 JP 2008010401 A JP2008010401 A JP 2008010401A JP 2008010401 A JP2008010401 A JP 2008010401A JP 4993304 B2 JP4993304 B2 JP 4993304B2
Authority
JP
Japan
Prior art keywords
bone
vertex
influence
bones
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
JP2008010401A
Other languages
Japanese (ja)
Other versions
JP2009169908A (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 JP2008010401A priority Critical patent/JP4993304B2/en
Publication of JP2009169908A publication Critical patent/JP2009169908A/en
Application granted granted Critical
Publication of JP4993304B2 publication Critical patent/JP4993304B2/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

コンピュータグラフィック作成ソフトでは、オブジェクトの外形を構成する各ポリゴンの頂点に対し、自動的に関連するボーンと影響度(ウェイト)を設定する。しかし、各頂点に影響を与えるボーンを設定する場合、その頂点に距離的に近いボーンが自動的に設定されるため、周囲に多くのボーンが配置されている場合には、実際には影響を考慮する必要がないようなボーンも設定されてしまうことがある。ボーンの数が多いと、オブジェクトの動作を制御する際の演算量が増大し、処理が遅くなるという問題がある。   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. 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.

そこで本発明は、簡易な方法で、スキンモデルの動作制御処理の高速化を実現することを目的とする。   Therefore, an object of the present invention is to realize a high-speed operation control process of a skin model 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 is a bone whose influence level is less than or equal to a predetermined value, the setting of the bone for the vertex is deleted, and the degree of influence assigned to the deleted bone is set for the vertex. And an influence information adjusting unit to be assigned to the remaining bones.

本発明によれば、影響度が所定値以下の場合には、対応するボーンを削除し、設定されるボーンの数を少なくするようにしたので、簡易な方法で、スキンモデルの動作制御処理を高速化することが可能である。   According to the present invention, when the degree of influence is less than or equal to the predetermined value, the corresponding bone is deleted and the number of bones to be set is reduced. It is possible to increase the speed.

また、前記影響度情報調整部は、前記削除したボーンに割り当てられていた影響度を、前記残りのボーンに対し、残りのボーンの各々に設定されている影響度に従って割り当てることが望ましい。
これにより、ボーンを減らしたことによるオブジェクトの動作に与える影響を小さくすることができる。
前記影響度情報調整部は、前記削除したボーンに割り当てられていた影響度を、前記残りのボーンに対し、等分に割り当てるようにしてもよい。
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 a function for setting the influence level for each vertex, and the influence level set for one vertex are predetermined. If there is a bone that is less than or equal to the value, delete the setting of the bone for the vertex and assign the influence assigned to the deleted bone to the remaining bones set for the vertex. To be executed.

本発明に係る画像作成支援プログラムは、三次元オブジェクトの外形情報と、複数のボーンから形成され、前記三次元オブジェクトの動作を制御するための骨格情報を取得し、前記三次元オブジェクトの外形を形成する各々の頂点の動きに影響を及ぼすボーンとその影響度を、各々の頂点に対して設定することにより、三次元オブジェクトを作成する画像作成プログラムを補助する画像作成支援プログラムであって、コンピュータに、一の頂点に対して設定された前記影響度が所定値以下となるボーンが存在する場合には、当該頂点に対する当該ボーンの設定を削除し、削除したボーンに割り当てられていた影響度を当該頂点に設定されている残りのボーンに対して割り当てる機能を実行させるものである。   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 is a bone whose influence level set for one vertex is less than or equal to a predetermined value, the setting of the bone for that vertex is deleted, and the degree of influence assigned to the deleted bone is The function to assign to the remaining bones set at the vertices is executed.

また本発明のプログラムは、記憶媒体に格納されて流通されるものである。このような記憶媒体としては、コンピュータに読み取り可能な媒体であり、各種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.

本発明によれば、簡易な方法で、スキンモデルの動作制御処理を高速化することが可能である。   According to the present invention, it is possible to speed up the operation control process of the skin model 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 is a bone whose weight value set for one vertex is a predetermined value or less, the influence information adjustment unit 104 deletes the setting of the bone for the vertex and is assigned to the deleted bone. The assigned weight value is assigned to the remaining bone 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 weight value setting from the bones B01 to 04 for each vertex of the object shown in FIG.

次に、影響度情報調整部104は、影響度情報生成部103によって設定された各頂点のウェイト値に対し、ウェイト値が閾値以下の場合には、対応するボーンを削除する(ステップS404)。
例えば、ウェイト値が0.1以下の場合に対応するボーンを削除する場合、図3に示す例において、頂点V104とV105に対するボーンB01のウェイト値は0.1なので、V104,105に設定されたボーンB01は削除される。
Next, when the weight value is equal to or smaller than the threshold value with respect to the weight value of each vertex set by the influence degree information generation unit 103, the influence degree information adjustment unit 104 deletes the corresponding bone (step S404).
For example, when the corresponding bone is deleted when the weight value is 0.1 or less, the weight value of the bone B01 for the vertices V104 and V105 is 0.1 in the example shown in FIG. Bone B01 is deleted.

次に、影響度情報調整部105は、削除したボーンに割り当てられていたウェイト値を残りのボーンに対して割り当てる(ステップS405)。この時、影響度情報調整部105は、削除したボーンに割り当てられていたウェイト値を、残りのボーンのウェイト値の比率に従って割り当てる。
例えば、図3に示す例において、V104,V105に対して設定されていたボーン01のウェイト値0.1は、残りのボーンB02、B03に割り当てられる。ボーンB02とボーンB03のウェイト値はそれぞれ0.3、0.6であり、その比率は1:2なので、削除したウェイト値0.1を1:2の比率で割り当てる。すなわち、ボーンB02に対しては、0.1×1/3=0.033が割り当てられ、ボーンB03に対しては、0.1×2/3=0.066が割り当てられる。この結果、調整後のV104,105に対するボーンB02のウェイト値は0.333、ボーンB03のウェイト値は0.666となる。
Next, the influence information adjustment unit 105 assigns the weight value assigned to the deleted bone to the remaining bones (step S405). At this time, the influence information adjustment unit 105 assigns the weight value assigned to the deleted bone according to the ratio of the weight values of the remaining bones.
For example, in the example shown in FIG. 3, the weight value 0.1 of bone 01 set for V104 and V105 is assigned to the remaining bones B02 and B03. Since the weight values of the bone B02 and the bone B03 are 0.3 and 0.6, respectively, and the ratio is 1: 2, the deleted weight value 0.1 is assigned at a ratio of 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 for the adjusted V104 and 105 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.

以上のように、本実施形態によれば、ウェイト値が所定値以下の場合には、対応するボーンを削除し、設定されるボーンの数を少なくするようにしたので、簡易な方法で、スキンモデルの動作制御処理を高速化することが可能である。   As described above, according to the present embodiment, when the weight value is equal to or smaller than the predetermined value, the corresponding bone is deleted and the number of bones to be set is reduced. It is possible to speed up the model motion control process.

本発明による画像作成装置によって作成されたスキンモデルデータは、各種情報端末や、家庭用ゲーム機、遊技機等の表示装置に表示する画像データとして利用することができる。遊技機は、例えば、ぱちんこ機(第一種ぱちんこ機、第二種ぱちんこ機を含む)、回動式遊技機(以下、「スロットマシン」という。)等を含む。   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 is a bone whose influence level set for one vertex is less than or equal to the specified value, delete the setting of that bone for that vertex and change the degree of influence assigned to the deleted bone to that vertex. An image creating apparatus including an influence degree information adjustment unit to be assigned to the remaining bones set in the.
前記影響度情報調整部は、前記削除したボーンに割り当てられていた影響度を、前記残りのボーンに対し、残りのボーンの各々に設定されている影響度に従って割り当てることを特徴とする請求項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 is a bone whose influence level set for one vertex is less than or equal to the specified value, delete the setting of that bone for that vertex and change the degree of influence assigned to the deleted bone to that vertex. An image creation program that executes the function to assign to the remaining bones that are set to.
三次元オブジェクトの外形情報と、複数のボーンから形成され、前記三次元オブジェクトの動作を制御するための骨格情報を取得し、前記三次元オブジェクトの外形を形成する各々の頂点の動きに影響を及ぼすボーンとその影響度を、各々の頂点に対して設定することにより、三次元オブジェクトを作成する画像作成プログラムを補助する画像作成支援プログラムであって、
コンピュータに、
一の頂点に対して設定された前記影響度が所定値以下となるボーンが存在する場合には、当該頂点に対する当該ボーンの設定を削除し、削除したボーンに割り当てられていた影響度を当該頂点に設定されている残りのボーンに対して割り当てる機能を実行させる画像作成支援プログラム。
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 is a bone whose influence level set for one vertex is less than or equal to the specified value, delete the setting of that bone for that vertex and change the degree of influence assigned to the deleted bone to that vertex. An image creation support program that executes the function to assign to the remaining bones that are set to.
JP2008010401A 2008-01-21 2008-01-21 Image creation apparatus, image creation program, and image creation support program Expired - Fee Related JP4993304B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008010401A JP4993304B2 (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
JP2008010401A JP4993304B2 (en) 2008-01-21 2008-01-21 Image creation apparatus, image creation program, and image creation support program

Publications (2)

Publication Number Publication Date
JP2009169908A JP2009169908A (en) 2009-07-30
JP4993304B2 true JP4993304B2 (en) 2012-08-08

Family

ID=40970960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008010401A Expired - Fee Related JP4993304B2 (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) JP4993304B2 (en)

Family Cites Families (2)

* 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

Also Published As

Publication number Publication date
JP2009169908A (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
KR20150093689A (en) Method for forming an optimized polygon based shell mesh
US9734616B1 (en) Tetrahedral volumes from segmented bounding boxes of a subdivision
JP6616072B2 (en) Input processing apparatus and program
JP6714357B2 (en) Video processing device, video processing method, and video processing program
JP6928060B2 (en) Input processing device and program
JP7353418B1 (en) Program, method, image generation device, and game system for generating images
JP4936522B2 (en) Image processing method and image processing apparatus
JP5004183B2 (en) Image creation apparatus, image creation program, and image creation support program
JP4993304B2 (en) Image creation apparatus, image creation program, and image creation support program
JP5920858B1 (en) Program, information processing apparatus, depth definition method, and recording medium
JP3756888B2 (en) Graphics processor, graphics card and graphics processing system
JP3002972B2 (en) 3D image processing device
JP2016126513A (en) Input processing apparatus and program
KR101626858B1 (en) Secondary motion making method by additional creation of bone
US8890889B1 (en) System and method for generating a pose of an object
JP2018128851A (en) Program, object layout system and object layout method
JP4662260B2 (en) Program, information storage medium, and image generation system
JP7851339B2 (en) Image processing program, image processing system, image processing method, and image processing apparatus.
JP7649184B2 (en) Information processing device, information processing method, and program
US8395627B2 (en) Spline technique for 2D electronic game
Prior " On-the-fly" voxelization for 6 degrees-of-freedom haptic virtual sculpting
JP7429496B2 (en) Image processing device and image processing method

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: 20101102

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: 20120426

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

Free format text: PAYMENT UNTIL: 20150518

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees