JP6473214B1 - Program, recording medium, and drawing method - Google Patents

Program, recording medium, and drawing method Download PDF

Info

Publication number
JP6473214B1
JP6473214B1 JP2017226365A JP2017226365A JP6473214B1 JP 6473214 B1 JP6473214 B1 JP 6473214B1 JP 2017226365 A JP2017226365 A JP 2017226365A JP 2017226365 A JP2017226365 A JP 2017226365A JP 6473214 B1 JP6473214 B1 JP 6473214B1
Authority
JP
Japan
Prior art keywords
dimensional
information
type
drawing object
viewpoint
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.)
Active
Application number
JP2017226365A
Other languages
Japanese (ja)
Other versions
JP2019096165A (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.)
Live2D Inc
Original Assignee
Live2D Inc
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 Live2D Inc filed Critical Live2D Inc
Priority to JP2017226365A priority Critical patent/JP6473214B1/en
Priority to PCT/JP2018/033853 priority patent/WO2019102692A1/en
Application granted granted Critical
Publication of JP6473214B1 publication Critical patent/JP6473214B1/en
Publication of JP2019096165A publication Critical patent/JP2019096165A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

【課題】2次元画像群による3次元的描画表現と3次元オブジェクトを用いた描画表現を混在させた場合であっても、好適な画像提示を行う。【解決手段】各々が2次元画像で構成されたパーツ群により3次元的表現を実現する第1種別の描画オブジェクトについて、3次元空間における配置位置と視点情報に基づいて描画方向を決定し、オブジェクトを構成する各パーツの形状及び奥行き順序を描画方向に応じて変更し、変更されたオブジェクトを構成する各パーツの2次元画像を視点からオブジェクトの配置位置の奥行き方向と直交する平板オブジェクトに適用することで、第1種別の描画オブジェクトを3次元空間に配置し、配置されたオブジェクトを描画する。また、第1種別の描画オブジェクトを構成する少なくとも一部のパーツに対応付けられた、3次元空間における起伏情報に基づき、パーツの2次元画像が適用された平板オブジェクトを変形させる。【選択図】図8The present invention provides suitable image presentation even when a three-dimensional drawing expression using a two-dimensional image group and a drawing expression using a three-dimensional object are mixed. For a first type of drawing object that realizes a three-dimensional expression by a group of parts each composed of a two-dimensional image, a drawing direction is determined based on an arrangement position and viewpoint information in a three-dimensional space, and an object The shape and depth order of each part constituting the object is changed according to the drawing direction, and the two-dimensional image of each part constituting the changed object is applied from the viewpoint to the flat object orthogonal to the depth direction of the object arrangement position. Thus, the first type drawing object is arranged in the three-dimensional space, and the arranged object is drawn. Further, the flat plate object to which the two-dimensional image of the part is applied is deformed based on the relief information in the three-dimensional space associated with at least some of the parts constituting the first type drawing object. [Selection] Figure 8

Description

本発明は、プログラム、記録媒体及び描画方法に関し、特に2次元画像の外観を変化させることで、該画像の3次元的な描画表現の提示を可能ならしめる技術に関する。   The present invention relates to a program, a recording medium, and a drawing method, and more particularly to a technique that makes it possible to present a three-dimensional drawing expression of the image by changing the appearance of the two-dimensional image.

デザイナによって描かれたキャラクタ等の2次元画像を、設定されたパラメータに応じて変形することで、該2次元画像による3次元的な描画表現を可能ならしめる技術がある。特許文献1に記載の技術では、2次元画像で各パーツがデザインされたキャラクタ等について、各パーツの位置や形状、奥行き順序を変更することで、種々の方向から該キャラクタを観賞した際の状態を、3次元モデルを用いることなく提示することができる。   There is a technology that enables a three-dimensional drawing expression using a two-dimensional image by deforming a two-dimensional image of a character or the like drawn by a designer according to a set parameter. In the technique described in Patent Document 1, the state of viewing a character from various directions by changing the position, shape, and depth order of each part of a character or the like designed with a two-dimensional image. Can be presented without using a three-dimensional model.

ところで、近年では好適なプレイ体験を提供ならしめるべく、3次元コンピュータグラフィックス(3DCG)を表示画面として提示する電子ゲームや映像コンテンツが増加傾向にある。これは、モーション適用の容易性や陰影描画等の描画表現の拡張性に依るところもある。一方で、3次元モデルを描画することにより画面提示を行う場合、トゥーンレンダリング等の表現技法も開発されているが、描画する方向によっては、特にキャラクタの顔等が2次元画像にてデザイナが想定していたような好適な描画表現とならないこともある。このため、キャラクタの頭部等の一部の部位は2次元画像による3次元的な描画表現を用い、それ以外の部位や周囲の環境オブジェクト等を3次元モデルを用いて表現する手法が提案されている。   By the way, in recent years, electronic games and video contents that present three-dimensional computer graphics (3DCG) as a display screen have been increasing in order to provide a suitable play experience. This depends on the ease of applying motion and the extensibility of drawing expressions such as shadow drawing. On the other hand, when a screen is presented by drawing a three-dimensional model, an expression technique such as toon rendering has been developed. However, depending on the drawing direction, the designer may assume that the character's face is a two-dimensional image. It may not be a suitable drawing expression as it was. For this reason, a method has been proposed in which a part of a character's head or the like uses a three-dimensional drawing expression based on a two-dimensional image, and other parts and surrounding environmental objects are represented using a three-dimensional model. ing.

米国特許第8791942号明細書US Patent No. 8791942

2次元画像群を用いた3次元的な描画表現(以下、簡易的に拡張2次元オブジェクトを用いた描画表現)と3次元オブジェクトを用いた描画表現とを混在させる場合、最終的には拡張2次元オブジェクトと3次元オブジェクトとが描画オブジェクトとして同一の3次元空間に配置され、3DCGと同様に、視点情報に基づく所定の視体積中の描画オブジェクト群が描画されることによって表示画面が生成される。   When a three-dimensional drawing expression using a two-dimensional image group (hereinafter, simply a drawing expression using an extended two-dimensional object) and a drawing expression using a three-dimensional object are mixed, the extended two finally A three-dimensional object and a three-dimensional object are arranged in the same three-dimensional space as drawing objects, and a display screen is generated by drawing a drawing object group in a predetermined viewing volume based on viewpoint information, similarly to 3DCG. .

ここで、拡張2次元オブジェクトの描画は、図3に示されるように、視点301と拡張2次元オブジェクトの基準配置位置(基準点)302とを結ぶ直線に直交する平面群に、各パーツの2次元画像が配置されることで行われる。換言すれば、視点と基準点302との位置関係に応じて拡張2次元オブジェクトの描画される方向(観賞方向/描画方向)が定まり、該方向に対応付けられた各パーツの2次元画像の位置、形状及び奥行き順序に基づいて、対応する平板オブジェクト(所謂ビルボードであってよい)307が配置され、2次元画像が各々適用され、描画される。   Here, as shown in FIG. 3, the extended two-dimensional object is drawn on a plane group orthogonal to a straight line connecting the viewpoint 301 and the reference arrangement position (reference point) 302 of the extended two-dimensional object. This is done by arranging a dimensional image. In other words, the drawing direction (viewing direction / drawing direction) of the extended two-dimensional object is determined according to the positional relationship between the viewpoint and the reference point 302, and the position of the two-dimensional image of each part associated with the direction. On the basis of the shape and the depth order, a corresponding flat object (which may be a so-called billboard) 307 is arranged, and each two-dimensional image is applied and drawn.

拡張2次元オブジェクトの描画方式がこのようであるため、3次元オブジェクトと混在させる場合、視点から見た場合に該3次元オブジェクト401により遮蔽される関係にある拡張2次元オブジェクトの一部のパーツ(平板オブジェクト)402については、図4(a)に示されるように3次元オブジェクトよりも長い奥行き情報が設定され、3次元空間に配置される。   Since the extended two-dimensional object drawing method is like this, when mixing with a three-dimensional object, some parts of the extended two-dimensional object that are shielded by the three-dimensional object 401 when viewed from the viewpoint ( As for the flat object (402), depth information longer than that of the three-dimensional object is set as shown in FIG.

ところで、上述した通り、拡張2次元オブジェクトの各パーツの2次元画像を適用する平板オブジェクトは、視点と基準点とに応じて決定されるため、異なる位置に視点が設定される場合、図4(b)に示されるように、拡張2次元オブジェクトに係る該視点に対応した平板オブジェクト411と3次元オブジェクト401とが空間内で干渉し、好適な描画表現がなされない可能性があった。   By the way, as described above, since the flat object to which the two-dimensional image of each part of the extended two-dimensional object is applied is determined according to the viewpoint and the reference point, when the viewpoint is set at a different position, FIG. As shown in b), there is a possibility that a flat drawing object 411 corresponding to the viewpoint related to the extended two-dimensional object and the three-dimensional object 401 interfere with each other in the space and a suitable drawing expression is not made.

本発明は、上述の問題点に鑑みてなされたものであり、2次元画像群を用いた3次元的な描画表現と3次元オブジェクトを用いた描画表現を混在させた場合であっても、好適な画像提示を行うプログラム、記録媒体及び描画方法を提供することを目的とする。   The present invention has been made in view of the above-described problems, and is suitable even when a three-dimensional drawing expression using a two-dimensional image group and a drawing expression using a three-dimensional object are mixed. An object of the present invention is to provide a program, a recording medium, and a drawing method for performing simple image presentation.

前述の目的を達成するために、本発明のプログラムは、コンピュータに、各々が2次元画像で構成されたパーツ群によって3次元的表現を実現する第1の種別の描画オブジェクトであって、描画される方向に応じてパーツ群の形状及び奥行き順序を変更することで、該方向に係る3次元的表現を実現する第1の種別の描画オブジェクトと、3次元形状を定義した第2の種別の描画オブジェクトと、を3次元空間に配置して描画させるプログラムであって、プログラムは、第1の種別の描画オブジェクトについて、該オブジェクトの3次元空間における配置位置と描画を行う視点を示す視点情報とに基づいて、該オブジェクトの描画される描画方向を決定する処理と、第1の種別の描画オブジェクトを構成する各パーツの形状及び奥行き順序を、決定された描画方向に応じて変更する処理と、変更がなされた第1の種別の描画オブジェクトを構成する各パーツの2次元画像を、視点から第1の種別の描画オブジェクトの配置位置に向かう奥行き方向と直交する平面を有する平板オブジェクトに適用することで、第1の種別の描画オブジェクトを3次元空間に配置する処理と、第2の種別の描画オブジェクトを3次元空間に配置する処理と、視点情報に基づいて、3次元空間に配置された第1の種別の描画オブジェクト及び第2の種別の描画オブジェクトを描画する処理と、をコンピュータに実行させ、第1の種別の描画オブジェクトを配置する処理が、第1の種別の描画オブジェクトを構成する少なくとも一部のパーツに対応付けられた、3次元空間における位置の情報を含む起伏情報に基づき、該パーツの2次元画像が適用された平板オブジェクトを変形させる処理を含むことを特徴とする。 In order to achieve the above-mentioned object, the program of the present invention is a first type of drawing object that realizes a three-dimensional expression by a group of parts each composed of a two-dimensional image. A first type of drawing object that realizes a three-dimensional representation of the direction by changing the shape and depth order of the part group according to the direction to be drawn, and a second type of drawing that defines the three-dimensional shape An object arranged in a three-dimensional space for drawing, and the program uses the first type of drawing object to display the arrangement position of the object in the three-dimensional space and the viewpoint information indicating the viewpoint for drawing. Based on the process of determining the drawing direction in which the object is drawn, and the shape and depth order of the parts constituting the first type of drawing object. Processing to change according to the determined drawing direction, and the depth from the viewpoint to the arrangement position of the first type of drawing object from the viewpoint of the two-dimensional image of each part constituting the changed first type of drawing object By applying to a flat object having a plane orthogonal to the direction, a process of arranging the first type of drawing object in the three-dimensional space, a process of arranging the second type of drawing object in the three-dimensional space, and a viewpoint A process of causing a computer to execute a process of drawing a first type of drawing object and a second type of drawing object arranged in a three-dimensional space based on the information, and arranging the first type of drawing object Is a relief information including position information in a three-dimensional space associated with at least some of the parts constituting the first type of drawing object Based on, characterized in that it comprises a process for deforming the flat objects 2-dimensional image of the part is applied.

このような構成により本発明によれば、2次元画像群を用いた3次元的な描画表現と3次元オブジェクトを用いた描画表現を混在させた場合であっても、好適な画像提示を行うことが可能となる。   With this configuration, according to the present invention, even when a three-dimensional drawing expression using a two-dimensional image group and a drawing expression using a three-dimensional object are mixed, suitable image presentation is performed. Is possible.

本発明の実施形態及び変形例に係るPC100の機能構成を示したブロック図The block diagram which showed the function structure of PC100 which concerns on embodiment and modification of this invention 本発明の実施形態及び変形例に係るPC100で実行される描画アプリケーションについて、実現されるモジュール構成を示したブロック図The block diagram which showed the module structure implement | achieved about the drawing application performed with PC100 which concerns on embodiment and modification of this invention 拡張2次元オブジェクトの描画方法を説明するための図Diagram for explaining a drawing method of an extended two-dimensional object 拡張2次元オブジェクト及び3次元オブジェクトを3次元空間に共存させる場合の描画方法を説明するための図Diagram for explaining a drawing method when an extended 2D object and a 3D object coexist in a 3D space 本発明の実施形態1に係る起伏情報を説明するための図The figure for demonstrating the relief information which concerns on Embodiment 1 of this invention 本発明の実施形態1に係る、起伏情報に基づく平板オブジェクトの形状制御を説明するための図The figure for demonstrating the shape control of the flat object based on the relief information based on Embodiment 1 of this invention 本発明の実施形態1に係る、起伏情報に基づく平板オブジェクトの形状制御を説明するための別の図Another figure for demonstrating shape control of the flat object based on undulation information based on Embodiment 1 of this invention 本発明の実施形態1に係る、PC100で実行される表示制御処理を例示したフローチャートThe flowchart which illustrated the display control processing performed with PC100 based on Embodiment 1 of this invention 本発明の実施形態2に係る、物理点に基づくメッシュ形状制御を説明するための図The figure for demonstrating the mesh shape control based on the physical point based on Embodiment 2 of this invention 本発明の実施形態2に係る、起伏情報に基づく平板オブジェクトの形状制御を説明するための図The figure for demonstrating the shape control of the flat object based on the relief information based on Embodiment 2 of this invention 本発明の実施形態2に係る、PC100で実行される表示制御処理を例示したフローチャートThe flowchart which illustrated the display control processing performed with PC100 concerning Embodiment 2 of the present invention. 本発明の変形例に係る、3次元オブジェクトに基づく平板オブジェクトの形状制御を説明するための図The figure for demonstrating the shape control of the flat object based on the three-dimensional object based on the modification of this invention 本発明の実施形態3に係る、視点との距離に応じた拡張2次元オブジェクトの描画を説明するための図The figure for demonstrating drawing of the extended two-dimensional object according to the distance with a viewpoint based on Embodiment 3 of this invention 本発明の実施形態3に係る、起伏情報に基づく平板オブジェクトの形状制御を説明するための図The figure for demonstrating the shape control of the flat object based on the relief information based on Embodiment 3 of this invention 本発明の実施形態3に係る、PC100で実行される表示制御処理を例示したフローチャートThe flowchart which illustrated the display control processing performed with PC100 concerning Embodiment 3 of the present invention. 本発明の実施形態4に係る、PC100で実行される表示制御処理を例示したフローチャートThe flowchart which illustrated the display control processing performed with PC100 concerning Embodiment 4 of the present invention. 本発明の実施形態及び変形例の複合態様に係る効果を説明するための図The figure for demonstrating the effect which concerns on the compound aspect of embodiment and modification of this invention 本発明の実施形態及び変形例の複合態様に係る効果を説明するための別の図Another figure for demonstrating the effect which concerns on the compound aspect of embodiment and modification of this invention

[実施形態1]
以下、本発明の例示的な実施形態について、図面を参照して詳細に説明する。なお、以下に説明する一実施形態は、描画用プログラムの一例としての、画面描画機能を有する汎用的な情報処理端末(PC)にインストール・実行可能に構成された描画用ソフトウェアに、本発明を適用した例を説明する。しかし、本発明は、画面描画機能を有する任意の機器において実行されることで、本発明に係る拡張2次元オブジェクトの3次元的表現を提供することが可能な任意のプログラムに適用可能である。
[Embodiment 1]
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings. Note that, in the embodiment described below, the present invention is applied to drawing software configured to be installed and executed on a general-purpose information processing terminal (PC) having a screen drawing function as an example of a drawing program. An applied example will be described. However, the present invention can be applied to any program that can provide a three-dimensional representation of an extended two-dimensional object according to the present invention by being executed in any device having a screen drawing function.

本明細書において、本発明に係る第1の種別の描画オブジェクトとしての「拡張2次元オブジェクト」とは、各々が2次元画像で構成されたパーツ群を用いることで3次元的表現を提供可能に構成された描画オブジェクトであり、該オブジェクトを構成するパーツ群の位置、形状及び奥行き順序を描画される方向(描画方向)に応じて変更することで、該方向に係る3次元的表現を実現可能に構成された描画オブジェクトを指すものとする。即ち、拡張2次元オブジェクトは、3次元形状は定義しないが、パーツの2次元画像の変更を行うことで、種々の描画方向についての「3次元的」な描画表現を提供可能に構成されている。これに対し、本発明に係る第2の種別の描画オブジェクトとしての「3次元オブジェクト」とは、立体的な3次元形状を定義するものであり、描画方向毎の状態を定義しなくとも、「3次元」の描画表現を提供可能に構成される。   In this specification, the “extended two-dimensional object” as the first type of drawing object according to the present invention can provide a three-dimensional expression by using a group of parts each composed of a two-dimensional image. It is a configured drawing object, and by changing the position, shape, and depth order of the parts that make up the object according to the drawing direction (drawing direction), it is possible to realize a three-dimensional representation of the direction It is assumed that the drawing object is configured as follows. In other words, the extended two-dimensional object does not define a three-dimensional shape, but is configured to be able to provide a “three-dimensional” drawing expression for various drawing directions by changing the two-dimensional image of the part. . On the other hand, the “three-dimensional object” as the second type of drawing object according to the present invention defines a three-dimensional three-dimensional shape, and even if the state for each drawing direction is not defined, “ It is configured to be able to provide a “three-dimensional” drawing representation.

《PCの機能構成》
図1は、本発明の実施形態に係るPC100の機能構成を示すブロック図である。
<Functional configuration of PC>
FIG. 1 is a block diagram showing a functional configuration of a PC 100 according to the embodiment of the present invention.

制御部101は、例えばCPU等の制御装置であり、PC100が有する各ブロックの動作を制御する。具体的には制御部101は、記録媒体102に格納されているオペレーティングシステムに係るプログラムや、3次元空間の描画を行う描画アプリケーションに係るプログラム等を読み出し、メモリ103に展開して実行することにより、各ブロックの動作を制御する。   The control unit 101 is a control device such as a CPU, for example, and controls the operation of each block included in the PC 100. Specifically, the control unit 101 reads out a program related to an operating system stored in the recording medium 102, a program related to a drawing application that performs drawing in a three-dimensional space, and the like by developing the program in the memory 103 and executing it. Control the operation of each block.

記録媒体102は、例えば書き換え可能なROM等の不揮発性メモリや、PC100に着脱可能に接続されたHDD等の記憶装置である。また、記録媒体102は、例えば光学ドライブ等の所定の読み書き可能なインタフェースを介してアクセス可能な、描画アプリケーションにより提供される機能を有するゲームプログラムを記録したディスク等の記録媒体を含んでいてもよい。記録媒体102は、上述したプログラムだけでなく、各ブロックの動作において必要なパラメータ等の情報、描画オブジェクト(拡張2次元オブジェクト及び3次元オブジェクト)の提示に用いられる各種データ等を記憶する。   The recording medium 102 is a non-volatile memory such as a rewritable ROM or a storage device such as an HDD detachably connected to the PC 100, for example. Further, the recording medium 102 may include a recording medium such as a disc on which a game program having a function provided by a drawing application that is accessible via a predetermined readable / writable interface such as an optical drive is recorded. . The recording medium 102 stores not only the above-described program, but also information such as parameters necessary for the operation of each block, various data used for presenting drawing objects (extended 2D objects and 3D objects), and the like.

メモリ103は、例えばRAM等の揮発性メモリであってよい。メモリ103は、記録媒体102から読み出されたプログラム等を展開する展開領域としてだけでなく、各ブロックの動作において出力された中間データ等を記憶する格納領域としても用いられる。   The memory 103 may be a volatile memory such as a RAM. The memory 103 is used not only as a development area for developing a program read from the recording medium 102 but also as a storage area for storing intermediate data output in the operation of each block.

描画部104は、例えばGPU等の描画装置であってよく、表示部110の表示領域に表示される画面(画像)を生成する。本実施形態では描画部104は、3次元空間に配置された拡張2次元オブジェクト及び3次元オブジェクトを、位置、視線方向もしくは姿勢、画角等の各種カメラパラメータが設定された視点の情報(視点情報)に基づいて描画を行うことにより、表示部110に表示される画面を生成する。各種描画部104によって、描画アプリケーションに係り生成された画面は、表示制御部105により表示部110に表示させるための制御(表示更新)が行われる。   The drawing unit 104 may be a drawing device such as a GPU, and generates a screen (image) displayed in the display area of the display unit 110. In the present embodiment, the drawing unit 104 uses the extended two-dimensional object and the three-dimensional object arranged in the three-dimensional space as viewpoint information (viewpoint information) in which various camera parameters such as position, line-of-sight direction or posture, and angle of view are set. ) To generate a screen to be displayed on the display unit 110. Control (display update) for causing the display control unit 105 to display the screen generated by the various drawing units 104 according to the drawing application on the display unit 110 is performed.

表示部110は、例えばLCD等の表示装置であってよい。本実施形態では表示部110は、PC100が有する構成要素であるものとして説明するが、本発明の実施はこれに限られるものではない。表示部110は、PC100と筐体を同じに構成されるものである必要はなく、PC100に着脱可能に接続される外部の表示装置であってもよい。   The display unit 110 may be a display device such as an LCD. In the present embodiment, the display unit 110 is described as a constituent element of the PC 100, but the embodiment of the present invention is not limited to this. The display unit 110 does not have to be configured in the same manner as the PC 100 and the housing, and may be an external display device that is detachably connected to the PC 100.

操作入力部106は、例えばマウス、キーボード、ペンタブレット、ゲームコントローラ等、PC100が有するユーザインタフェースである。操作入力部109は、各種インタフェースによりなされた操作入力を検出すると、該操作入力に対応する制御信号を制御部101に出力する。または操作入力部106は、該操作入力対応するイベントの発生を制御部101に通知する。   The operation input unit 106 is a user interface that the PC 100 has, such as a mouse, a keyboard, a pen tablet, and a game controller. When the operation input unit 109 detects an operation input made by various interfaces, the operation input unit 109 outputs a control signal corresponding to the operation input to the control unit 101. Alternatively, the operation input unit 106 notifies the control unit 101 of the occurrence of an event corresponding to the operation input.

〈モジュール構成〉
次に、このような機能構成を備えるPC100において、本実施形態の描画アプリケーションに係るプログラムを実行することで実現される、3次元空間の描画のうちの、本発明に係る機能モジュール(主として拡張2次元オブジェクトと3次元オブジェクトとを描画する機能モジュール)について、図2を用いて説明する。図2に示されるモジュール構成のうち、本実施形態のPC100において実現される機能モジュールは実線で示される構成であり、破線、一点鎖線を用いて示される構成は、本実施形態に含まれないものとする。なお、本実施形態では描画アプリケーションに係るプログラムによって、下記の機能モジュールがソフトウェアにより実現されるものとして説明するが、本発明の実施はこれに限られるものではない。即ち、各モジュールが実現する機能の一部または全部は、該機能を有する特定のハードウェアにより提供されるものであってもよいし、ソフトウェアとハードウェアの双方を用いて実現されるものであってもよい。
<Module configuration>
Next, in the PC 100 having such a functional configuration, the functional module according to the present invention (mainly extension 2) of the three-dimensional space rendering realized by executing the program according to the rendering application of the present embodiment. A functional module for drawing a three-dimensional object and a three-dimensional object will be described with reference to FIG. Among the module configurations shown in FIG. 2, the functional module realized in the PC 100 of the present embodiment is a configuration indicated by a solid line, and a configuration indicated by a broken line and a one-dot chain line is not included in the present embodiment. And In the present embodiment, the following functional module is described as being realized by software by a program related to a drawing application, but the embodiment of the present invention is not limited to this. That is, some or all of the functions realized by each module may be provided by specific hardware having the functions, or may be realized by using both software and hardware. May be.

描画方向設定モジュール201は、描画する画面に係る視点情報に基づいて、描画対象の3次元空間に配置する拡張2次元オブジェクトのそれぞれについて、該オブジェクトが描画される描画方向を導出し、設定する。ここで、描画方向とは、描画される画面において拡張2次元オブジェクトがいずれの方向から観賞されることになるかを示す、即ち、描画された画面が提示された際に、観賞者(視点)に正対している拡張2次元オブジェクトの面(方向)を特定するために導かれる。描画方向は、拡張2次元オブジェクトが配置される3次元空間中の位置と視点の位置関係に限らず、拡張2次元オブジェクト自身の姿勢変化を考慮することで特定される。詳細は後述するが、本実施形態の描画アプリケーションでは、1体のキャラクタに係る胴体部を3次元オブジェクトで構成し、これに連結させる形で頭部に1つの拡張2次元オブジェクトを配置させるよう構成されている。1つの拡張2次元オブジェクトには、回転の中心及び配置位置の基準となる基準点(ルートジョイント)が定められており、該ルートジョイントが3次元オブジェクトのキャラクタの首元に相当する位置に対応付けられている。故に、描画方向設定モジュール201は、視点情報に基づく視点の位置、視線方向、ルートジョイントの位置、及びルートジョイントにおける拡張2次元オブジェクトの各回転方向の回転量に基づいて描画方向を導出する。   The drawing direction setting module 201 derives and sets the drawing direction in which the object is drawn for each of the extended two-dimensional objects arranged in the three-dimensional space to be drawn based on the viewpoint information relating to the drawing screen. Here, the drawing direction indicates from which direction the extended two-dimensional object is to be viewed on the drawn screen. That is, when the drawn screen is presented, the viewer (viewpoint) is displayed. Is guided to specify the plane (direction) of the extended two-dimensional object that is directly facing. The drawing direction is not limited to the positional relationship between the position in the three-dimensional space where the extended two-dimensional object is placed and the viewpoint, but is specified by considering the posture change of the extended two-dimensional object itself. Although details will be described later, in the drawing application of the present embodiment, the torso part of one character is constituted by a three-dimensional object, and one extended two-dimensional object is arranged on the head in a form linked to this. Has been. One extended two-dimensional object has a center of rotation and a reference point (root joint) serving as a reference for the arrangement position, and the root joint is associated with a position corresponding to the neck of the character of the three-dimensional object. It has been. Therefore, the drawing direction setting module 201 derives a drawing direction based on the position of the viewpoint based on the viewpoint information, the line-of-sight direction, the position of the root joint, and the rotation amount of each extended rotation direction of the extended two-dimensional object at the root joint.

位置形状決定モジュール202は、設定された描画方向の情報に基づき、該描画方向に係る描画表現を実現するための、各パーツの位置及び形状を決定する。詳細は後述するが、拡張2次元オブジェクトには種々の描画方向について、各パーツがどのような表示態様(状態)となるかの情報が予め定義されている。このため、位置形状決定モジュール202は、設定された描画方向について予め定義された各パーツの状態の情報に基づいて、あるいは設定された描画方向についての定義がなされていない場合は、他の定義された状態からの補間に基づいて、設定された描画方向についての状態を導出し、各パーツの2次元画像の形状や、配置位置及び奥行き順序の変更を行う。ここで、奥行き順序とは、パーツ間、及びパーツと3次元オブジェクトとの遮蔽関係を実現するために、視点からルートジョイントに向かう方向について設定されるものであり、3次元空間に拡張2次元オブジェクトを配置する際に参照される。   The position shape determination module 202 determines the position and shape of each part for realizing the drawing expression related to the drawing direction based on the set drawing direction information. Although details will be described later, the extended two-dimensional object predefines information on what display mode (state) each part has in various drawing directions. For this reason, the position shape determination module 202 is based on the information on the state of each part that has been defined in advance for the set drawing direction, or if there is no definition for the set drawing direction, other positions are defined. Based on the interpolation from the selected state, the state for the set drawing direction is derived, and the shape of the two-dimensional image of each part, the arrangement position, and the depth order are changed. Here, the depth order is set in the direction from the viewpoint to the root joint in order to realize a shielding relation between parts and between the part and the three-dimensional object, and is extended to the three-dimensional space. Referenced when placing

起伏適用モジュール203は、拡張2次元オブジェクトの少なくとも一部のパーツについて、3次元空間への配置時に、該パーツに対応付けられた3次元的な起伏の情報(起伏情報)に基づく変形を適用する。2次元のグラフィックスにより形成される好適な(デザイナ所望の)観賞体験を担保するため、拡張2次元オブジェクトの各パーツは、基本的には、対応付けられた2次元画像を、後述のような、視点からルートジョイントに向かう方向に面が直交するように3次元空間に配置した平板オブジェクトに適用されることで、所謂ビルボードオブジェクトとして提示される。即ち、拡張2次元オブジェクトの編集時に定義された2次元で表現された絵面を、3次元空間の描画においても同様に表現するため、立体的な3次元形状を有する3次元オブジェクトにテクスチャを適用するような態様ではなく、ビルボーディングと同様の手法を採用する。一方で、後述する通り、該手法によって好適な描画表現がなされない態様も存在するため、本実施形態の描画アプリケーションでは、起伏適用モジュール203がパーツの2次元画像を適用する平板オブジェクトの起伏を変更させる処理を行う。   The undulation application module 203 applies deformation based on the three-dimensional undulation information (undulation information) associated with the part at the time of placement in the three-dimensional space for at least some parts of the extended two-dimensional object. . In order to ensure a favorable (designer-desired) viewing experience formed by two-dimensional graphics, each part of the extended two-dimensional object basically has an associated two-dimensional image as described below. By applying to a flat plate object arranged in a three-dimensional space so that the plane is orthogonal to the direction from the viewpoint toward the root joint, it is presented as a so-called billboard object. In other words, the texture is applied to a three-dimensional object having a three-dimensional three-dimensional shape in order to similarly represent a picture expressed in two dimensions defined when editing an extended two-dimensional object in a three-dimensional space drawing. It is not a mode to do so, but a method similar to billboarding is adopted. On the other hand, as will be described later, there is a mode in which a suitable drawing expression is not made by this method. Therefore, in the drawing application of this embodiment, the undulation application module 203 changes the undulation of the flat object to which the two-dimensional image of the part is applied. To perform the process.

配置モジュール204は、描画対象である3次元空間に拡張2次元オブジェクト及び3次元オブジェクトを配置する。配置においては、3次元オブジェクトは該オブジェクト自身に対する移動や状態変化がなければ、毎フレーム配置変更の必要はない。一方で、拡張2次元オブジェクトは上述したようにビルボードのように提示されるものであるため、拡張2次元オブジェクト自身に対する移動や状態変化がなくとも、フレーム間で生じる視点変更に応じて、提示される描画表現も各パーツの状態も変化し得、3次元空間に配置する平板オブジェクトの状態を動的に変更する必要がある。   The arrangement module 204 arranges the extended two-dimensional object and the three-dimensional object in the three-dimensional space to be drawn. In the arrangement, the three-dimensional object does not need to be changed every frame if there is no movement or state change with respect to the object itself. On the other hand, since the extended 2D object is presented like a billboard as described above, the extended 2D object is presented according to a viewpoint change that occurs between frames even if there is no movement or state change with respect to the extended 2D object itself. Both the rendered expression and the state of each part can change, and the state of the flat object placed in the three-dimensional space needs to be dynamically changed.

描画モジュール205は、配置モジュール204により必要な描画オブジェクトが配置された3次元空間を、視点情報に基づくカメラパラメータに従って描画し、表示部110に提示する画面を描画部104に生成させる。描画においては、奥行き順序や深度バッファの参照等を行うため、3次元空間に配置された各オブジェクトの遮蔽関係が画面に現れる。   The drawing module 205 draws the three-dimensional space in which the necessary drawing objects are arranged by the arrangement module 204 according to the camera parameters based on the viewpoint information, and causes the drawing unit 104 to generate a screen to be presented on the display unit 110. In drawing, the occlusion relation of each object arranged in the three-dimensional space appears on the screen in order to refer to the depth order and the depth buffer.

《描画オブジェクトの基本的な描画方法》
以下、拡張2次元オブジェクトと3次元オブジェクトとを連結させた描画オブジェクト(群)の基本的な描画方法について、図を用いて詳細を説明する。
《Basic drawing method of drawing objects》
Hereinafter, the basic drawing method of the drawing object (group) obtained by connecting the extended two-dimensional object and the three-dimensional object will be described in detail with reference to the drawings.

上述した通り、拡張2次元オブジェクトについては、その編集時に所定の描画される方向(描画方向)における各パーツの2次元画像の位置、形状及び奥行き順序を含む状態の情報が定義されている。より詳しくは、各パーツの2次元画像は、複数の頂点及びポリゴンが定義づけられた(2次元の)メッシュとして構成され、編集時に描画方向それぞれで頂点の位置を移動させることで、各パーツのメッシュの位置や形状の定義が可能となる。また、描画方向によってはパーツの遮蔽関係も変化し得るため、パーツごと(もしくは頂点単位で)奥行き順序の設定が可能に構成される。またパーツの状態定義がなされなかった描画方向については、定義のなされている他の描画方向での状態から補間により導出することができる。編集時において描画方向は、例えば拡張2次元オブジェクトのルートジョイントについて定められた該オブジェクトの正面方向を示すベクトル(基準ベクトル)が、該ルートジョイントを中心に回転した回転量(2軸または3軸の回転角度)を基準に定められるものであってよい。従って、拡張2次元オブジェクトは、描画方向が確定すると、該方向に対応する形状や位置、奥行き順序に各パーツの状態を変更することで、少なくとも2次元画像として描画方向に係る描画表現が提供可能に構成されている。   As described above, for the extended two-dimensional object, state information including the position, shape, and depth order of the two-dimensional image of each part in a predetermined drawing direction (drawing direction) at the time of editing is defined. More specifically, the two-dimensional image of each part is configured as a (two-dimensional) mesh in which a plurality of vertices and polygons are defined, and the position of each vertex is moved in each drawing direction during editing. The mesh position and shape can be defined. In addition, since the shielding relationship between parts may change depending on the drawing direction, the depth order can be set for each part (or for each vertex). The drawing direction in which the state of the part is not defined can be derived by interpolation from the state in another drawing direction in which the definition is made. At the time of editing, the drawing direction is, for example, a rotation amount (2-axis or 3-axis) obtained by rotating a vector (reference vector) indicating the front direction of the object determined for the root joint of the extended two-dimensional object around the root joint. The rotation angle) may be determined as a reference. Therefore, when the drawing direction is determined, the extended two-dimensional object can provide at least a drawing expression related to the drawing direction as a two-dimensional image by changing the state of each part to the shape, position, and depth order corresponding to the direction. It is configured.

ところで、拡張2次元オブジェクトを3次元オブジェクトと連結させて3次元の描画表現を実現すべく、3次元空間に両オブジェクトを配置する場合には、描画方向は、3次元空間を描画するために定められた視点と、3次元空間における3次元オブジェクトの連結点、即ち拡張2次元オブジェクトのルートジョイントとを結ぶ直線に対して、該拡張2次元オブジェクトの基準ベクトルがなす角度に応じて定まる。即ち、3次元空間に拡張2次元オブジェクトを配置する場合の描画方向は、視点とルートジョイントの位置関係、及びルートジョイントを中心として行われる拡張2次元オブジェクトの回転量に基づいて定まる。このとき、基準ベクトルがルートジョイントと視点とを結ぶ直線と一致するのであれば、拡張2次元オブジェクトは視点に対して正対している(正面を向けている)状態となる。   By the way, when both objects are arranged in the three-dimensional space in order to realize the three-dimensional drawing expression by connecting the extended two-dimensional object with the three-dimensional object, the drawing direction is determined to draw the three-dimensional space. It is determined in accordance with the angle formed by the reference vector of the extended two-dimensional object with respect to a straight line connecting the determined viewpoint and the connection point of the three-dimensional object in the three-dimensional space, that is, the root joint of the extended two-dimensional object. That is, the drawing direction when the extended 2D object is arranged in the 3D space is determined based on the positional relationship between the viewpoint and the root joint and the rotation amount of the extended 2D object performed around the root joint. At this time, if the reference vector coincides with a straight line connecting the root joint and the viewpoint, the extended two-dimensional object is in a state of facing the viewpoint (facing the front).

まず、簡単のため、3次元空間に拡張2次元オブジェクトのみを配置した場合に、該オブジェクトの正面方向の描画表現を提示する際の処理について説明する。上述した通り、正面方向の状態の拡張2次元オブジェクトを描画する際には、図3に示されるように、視点301とルートジョイント302とを結ぶ直線303と、拡張2次元オブジェクトの基準ベクトル304とが一致する(基準ベクトル304が直線303の一部と重なる)状態であり、正面方向について定義された位置、形状及び奥行き順序に従って、各パーツが3次元空間中に配置される。図3は、パーツ間の奥行き方向(視点からルートオブジェクトに向かう方向)305における分布を容易に把握可能ならしめるため、視点とは異なる位置から俯瞰した図となっている。ここで、奥行き方向305は、視点301とルートジョイント302との位置関係についてのみ定められるものであり、ルートジョイントにおける回転量も考慮し得る描画方向とは異なる概念である。   First, for the sake of simplicity, a description will be given of processing when presenting a rendering expression in the front direction of an object when only an extended two-dimensional object is arranged in the three-dimensional space. As described above, when the extended two-dimensional object in the front direction is drawn, as shown in FIG. 3, the straight line 303 connecting the viewpoint 301 and the root joint 302, the reference vector 304 of the extended two-dimensional object, Are matched (the reference vector 304 overlaps a part of the straight line 303), and each part is arranged in the three-dimensional space according to the position, shape, and depth order defined for the front direction. FIG. 3 is an overhead view from a position different from the viewpoint so that the distribution in the depth direction between parts (direction from the viewpoint toward the root object) 305 can be easily grasped. Here, the depth direction 305 is determined only with respect to the positional relationship between the viewpoint 301 and the root joint 302, and is a concept different from the drawing direction in which the amount of rotation at the root joint can also be considered.

各パーツの3次元空間への配置は、まず該パーツのメッシュを描画方向(正面方向)に対応する形状に変形(メッシュ頂点の位置を変更)し、さらに該変形後のメッシュと同形状の平板オブジェクトを3次元空間に配置し、該平板オブジェクトに変形後のメッシュを(テクスチャとして)適用することにより行われる。このとき、平板オブジェクト307の配置位置は、奥行き方向に平行な方向を法線とするキャンバス平面(例えばルートジョイントを含み、ルートジョイント302をキャンバス平面の座標系(キャンバス座標系)の原点としており、奥行き方向において視点と正対する。)306への射影位置が、描画方向(正面方向)について定められた各パーツの(2次元)位置となり、かつ奥行き順序を考慮して、図3のように奥行き方向305における深度値が定められる。ここで、キャンバス平面306は、本実施形態において、拡張2次元オブジェクトのパーツ群の配置や変形がどのように行われるかを導出するために設けている概念であって、実際の描画処理において描画されるオブジェクトではなく、また処理上必須の概念でもない。   Each part is placed in a three-dimensional space by first deforming the mesh of the part into a shape corresponding to the drawing direction (front direction) (changing the position of the mesh vertex), and then a flat plate of the same shape as the deformed mesh This is done by placing the object in a three-dimensional space and applying the deformed mesh (as a texture) to the flat object. At this time, the arrangement position of the flat object 307 is a canvas plane whose normal is parallel to the depth direction (for example, including the root joint, and the root joint 302 is the origin of the coordinate system (canvas coordinate system) of the canvas plane. In the depth direction, the projection position on the viewpoint 306 becomes the (two-dimensional) position of each part defined in the drawing direction (front direction), and the depth order is taken into consideration as shown in FIG. A depth value in direction 305 is defined. Here, the canvas plane 306 is a concept provided in this embodiment for deriving how the arrangement and deformation of the parts group of the extended two-dimensional object are performed, and is drawn in the actual drawing process. It is not an object to be processed, nor is it an essential concept for processing.

故に、拡張2次元オブジェクトの3次元的な描画表現を実現するために3次元空間に配置される平板オブジェクト群307は、奥行き方向におけるキャンバス平面306への正射影が描画方向について定められた各パーツの形状となるように構成されており、基本的には各平板オブジェクト307の面が奥行き方向305に直交するように構成される。即ち、平板オブジェクト群307の面は、該オブジェクト間で基本的には平行に構成される。   Therefore, the flat object group 307 arranged in the three-dimensional space in order to realize the three-dimensional drawing expression of the extended two-dimensional object has each part in which the orthogonal projection onto the canvas plane 306 in the depth direction is determined with respect to the drawing direction. The surface of each flat object 307 is basically configured to be orthogonal to the depth direction 305. That is, the plane of the flat object group 307 is basically parallel between the objects.

このような描画方式の拡張2次元オブジェクトを3次元オブジェクトと共に3次元空間に配置する場合には、3次元オブジェクトとの遮蔽関係を考慮して、各パーツのメッシュを適用する平板オブジェクトの奥行き方向の深度値を変更する必要がある。例えば図4(a)に示されるように、後ろ髪等のパーツは胴体である3次元オブジェクト401により遮蔽されるよう、各パーツの奥行き順序の情報には、対応する平板オブジェクト402をルートジョイントから奥行き方向305において、どの程度遠離させて配置するかを示す距離の情報が含まれていればよい。   When an extended two-dimensional object of such a drawing method is arranged in a three-dimensional space together with a three-dimensional object, the depth direction of the flat object to which the mesh of each part is applied is considered in consideration of the shielding relationship with the three-dimensional object. The depth value needs to be changed. For example, as shown in FIG. 4 (a), parts such as back hair are shielded by a three-dimensional object 401 that is a torso. In the direction 305, it is only necessary to include distance information indicating how far away the arrangement is made.

図4(a)の例では、拡張2次元オブジェクトが正面を向く姿勢である場合、即ち拡張2次元オブジェクトの正面に視点が設けられ正面方向の描画表現が提示される場合、3次元オブジェクト401との干渉がないように、拡張2次元オブジェクトの一部のパーツを適用する平板オブジェクト402の深度値の情報が、予め規定されているものとして説明した。一方で、上述したように拡張2次元オブジェクトと3次元オブジェクト401とはその描画方式が異なるため、拡張2次元オブジェクト自体の移動や姿勢の変化がなくとも、視点の移動がなされることよって、移動後の視点に応じた描画方向の描画表現を提示すべく、各パーツの状態を変更する必要がある。より詳しくは、視点301が移動した場合、移動後の視点301’から見える拡張2次元オブジェクトの方向(描画方向)、及び視点301とルートジョイント302とを結ぶ奥行き方向が変化するため、適用する平板オブジェクト307の形状(各パーツの形状)、位置、及び奥行き順序の少なくともいずれかを変更する必要がある。図4(b)は、図4(a)に示した拡張2次元オブジェクトと3次元オブジェクト401とについて、正面上方からこれらを斜めに見下ろす視点が設定された例を示している。   In the example of FIG. 4A, when the extended two-dimensional object is in a posture facing the front, that is, when a viewpoint is provided in front of the extended two-dimensional object and a rendering expression in the front direction is presented, the three-dimensional object 401 and In the description, the depth value information of the flat object 402 to which some parts of the extended two-dimensional object are applied is defined in advance so that there is no interference. On the other hand, as described above, the extended 2D object and the 3D object 401 have different drawing methods. Therefore, even if the extended 2D object itself does not move or the posture is changed, the viewpoint is moved. It is necessary to change the state of each part in order to present a drawing expression in a drawing direction according to a later viewpoint. More specifically, when the viewpoint 301 moves, the direction of the extended two-dimensional object (drawing direction) seen from the moved viewpoint 301 ′ and the depth direction connecting the viewpoint 301 and the root joint 302 change. It is necessary to change at least one of the shape (shape of each part), position, and depth order of the object 307. FIG. 4B shows an example in which the viewpoint of looking down obliquely from the upper front is set for the extended two-dimensional object and the three-dimensional object 401 shown in FIG.

図4(b)において、後ろ髪のパーツの2次元画像が適用される平板オブジェクト411は、視点301’とルートジョイント302とで定まる新たな奥行き方向412について、図4(a)と同様に、ルートジョイント302よりも視点から遠離する深度値が割り当てられている。しかしながら、図4(b)に示されるように後ろ髪のパーツが3次元空間のワールド座標系において高さ方向に所定の長さを有する場合等では、拡張2次元オブジェクトの編集時には3次元オブジェクト401を考慮せずに描画方向における該パーツの形状が定義されているため、適用する平板オブジェクト411と3次元オブジェクト401とが3次元空間中で干渉し得る。このような場合、図4(b)に示されるように後ろ髪のパーツが3次元オブジェクトで構成される胴体(図の例では腕部)のパーツとの間で前後関係の齟齬が生じているような描画表現がなされる。   In FIG. 4B, the flat object 411 to which the two-dimensional image of the back hair part is applied is similar to FIG. 4A in the new depth direction 412 determined by the viewpoint 301 ′ and the root joint 302. A depth value farther from the viewpoint than the joint 302 is assigned. However, as shown in FIG. 4B, when the back hair part has a predetermined length in the height direction in the world coordinate system of the three-dimensional space, the three-dimensional object 401 is changed when editing the extended two-dimensional object. Since the shape of the part in the drawing direction is defined without consideration, the applied flat object 411 and the three-dimensional object 401 can interfere in the three-dimensional space. In such a case, as shown in FIG. 4 (b), there appears to be a hindrance between the back hair part and the body part (arm part in the example shown in the figure). Drawing expression is made.

これに対し、平板オブジェクト411が3次元オブジェクト401と干渉しないよう、視点の移動に伴って奥行き方向の深度値を変更することによって回避することも可能であるが、3次元空間に配置される他の3次元オブジェクトとの干渉の可能性もある。   On the other hand, it can be avoided by changing the depth value in the depth direction as the viewpoint moves so that the flat object 411 does not interfere with the three-dimensional object 401. There is also a possibility of interference with the three-dimensional object.

なお、拡張2次元オブジェクトの編集に際しては、デザイナ所望の描画表現が容易に可能なように、また定義すべき状態の数を低減させるように、拡張2次元オブジェクトは平行投影方式で描画されて提示され、デザイナは、視点との距離とは無関係に所定の描画方向についての各パーツの状態定義を行えばよいように構成されているものとする。一方、3次元空間の描画に際しては、遠近感を提示するために透視投影方式で空間に配置される各オブジェクトは描画されるが、上述したようにビルボードとして各パーツが描画される拡張2次元オブジェクトについては、もともと平行投影方式で形状等が定義されているため、透視投影方式で描画したとしても遠近感を観賞者に与えにくい態様となり得る。このため、視点と拡張2次元オブジェクト(より詳細には各パーツ)との距離に応じて、パーツのメッシュ及び適用される平板オブジェクトの形状(サイズ)を調整することで、ビルボードについても透視投影方式のような遠近感を強制的に生じさせる処理が適用される。上記干渉の問題は、このような平板オブジェクトのサイズ変更によっても発生は軽減され得るが、視点との距離に応じて行われるものであるため、根本的な解決とはならない。   When editing an extended two-dimensional object, the extended two-dimensional object is drawn and presented in a parallel projection method so that the designer can easily draw the desired drawing and reduce the number of states to be defined. The designer is assumed to be configured to define the state of each part in a predetermined drawing direction regardless of the distance from the viewpoint. On the other hand, when rendering a three-dimensional space, each object arranged in the space is drawn in a perspective projection method in order to present perspective, but as described above, an extended two-dimensional drawing in which each part is rendered as a billboard Since the shape and the like of the object are originally defined by the parallel projection method, even if the object is drawn by the perspective projection method, it is difficult to give perspective to the viewer. For this reason, perspective projection is also possible for billboards by adjusting the part mesh and the shape (size) of the applied flat object according to the distance between the viewpoint and the extended 2D object (more specifically, each part). A process for forcibly generating perspective such as a method is applied. The occurrence of the above-mentioned interference problem can be reduced by such a size change of the flat object, but it is not a fundamental solution because it is performed according to the distance from the viewpoint.

《起伏情報の定義》
上述したような拡張2次元オブジェクトと3次元オブジェクトとの描画方式が異なることによって発生し得るオブジェクト間の干渉を回避するため、本実施形態の描画アプリケーションでは、拡張2次元オブジェクトを構成する少なくとも一部のパーツに、該パーツのメッシュを適用する平板オブジェクトに起伏を付与せしめる起伏情報を対応付ける。起伏情報は、対応付けられるパーツのメッシュとは別に設けられる情報であり、パーツに対応付けられている場合に、描画方向確定後の平板オブジェクトに係る処理において参照される。換言すれば、起伏情報が対応付けられていないパーツについては、適用する平板オブジェクトに対する起伏情報を参照する変形処理等は行われない。
<Definition of relief information>
In order to avoid interference between objects that may be caused by different drawing methods between the extended two-dimensional object and the three-dimensional object as described above, the drawing application according to the present embodiment has at least a part of the extended two-dimensional object. Is associated with the undulation information for giving the undulation to the flat object to which the mesh of the part is applied. The relief information is information provided separately from the mesh of the part to be associated, and is referred to in the process related to the flat object after the drawing direction is determined when associated with the part. In other words, a deformation process or the like that refers to the undulation information for the flat object to be applied is not performed for parts that are not associated with the undulation information.

本実施形態では起伏情報は、図5に示されるように、ボーンを介してルートジョイントに接続された点(ジョイント)群により構成され、各ジョイントが3次元空間における位置を特定する情報を有して構成される。より詳しくは、本実施形態では、ボーンはジョイント間またはジョイントとルートジョイント間を結束するオブジェクトであり、各ジョイントには、3次元空間におけるルートジョイントとの相対位置の情報が特定可能な情報が付されているものとする。相対位置の情報は、拡張2次元オブジェクトがルートジョイントにおいて回転していない状態について定義されているものとし、ルートジョイントの3次元空間におけるワールド座標が確定することで、各ジョイントのワールド座標も確定する。ここで、相対位置の情報は、ルートジョイントとの位置の差分として各ジョイントが有するものであってもよいし、本実施形態ではボーンを介して結束する一連のジョイント群のうち、ルートジョイントからの結束順において1つ前のジョイント(親ジョイント)との位置の差分として各ジョイントが有するものであってもよい。後者の場合、ルートジョイントからの結束順において、結束されているボーンの数が少ないジョイントから順に位置導出の処理を行うことで、各ジョイントの位置が特定可能となる。またジョイント間の親子関係や結束順等の結束関係を示す情報は、ボーンが結束情報として有するものであってよい。従って、本実施形態では起伏情報は、拡張2次元オブジェクトの位置や姿勢が変化しない限りは3次元空間中の固定の座標群を常に示すものであり、視点移動に依存した変形をしない、ジョイントとボーンで形成された立体的な起伏を示す。   In this embodiment, as shown in FIG. 5, the undulation information is composed of a group of points (joints) connected to the root joint via bones, and each joint has information for specifying a position in a three-dimensional space. Configured. More specifically, in this embodiment, a bone is an object that binds between joints or between a joint and a root joint, and each joint is attached with information that can specify information on the relative position of the root joint in a three-dimensional space. It is assumed that The relative position information is defined for the state in which the extended two-dimensional object is not rotated at the root joint, and the world coordinates in the three-dimensional space of the root joint are determined, thereby determining the world coordinates of each joint. . Here, the information on the relative position may be included in each joint as a difference in position from the root joint, and in the present embodiment, from the series of joint groups bound through the bone, the information from the root joint is used. Each joint may have a difference in position with the previous joint (parent joint) in the binding order. In the latter case, the position of each joint can be specified by performing the position derivation process in order from the joint with the fewest number of bones bound in the binding order from the root joint. The information indicating the parent-child relationship between the joints and the binding relationship such as the binding order may be information that the bone has as the binding information. Therefore, in this embodiment, the undulation information always indicates a fixed coordinate group in the three-dimensional space unless the position and orientation of the extended two-dimensional object change, and does not undergo deformation depending on the viewpoint movement. A three-dimensional relief formed by bones.

なお、本実施形態では起伏情報は、ルートジョイントに接続されたジョイント及びボーンで構成されるものとして説明するが、本発明の実施はこれに限られるものではない。即ち、起伏情報は、パーツについて描画方向に依らない立体的な起伏の情報を与えるものであれば、ボーンとジョイントとで構成されているものである必要はなく、特定の描画方向について、ルートジョイントとの相対的な位置関係を定義するものであればどのような構成であってもよい。   In the present embodiment, the undulation information is described as being composed of joints and bones connected to the root joint, but the implementation of the present invention is not limited to this. In other words, the relief information need not be made up of bones and joints as long as it gives three-dimensional relief information that does not depend on the drawing direction for the part. Any configuration is possible as long as it defines the relative positional relationship between

また起伏情報は、拡張2次元オブジェクトを構成する全てのパーツについて定義されるものである必要はなく、少なくとも一部のパーツについて定義されるものであればよい。好適には、他の描画オブジェクトとの間において遮蔽関係を考慮する必要があるパーツや、後述の異なる実施形態で説明するような、パーツについての3次元的な形状や位置の動的変更を考慮する必要があるパーツについて、対応付けられるものであってよい。本実施形態では簡単のため、拡張2次元オブジェクトの姿勢変更に伴う描画方向の変更の要素は除外し、視点変更に伴う描画方向の変更が行われる態様における、起伏情報を用いた平板オブジェクトの形状制御について説明する。   Further, the relief information need not be defined for all parts constituting the extended two-dimensional object, and may be information defined for at least some parts. Preferably, a part that needs to consider a shielding relationship with another drawing object, or a dynamic change of a three-dimensional shape or position of the part as described in different embodiments described later is taken into consideration. The parts that need to be processed may be associated with each other. In the present embodiment, for simplicity, the shape of a flat object using undulation information in a mode in which a drawing direction change accompanying a viewpoint change is performed while excluding an element of a drawing direction change accompanying an orientation change of an extended two-dimensional object Control will be described.

〈起伏情報に基づく平板オブジェクトの形状制御〉
以下、拡張2次元オブジェクトを構成する、起伏情報が対応付けられたパーツに対して起伏適用モジュール203により行われる起伏適用処理について、図を用いて詳細を説明する。
<Shape control of flat object based on relief information>
Hereinafter, the undulation application process performed by the undulation application module 203 on the parts associated with the undulation information constituting the extended two-dimensional object will be described in detail with reference to the drawings.

パーツに対応付けられた起伏情報が存在する場合、該パーツを適用する平板オブジェクトが起伏情報に基づいて行われる変形の対象となる。パーツへの起伏情報の対応付けは、パーツについて管理される情報に対して、起伏情報の内容を取得可能な情報が付されることによりなされればよい。ここで、ルートジョイントからボーンを介して接続されているジョイント群及びそのボーン群の全てが、3次元空間への平板オブジェクト配置時に参照される情報としてパーツの情報に付されることにより、パーツへの起伏情報の対応付けが行われる必要はない。特に、起伏情報に含まれるジョイント群及びボーン群は、複数のパーツに係る平板オブジェクトの変形において参照されるよう構成されるものであってもよいため、対応付けとしてパーツに付される情報は、起伏情報のうちの一部を特定できるものであってもよい。また起伏情報に含まれるジョイントのみ特定可能であれば、該ジョイントに接続されるボーンの有無やボーンの情報は起伏情報から取得可能であるため、起伏情報の対応付けとしてパーツに付される情報は、いずれかのジョイントを特定するものであってもよい。   When there is undulation information associated with a part, a flat object to which the part is applied is a target of deformation performed based on the undulation information. The association of the undulation information with the part may be performed by adding information capable of acquiring the content of the undulation information to the information managed for the part. Here, the joint group connected via the bone from the root joint and all of the bone groups are attached to the part information as information referred to when the flat object is arranged in the three-dimensional space. There is no need to associate the undulation information. In particular, since the joint group and bone group included in the undulation information may be configured to be referred to in the deformation of the flat object related to a plurality of parts, the information attached to the part as a correspondence is Some of the undulation information may be specified. If only the joints included in the undulation information can be specified, the presence / absence of bones connected to the joint and information on the bones can be obtained from the undulation information. Any one of the joints may be specified.

例えば図6(a)に示されるように、拡張2次元オブジェクトが視点と正対している(視点の視線方向ベクトルと基準ベクトルとが同一直線状で正対している)態様において、起伏情報601のうちのジョイント602b〜dを特定する情報が、後ろ髪のパーツ(対象パーツ)に付されている場合の、該パーツのメッシュを提供する平板オブジェクト604に対して起伏適用モジュール203が行う起伏適用処理の内容を、以下に説明する。   For example, as shown in FIG. 6A, in an aspect in which the extended two-dimensional object faces the viewpoint (the viewing direction vector of the viewpoint and the reference vector face the same straight line), the undulation information 601 When the information for identifying the joints 602b to 602d is attached to the back hair part (target part), the undulation application module 203 performs the undulation application process 203 on the flat object 604 that provides the mesh of the part. The contents will be described below.

平板オブジェクト604に対して起伏情報に基づく起伏を与えるために、起伏適用モジュール203はまず、対象パーツのメッシュ頂点の各々について、対応付けられた起伏情報のうちから、最も近接するボーンを特定する処理を実行する。本実施形態では対象パーツにはジョイント602b〜dの情報が付されているため、対応付けられている起伏情報は、ジョイント602b〜d、及びそれらを結束するボーン603b〜dとなる。上述した通り、対象パーツのメッシュを適用する平板オブジェクト604は、奥行き方向におけるキャンバス平面への正射影の形状が、描画方向に応じて定まる状態の該パーツのメッシュと同形状となっている。故に、本実施形態では平板オブジェクト604に対する、対象パーツのメッシュに係る2次元画像の適用に不整合が生じないよう、平板オブジェクト604は、メッシュと同様の頂点分布を示すポリゴンモデルであるものとする。従って、起伏適用モジュール203はまず、対象パーツのメッシュに含まれる頂点、即ち該メッシュを適用する平板オブジェクト604の対応する頂点のそれぞれについて、起伏情報のボーンのうちから最も近接するボーン(もしくはジョイント)を特定する。   In order to give undulations based on the undulation information to the flat object 604, the undulation application module 203 first specifies the closest bone from the associated undulation information for each mesh vertex of the target part. Execute. In this embodiment, since the information of the joints 602b to 602d is attached to the target part, the associated undulation information is the joints 602b to 602d and the bones 603b to 603b that bind them. As described above, the flat object 604 to which the mesh of the target part is applied has the same shape as the mesh of the part in a state where the orthogonal projection shape on the canvas plane in the depth direction is determined according to the drawing direction. Therefore, in this embodiment, it is assumed that the flat object 604 is a polygon model showing a vertex distribution similar to that of the mesh so that inconsistency does not occur in the application of the two-dimensional image related to the mesh of the target part to the flat object 604. . Therefore, the undulation application module 203 starts with the vertices included in the mesh of the target part, that is, the vertices corresponding to the flat object 604 to which the mesh is applied, among the bones (or joints) closest to the undulation information bone. Is identified.

例えば、対象パーツに係る平板オブジェクト604と、該対象パーツに対応付けられた起伏情報(ジョイント及びボーン)とを、奥行き方向(視線方向)についてキャンバス平面に投影すると、それぞれの正射影がキャンバス座標系において、図7(a)のようになるとする。このとき、起伏適用モジュール203は、平板オブジェクト604に含まれる各頂点(適用されるメッシュの頂点に相当)について、最近接ボーンを特定すべく、次の処理を行う。以下、頂点701を例に詳細を説明する。   For example, when the flat object 604 related to the target part and the undulation information (joint and bone) associated with the target part are projected on the canvas plane in the depth direction (gaze direction), the respective orthogonal projections are displayed in the canvas coordinate system. In FIG. 7, it is assumed as shown in FIG. At this time, the undulation application module 203 performs the following process to specify the nearest bone for each vertex (corresponding to the vertex of the applied mesh) included in the flat object 604. Details will be described below using the vertex 701 as an example.

起伏適用モジュール203は、起伏情報に含まれるジョイント602を順に選択し、当該ジョイント(子ジョイント)と親ジョイントとを結束するボーン603と頂点701との距離をまず導出する。まずボーン603bに注目すると、ボーン603bと頂点701との距離は、図7(b)に示されるように、該ボーン603bと該ボーン603bに係る直線を子ジョイント602b方向に延長した直線とで形成される線分702について、頂点701を通過し、キャンバス平面において該線分702と直交する線分703を特定し、その交点704がボーン603bと延長線のいずれに属するかによって異なる。交点704がボーン603b上にある場合、頂点701と該ボーン603bとの距離は、線分703における頂点701と交点704の距離となる。一方、交点704が延長線上(もしくは子ジョイント602)にある場合、頂点701とボーン603bとの距離は、頂点701とジョイント602bとの距離となる。図7(b)の例では交点704は延長線上にあるため、距離705bは頂点701とジョイント602bとの距離になる。   The undulation application module 203 sequentially selects the joints 602 included in the undulation information, and first derives the distance between the bone 603 and the vertex 701 that bind the joint (child joint) and the parent joint. First, paying attention to the bone 603b, the distance between the bone 603b and the apex 701 is formed by the bone 603b and a straight line obtained by extending the straight line related to the bone 603b in the direction of the child joint 602b, as shown in FIG. The line segment 702 that passes through the vertex 701 and is orthogonal to the line segment 702 on the canvas plane is specified, and the line segment 702 differs depending on whether the intersection 704 belongs to the bone 603b or the extension line. When the intersection 704 is on the bone 603b, the distance between the vertex 701 and the bone 603b is the distance between the vertex 701 and the intersection 704 in the line segment 703. On the other hand, when the intersection 704 is on the extension line (or the child joint 602), the distance between the vertex 701 and the bone 603b is the distance between the vertex 701 and the joint 602b. In the example of FIG. 7B, since the intersection 704 is on the extension line, the distance 705b is the distance between the vertex 701 and the joint 602b.

このように、起伏情報に含まれる全てのジョイントを選択しながら、各ジョイントを子ジョイントとするボーンとの距離を上記手法で特定することで、図7(c)に示されるように、各ボーン603と頂点701との距離を導出することができる。即ち、起伏情報と平板オブジェクトとが図7(a)のような態様である場合、図7(c)に示されるように頂点701について3種類の距離705b〜dが得られるため、これらの最小値である距離705dから、起伏適用モジュール203は、頂点701の最近接ボーンがボーン603dであることを特定することができる。   In this way, by selecting all the joints included in the undulation information and specifying the distance from each bone as a child joint by the above method, as shown in FIG. 7C, each bone The distance between 603 and the vertex 701 can be derived. That is, when the undulation information and the flat object are in the form as shown in FIG. 7A, three kinds of distances 705b to 705d are obtained for the vertex 701 as shown in FIG. From the value distance 705d, the relief application module 203 can specify that the nearest bone of the vertex 701 is the bone 603d.

頂点701について最近接ボーンを特定すると、起伏適用モジュール203は、該頂点701について与える奥行き方向の深度値を決定する。奥行き方向の深度値は、図7(d)に示されるように、最近接ボーンの導出時に求めた交点の、該ボーン中における内分比に基づいて、該ボーンに結束されている2つのジョイントの3次元空間における深度値から導出すればよい。なお、図7(a)に示した頂点706のように、交点が最近接ボーン(ボーン603d)上ではなく延長線上に存在する頂点については、図7(e)に示されるように、距離の導出に用いたジョイント602dの3次元空間における深度値を、そのまま頂点706の奥行き方向の深度値として決定すればよい。   When the nearest bone is specified for the vertex 701, the relief application module 203 determines a depth value to be given to the vertex 701 in the depth direction. As shown in FIG. 7D, the depth value in the depth direction is calculated based on the internal division ratio in the bone at the intersection obtained when the nearest bone is derived, and the two joints bound to the bone. It may be derived from the depth value in the three-dimensional space. Note that, as shown in FIG. 7 (e), as shown in FIG. 7 (e), a vertex whose intersection point is not on the closest bone (bone 603d) but on the extension line as in the vertex 706 shown in FIG. 7 (a). The depth value in the three-dimensional space of the joint 602d used for derivation may be determined as it is as the depth value of the vertex 706 in the depth direction.

起伏適用モジュール203は、このように導出した各頂点の奥行き方向(視線方向)の深度値に基づいて平板オブジェクト604を変形させることで、該オブジェクトを図6(b)に示されるような、起伏情報に応じて隆起する、単一平面ではない描画オブジェクト605とすることができる。   The undulation application module 203 deforms the flat object 604 based on the depth value in the depth direction (line-of-sight direction) of each vertex derived in this way, thereby causing the object to undulate as shown in FIG. A drawing object 605 that is raised according to information and is not a single plane can be used.

ここで、図からも明らかなように、頂点単位で深度値が決定されるため、奥行き方向における平板オブジェクト604の起伏と、起伏情報により示される起伏とは完全には一致しない場合がある。また、起伏適用モジュール203により行われる平板オブジェクト604の形状変更は、あくまでも該オブジェクト中の頂点の深度値の変更により行われるため、奥行き方向における該オブジェクトのキャンバス平面への正射影形状は変化しない。   Here, as is clear from the figure, since the depth value is determined in units of vertices, the undulation of the flat object 604 in the depth direction may not completely match the undulation indicated by the undulation information. Further, since the shape change of the flat object 604 performed by the undulation application module 203 is only performed by changing the depth value of the vertex in the object, the orthogonal projection shape of the object on the canvas plane in the depth direction does not change.

また、上述した通り、拡張2次元オブジェクト自身の移動や回転が生じないのであれば、起伏情報は視点移動に依らず維持されるため、拡張2次元オブジェクトの正面上方から斜めに見下ろす視点が設定されたとしても、起伏適用モジュール203は、後ろ髪のパーツについて、同様の処理を行う。結果、図6(c)に示されるように、後ろ髪のパーツのメッシュを適用する平板オブジェクト607も、起伏情報に沿うような描画オブジェクト608に変形される。   In addition, as described above, if the extended two-dimensional object itself does not move or rotate, the undulation information is maintained regardless of the viewpoint movement. Therefore, a viewpoint that looks down obliquely from the upper front of the extended two-dimensional object is set. Even so, the undulation application module 203 performs the same processing on the back hair part. As a result, as shown in FIG. 6C, the flat object 607 to which the mesh of the back hair part is applied is also transformed into a drawing object 608 that follows the undulation information.

このように、本実施形態の描画アプリケーションによれば、構造上、描画方式が異なり、遮蔽関係における不整合が生じ得る、拡張2次元オブジェクトと3次元オブジェクトとを共存させて描画する場合であっても、起伏情報を対応付けることにより、3次元空間における干渉を回避し、好適な描画表現を示す画面を提供することができる。   As described above, according to the drawing application of the present embodiment, the drawing method is structurally different, and inconsistency in the shielding relationship may occur, and the extended two-dimensional object and the three-dimensional object are drawn together. In addition, by associating the undulation information, interference in the three-dimensional space can be avoided and a screen showing a suitable drawing expression can be provided.

《表示制御処理》
以下、上述のようなモジュール構成の描画アプリケーションを実行した場合にPC100において実現される、本実施形態の表示制御処理について、図8のフローチャートを用いて具体的な処理を説明する。該フローチャートに対応する処理は、制御部101が、例えば記録媒体102に記憶されている描画アプリケーションに対応する処理プログラムを読み出し、メモリ103に展開して実行することにより実現することができる。なお、本表示制御処理は、例えば描画アプリケーションが実行された際に開始され、各フレームの画面描画のために繰り返し実行されるものとして説明する。
《Display control processing》
Hereinafter, specific processing will be described with reference to the flowchart of FIG. 8 for the display control processing of the present embodiment, which is realized in the PC 100 when the drawing application having the above-described module configuration is executed. The processing corresponding to the flowchart can be realized by the control unit 101 reading, for example, a processing program corresponding to a drawing application stored in the recording medium 102, developing it in the memory 103, and executing it. This display control process will be described as being started, for example, when a drawing application is executed and repeatedly executed for screen drawing of each frame.

また本実施形態では簡単のため、拡張2次元オブジェクトや3次元オブジェクトの移動や姿勢変更は発生せず、視点移動のみが行われる態様について説明する。即ち、以下に説明する態様では、3次元空間における拡張2次元オブジェクトのルートジョイントの位置が固定されており、かつルートジョイントにおける拡張2次元オブジェクトの回転がなく、基準の姿勢(基準ベクトルの回転量が、いずれの軸も0である状態を指す)を保持しているものとする。同様に起伏情報も、拡張2次元オブジェクトが基準姿勢であるため、3次元空間におけるルートジョイントの位置と基準ベクトルの向きとに基づいて導出することができ、以下の態様において起伏情報の各ジョイントのワールド座標は固定である。   Further, for the sake of simplicity in the present embodiment, a mode in which only the viewpoint movement is performed without the movement or posture change of the extended two-dimensional object or the three-dimensional object will be described. That is, in the mode described below, the position of the root joint of the extended two-dimensional object in the three-dimensional space is fixed, the extended two-dimensional object does not rotate at the root joint, and the reference posture (the amount of rotation of the reference vector) Indicates a state in which all axes are 0). Similarly, since the extended two-dimensional object has the reference posture, the undulation information can be derived based on the position of the root joint and the direction of the reference vector in the three-dimensional space. The world coordinates are fixed.

S801で、制御部101は、前のフレームからの視点移動が生じたか否かを判断する。視点移動は、例えば操作入力に基づいて行われるものであってよく、制御部101は、操作入力部106の検出結果に基づいて、視点移動に係る操作入力がなされたことを示すイベントが派生したか否かにより本ステップの判断を行えばよい。制御部101は、前のフレームからの視点移動が生じたと判断した場合は処理をS802に移し、生じていないと判断した場合は前フレームの各オブジェクトの配置情報が使用できるため処理をS808に移す。   In step S801, the control unit 101 determines whether viewpoint movement from the previous frame has occurred. The viewpoint movement may be performed based on, for example, an operation input, and the control unit 101 derives an event indicating that an operation input related to the viewpoint movement has been made based on the detection result of the operation input unit 106. This step may be determined depending on whether or not. If the control unit 101 determines that the viewpoint movement from the previous frame has occurred, the control unit 101 moves the process to S802. If the control unit 101 determines that the viewpoint movement has not occurred, the control unit 101 moves the process to S808 because the arrangement information of each object in the previous frame can be used. .

S802で、描画方向設定モジュール201は、移動後の視点と拡張2次元オブジェクトとの位置関係、及び拡張2次元オブジェクトの状態に基づいて、該オブジェクトについての描画方向を設定する。より詳しくは、描画方向設定モジュール201は、移動後の視点の各種パラメータを示す視点情報と拡張2次元オブジェクトの位置及び姿勢(基準姿勢)の情報に基づいて、視点からルートジョイントに向かうベクトルと、拡張2次元オブジェクトの正面方向を示す基準ベクトルとのなす角度を導出し、描画方向を決定して設定する。設定した描画方向の情報は、例えばメモリ103に格納されるものであってよい。   In step S802, the drawing direction setting module 201 sets a drawing direction for the object based on the positional relationship between the moved viewpoint and the extended two-dimensional object, and the state of the extended two-dimensional object. More specifically, the drawing direction setting module 201 is based on viewpoint information indicating various parameters of the viewpoint after movement and information on the position and orientation (reference orientation) of the extended two-dimensional object, a vector from the viewpoint to the root joint, An angle formed with a reference vector indicating the front direction of the extended two-dimensional object is derived, and the drawing direction is determined and set. The set drawing direction information may be stored in the memory 103, for example.

S803で、位置形状決定モジュール202は、まず拡張2次元オブジェクトの各パーツのメッシュ形状(各メッシュ頂点のキャンバス平面における位置)及び奥行き順序を、設定された描画方向に応じた状態に設定する。本ステップの処理は、拡張2次元オブジェクトについて描画方向に係る各パーツの状態が定義されている場合と定義されていない場合とで補間処理の有無が異なるが、基本的には位置形状決定モジュール202は、拡張2次元オブジェクトについて対応する描画方向について定義されている情報に従って、設定を行う。ここで、各パーツについての情報設定は、該パーツのメッシュを適用する平板オブジェクトの形状、及び奥行き方向における配置位置を決定していることに相当し、本ステップの処理により、各平板オブジェクトが有する頂点のキャンバス座標系における位置(2次元)と、奥行き方向における深度値とが「暫定的に」決定する。なお、奥行き方向における深度値は、例えば予め設定された奥行き方向の配置間隔の情報に基づき、ルートジョイントから視点寄りに配置されるか否かと、奥行き順序とを考慮して機械的に決定されるものであってよい。   In step S <b> 803, the position shape determination module 202 first sets the mesh shape (position of each mesh vertex on the canvas plane) and the depth order of each part of the extended two-dimensional object in a state corresponding to the set drawing direction. The processing of this step differs depending on whether or not the interpolation processing is performed depending on whether or not the state of each part related to the drawing direction is defined for the extended two-dimensional object. Sets according to the information defined for the drawing direction corresponding to the extended two-dimensional object. Here, the information setting for each part corresponds to determining the shape of the flat object to which the mesh of the part is applied and the arrangement position in the depth direction. The position (two-dimensional) of the vertex in the canvas coordinate system and the depth value in the depth direction are determined “provisionally”. Note that the depth value in the depth direction is mechanically determined based on, for example, information on the arrangement interval in the depth direction set in advance, taking into account whether or not it is arranged closer to the viewpoint from the root joint, and the depth order. It may be a thing.

また、上述した通り拡張2次元オブジェクトの各パーツは、平行投影方式でメッシュの形状が定義されているため、これらの遠近感を強調させて擬似的に透視変換方式の描画表現を実現できるよう、本ステップの処理において、各パーツと視点との距離に応じて該パーツ(及び対応する平板オブジェクト)の形状を拡縮する処理を行ってもよい。例えば視点と拡張2次元オブジェクトとの距離が遠離している場合は、パーツ間での深度値の差は無視できるため、当該処理は、視点とルートジョイントとの距離に応じて行うか否かを判断するものであってもよい。また、例えば視点と拡張2次元オブジェクトとの距離が近接している場合や、急峻な角度の煽りや俯瞰の構図の視点となる場合は、視点とルートジョイントの距離に対して、パーツ間の深度値の差が無視できないため、視点から遠離するパーツの形状を縮小する処理を行うことで、擬似的に透視投影方式の描画表現を、拡張2次元オブジェクトについても提示できるように処理すればよい。   In addition, as described above, each part of the extended two-dimensional object has the mesh shape defined by the parallel projection method, so that the perspective transformation can be realized in a pseudo manner by emphasizing the perspective. In the process of this step, a process of enlarging or reducing the shape of the part (and the corresponding flat object) may be performed according to the distance between each part and the viewpoint. For example, when the distance between the viewpoint and the extended two-dimensional object is far away, the difference in depth value between the parts can be ignored, so whether or not the process is performed according to the distance between the viewpoint and the root joint. It may be determined. Also, for example, when the distance between the viewpoint and the extended two-dimensional object is close, or when the viewpoint is a sharp angle or an overhead composition, the depth between the parts with respect to the distance between the viewpoint and the root joint Since the difference between the values cannot be ignored, it is only necessary to perform processing to reduce the shape of the part far from the viewpoint so that a pseudo-drawing rendering expression can be presented even for the extended two-dimensional object.

S804で、位置形状決定モジュール202は、対応する平板オブジェクトの3次元空間における「最終的な」配置位置の決定を行っていないパーツを処理対象のパーツ(対象パーツ)として選択する。本実施形態の描画アプリケーションでは、拡張2次元オブジェクトの各パーツについて、該パーツのメッシュを適用する平板オブジェクトの3次元空間における最終的な配置位置を確定すべく、1つずつパーツを選択しながら以下のS805〜S807の処理を行う。   In step S <b> 804, the position shape determination module 202 selects a part for which the “final” arrangement position of the corresponding flat object is not determined in the three-dimensional space as a processing target part (target part). In the drawing application of the present embodiment, for each part of the extended two-dimensional object, the following is performed while selecting the parts one by one in order to determine the final arrangement position in the three-dimensional space of the flat object to which the mesh of the part is applied. Steps S805 to S807 are performed.

S805で、位置形状決定モジュール202は、対象パーツに対応付けられた起伏情報が存在するか否かを判断する。位置形状決定モジュール202は、対象パーツに対応付けられた起伏情報が存在すると判断した場合は処理をS807に移し、存在しないと判断した場合は処理をS806に移す。   In step S805, the position shape determination module 202 determines whether there is undulation information associated with the target part. If the position / shape determination module 202 determines that the undulation information associated with the target part exists, the process proceeds to S807. If the position / shape determination module 202 determines that there is no undulation information, the process proceeds to S806.

S806で、位置形状決定モジュール202は、S803において対象パーツのメッシュを適用する平板オブジェクトについて決定した情報に基づき、該平板オブジェクトの3次元空間における最終的な配置位置を決定する。即ち、位置形状決定モジュール202は、対象パーツのメッシュを適用する平板オブジェクトの各頂点について決定した、キャンバス座標及び奥行き方向の深度値を最終的な配置位置の情報として確定し、これをワールド座標系の位置情報に変換する。   In S806, the position shape determination module 202 determines the final arrangement position of the flat object in the three-dimensional space based on the information determined for the flat object to which the mesh of the target part is applied in S803. That is, the position shape determination module 202 determines the canvas coordinate and the depth value in the depth direction determined for each vertex of the flat object to which the mesh of the target part is applied as final placement position information, and uses this as the world coordinate system. Convert to location information.

一方、S805において対象パーツに対応付けられた起伏情報が存在すると判断された場合、起伏適用モジュール203はS807で、対象パーツのメッシュを適用する平板オブジェクトの各頂点について、該起伏情報に基づく深度値を決定することで、各頂点の最終的な位置を決定する。即ち、本ステップの処理により、対象パーツに係る平板オブジェクトの各頂点の奥行き方向の位置が変化するため、平板オブジェクトの形状が単一平面ではなく、起伏情報に沿った形状に変更される。上述した通り、起伏適用モジュール203は、対象パーツに係る平板オブジェクトの頂点ごとに、最近接ボーンの特定及び該最近接ボーンで結束されるジョイントに基づく深度値の決定を行う。また起伏適用モジュール203は、S806と同様に、対象パーツに係る平板オブジェクトの各頂点について、本ステップの処理によって最終的に決定したキャンバス座標及び深度値を、ワールド座標系の位置情報に変換する。   On the other hand, when it is determined in S805 that there is undulation information associated with the target part, the undulation application module 203 in S807, for each vertex of the flat object to which the mesh of the target part is applied, the depth value based on the undulation information To determine the final position of each vertex. That is, since the position in the depth direction of each vertex of the flat object related to the target part is changed by the processing in this step, the shape of the flat object is changed to a shape according to the undulation information instead of a single plane. As described above, the undulation application module 203 determines the nearest bone for each vertex of the flat object related to the target part and determines the depth value based on the joint bound by the nearest bone. Further, similarly to S806, the undulation application module 203 converts the canvas coordinates and depth values finally determined by the processing of this step for each vertex of the flat object related to the target part into position information in the world coordinate system.

従って、S805〜S807の処理によって、対象パーツのメッシュを適用する平板オブジェクトの最終的な形状及び配置位置が確定する。即ち、起伏情報の対応付けの有無に基づいて、平板オブジェクトの変形を行うか否かが確定し、必要に応じて起伏適用モジュール203が頂点ごとに深度値を変更する処理を行う。   Therefore, the final shape and arrangement position of the flat object to which the mesh of the target part is applied are determined by the processing of S805 to S807. That is, whether or not the flat object is to be deformed is determined based on whether or not the undulation information is associated, and the undulation application module 203 performs a process of changing the depth value for each vertex as necessary.

S808で、位置形状決定モジュール202は、拡張2次元オブジェクトの全てのパーツについて、対応する平板オブジェクトの最終的な配置位置の決定を行ったか否かを判断する。位置形状決定モジュール202は、全てのパーツについて対応する平板オブジェクトの最終的な配置位置の決定を行ったと判断した場合は処理をS809に移し、まだ最終的な配置位置の決定を行っていないパーツが存在すると判断した場合は処理をS804に戻す。   In step S808, the position shape determination module 202 determines whether the final arrangement position of the corresponding flat plate object has been determined for all parts of the extended two-dimensional object. If the position / shape determination module 202 determines that the final placement position of the corresponding flat plate object has been determined for all parts, the process moves to S809, and a part for which the final placement position has not yet been determined is determined. If it is determined that it exists, the process returns to S804.

S809で、配置モジュール204は、拡張2次元オブジェクトと3次元オブジェクトとを3次元空間に配置する。ここで、拡張2次元オブジェクトの各パーツについては、配置モジュール204は決定された最終的な配置位置の情報に基づいて、各パーツのメッシュを適用する平板オブジェクト(変形がなされているものも含む)を3次元空間に配置する。   In step S809, the arrangement module 204 arranges the extended two-dimensional object and the three-dimensional object in the three-dimensional space. Here, for each part of the extended two-dimensional object, the placement module 204 applies a mesh of each part based on the determined final placement position information (including a deformed flat object). Are arranged in a three-dimensional space.

S810で、描画モジュール205は、3次元空間に配置された各オブジェクト(3次元オブジェクト及び平板オブジェクト群)を視点情報に基づいて描画し、表示部110に提示する画面の生成を行う。本ステップの描画処理では、一般的な3次元空間の描画処理と同様に、順次深度バッファを形成し、遮蔽関係を考慮しながらピクセル単位の描画が行われる。   In step S810, the drawing module 205 draws each object (three-dimensional object and flat object group) arranged in the three-dimensional space based on the viewpoint information, and generates a screen to be displayed on the display unit 110. In the rendering process in this step, similarly to the rendering process in a general three-dimensional space, a depth buffer is sequentially formed, and rendering is performed in units of pixels while considering the shielding relationship.

このようにすることで、視点移動に応じて3次元空間に配置する平板オブジェクトを異ならせる必要がある拡張2次元オブジェクトであっても、3次元オブジェクトとの遮蔽関係を整合させた好適な描画表現を提供できるように取り扱うことが可能となる。   By doing in this way, even if it is an extended two-dimensional object which needs to change the flat object arrange | positioned in three-dimensional space according to viewpoint movement, suitable drawing expression which matched the shielding relationship with a three-dimensional object It becomes possible to handle so that it can be provided.

[実施形態2]
上述した実施形態1では、簡単のため拡張2次元オブジェクトは基準姿勢を保持し、かつ拡張2次元オブジェクト及び3次元オブジェクトの移動が生じない、即ち描画オブジェクトが静的である状態について、視点情報の変更に伴う遮蔽関係を整合させる拡張2次元オブジェクトの描画方法について説明した。一方で、本発明に係る拡張2次元オブジェクトと3次元オブジェクトとを3次元空間に共存させた描画は、これら描画オブジェクトが静的な状態に限られるものではない。以下、本実施形態では、描画オブジェクトに対して適用されるモーションや、障害物等の外的要因に基づいて描画オブジェクトに生じる状態変更等を含む、動的要素を考慮した状態変更を行う態様についての、拡張2次元オブジェクトの描画方法について説明する。なお、本実施形態の描画アプリケーションに係るプログラムを実行するPC100は、実施形態1と同様の構成であるものとして各機能ブロックの説明は省略する。
[Embodiment 2]
In the first embodiment described above, for the sake of simplicity, the extended two-dimensional object maintains the reference posture and the extended two-dimensional object and the three-dimensional object do not move, that is, the drawing information is static. A method of drawing an extended two-dimensional object that matches the shielding relationship associated with the change has been described. On the other hand, the drawing in which the extended two-dimensional object and the three-dimensional object according to the present invention coexist in the three-dimensional space is not limited to a static state of these drawing objects. Hereinafter, in the present embodiment, a mode for performing a state change in consideration of dynamic elements including a motion applied to the drawing object and a state change generated in the drawing object based on an external factor such as an obstacle. A method for drawing the extended two-dimensional object will be described. Note that the PC 100 that executes the program related to the drawing application of the present embodiment has the same configuration as that of the first embodiment, and description of each functional block is omitted.

キャラクタ等の拡張2次元オブジェクトに動きを生じさせた場合には、該オブジェクトを構成する大部分のパーツ(顔の各パーツ、輪郭等)は、ルートジョイントの位置変更及びルートジョイントにおける回転に追従する形で配置位置は変更されるが、基本的にはその際視点に対応した描画方向について定められた形状や奥行き順序のメッシュが描画に用いられる。一方で、例えばキャラクタの髪型や長い耳のように、拡張2次元オブジェクトに生じたルートオブジェクト周りの動き(加速度や角加速度(回転加速度))に起因してはいるが、独立した挙動や形状変化を示すことが好ましいパーツも存在する。このように、一部のパーツについて独立した挙動や形状変化を生じさせようとした場合、やはり3次元空間に共存させる3次元オブジェクトとの間で意図しない干渉、遮蔽関係の不整合等が生じ得る。従って、本実施形態では、このようなルートオブジェクト周りの動きや、重力加速度・風等の存在によって生じる動的要素による影響を反映させるべく、起伏情報のジョイントを、動的要素の適用によって位置や姿勢の変更を可能ならしめる「物理点」として取り扱う。   When a motion is generated in an extended two-dimensional object such as a character, most parts (each part of the face, contour, etc.) constituting the object follow the position change of the root joint and the rotation in the root joint. Although the arrangement position is changed depending on the shape, a mesh having a shape or a depth order determined for the drawing direction corresponding to the viewpoint is basically used for drawing. On the other hand, independent behaviors and shape changes are caused by movements around the root object (acceleration and angular acceleration (rotational acceleration)) that occur in the extended two-dimensional object, such as the character's hairstyle and long ears. There are also parts that preferably exhibit In this way, when an independent behavior or shape change is caused for some parts, unintended interference with a three-dimensional object that coexists in a three-dimensional space, inconsistency in a shielding relationship, or the like may occur. . Therefore, in the present embodiment, in order to reflect the influence of dynamic elements caused by the movement around the root object and the presence of gravity acceleration, wind, etc., the undulation information joints are positioned and Treated as a “physical point” that enables posture change.

《モジュール構成》
以下、本実施形態の描画アプリケーションに係るプログラムを実行することで実現される、本発明に係る機能モジュールについて、図2を用いて説明する。本実施形態のように動的要素を考慮した状態変更を行う態様では、機能モジュールは実施形態1の構成に加え、図2において破線を用いて示した構成をさらに含む(一点鎖線を用いて示した構成は含まない)。なお、実施形態1と同様に、本実施形態では描画アプリケーションに係るプログラムによって、下記の機能モジュールがソフトウェアにより実現されるものとして説明するが、各モジュールが実現する機能の一部または全部は、該機能を有する特定のハードウェアにより提供されるものであってもよいし、ソフトウェアとハードウェアの双方を用いて実現されるものであってもよい。
<Module configuration>
Hereinafter, functional modules according to the present invention that are realized by executing a program according to the drawing application of the present embodiment will be described with reference to FIG. In the aspect of performing the state change in consideration of dynamic elements as in the present embodiment, the functional module further includes the configuration shown by using a broken line in FIG. 2 in addition to the configuration of the first embodiment (shown using a one-dot chain line). Configuration is not included). As in the first embodiment, in this embodiment, the following functional modules are described as being realized by software by a program related to a drawing application. However, some or all of the functions realized by each module are It may be provided by specific hardware having a function, or may be realized by using both software and hardware.

物理演算モジュール211は、拡張2次元オブジェクトに動的要素の適用を行う場合の、各物理点の挙動を導出する。本実施形態では簡単のため、拡張2次元オブジェクトと3次元ブジェクトとで構成される描画オブジェクトについて、予め定められたモーションの適用や位置/姿勢変更がなされた場合に、物理演算モジュール211はその過程で、3次元空間の環境(他のオブジェクトの存在等)、該描画オブジェクトの初期姿勢、風や重力加速度といった外的要因を考慮し、起伏情報に含まれる各物理点の挙動を動的に導出する。このとき、物理演算モジュール211は、重力による影響だけでなく、衝突による反発性能や弾性等を考慮するものであってよい、所謂物理演算を行うことで、このような動的要素に起因する物理点の位置及び姿勢変更を導出する。   The physical operation module 211 derives the behavior of each physical point when applying a dynamic element to the extended two-dimensional object. For the sake of simplicity in the present embodiment, when a predetermined motion is applied or a position / posture is changed for a drawing object composed of an extended two-dimensional object and a three-dimensional object, the physics operation module 211 performs the process. In consideration of external factors such as 3D space environment (existence of other objects, etc.), initial posture of the drawing object, wind and gravitational acceleration, the behavior of each physical point included in the relief information is derived dynamically. To do. At this time, the physics calculation module 211 performs not only the influence due to gravity but also so-called physics calculation that may take into account the resilience performance and elasticity due to the collision, etc. Derives point position and orientation changes.

形状変更モジュール212は、物理演算モジュール211により行われた物理演算の結果に基づき、位置や姿勢変更の行われた起伏情報が対応付けられたパーツのメッシュ(もしくは平板オブジェクト)について、キャンバス平面における形状変更を行う。上述した実施形態1では、起伏情報に基づく描画工程の変更は、起伏適用モジュール203が、起伏情報が対応付けられたパーツに係る平板オブジェクトの各頂点について、奥行き方向の深度値を変更することについてのみ行われるものとして説明した。即ち、実施形態1では、拡張2次元オブジェクトの位置及び姿勢の変更が行われない静的な状態を想定していたため、起伏情報は平板オブジェクトの凹凸形状の変更(頂点単位での深度値の変更)にのみ用いられるものとして説明した。本実施形態では、拡張2次元オブジェクトに対して動的要素の適用がなされた場合の状態変化を提示するため、形状変更モジュール212が、パーツのメッシュに対して描画方向について予め定められた形状を動的要素に応じて変更しつつ、かつ、起伏適用モジュール203が、このように形状変更されたメッシュを適用する平板オブジェクトの凹凸形状を変更する態様について説明する。換言すれば、本実施形態では起伏情報は、対応付けられたパーツのメッシュに対して動的要素の適用によって生じる2次元の変形(もしくは表現変更)と、当該変形を反映した上で変化した起伏に基づく、該パーツのメッシュを適用する平板オブジェクトにおける各頂点の深度値の変更と、に用いられる。   Based on the result of the physics calculation performed by the physics calculation module 211, the shape change module 212 determines the shape on the canvas plane for the mesh (or flat plate object) of the part associated with the undulation information for which the position and orientation have been changed. Make a change. In the first embodiment described above, the drawing process based on the undulation information is changed by the undulation application module 203 changing the depth value in the depth direction for each vertex of the flat object related to the part to which the undulation information is associated. Only described as being done. That is, in the first embodiment, since the static state in which the position and orientation of the extended two-dimensional object are not changed is assumed, the undulation information is a change in the concavo-convex shape of the flat object (change in the depth value in units of vertices). ) Was used only for the explanation. In this embodiment, in order to present a state change when a dynamic element is applied to an extended two-dimensional object, the shape change module 212 uses a shape predetermined for the drawing direction for the mesh of the part. An aspect will be described in which the relief application module 203 changes the uneven shape of the flat object to which the mesh whose shape has been changed in this way is applied while changing according to the dynamic element. In other words, in this embodiment, the undulation information includes two-dimensional deformation (or expression change) caused by application of dynamic elements to the mesh of the associated part, and the undulation that has changed after reflecting the deformation. The depth value of each vertex in the flat object to which the mesh of the part is applied is changed based on.

《物理点によるメッシュ形状変更》
ここで、動的要素の適用によって起伏情報の変更が生じたことに応じて生じる、該起伏情報が対応付けられたパーツのメッシュ形状の変更について説明する。
《Mesh shape change by physical point》
Here, the change in the mesh shape of the part associated with the undulation information, which occurs in response to the change in the undulation information caused by the application of the dynamic element, will be described.

起伏情報は、上述した実施形態1と同様に、ボーンを介してルートジョイントに接続されたジョイント群により構成され、本実施形態ではこれらジョイントが物理点として取り扱われることで、例えば慣性表現や重力表現等を動的に反映させることができる。一方で、起伏情報により示されるジョイント群は、上述したように拡張2次元オブジェクトの基準姿勢について、3次元空間におけるルートジョイントとの相対位置が定められ、拡張2次元オブジェクト自体の移動もしくはルートジョイントにおける拡張2次元オブジェクトの回転に応じて位置を変えるものであるため、ルートジョイントから離間させた位置における部分的な隆起表現を姿勢に依らず担保させる等の側面も有する。故に、跳ね髪や結い髪のように、動的要素の適用による変化は生じさせたいが、重力に反発するような立体表現をデザイナが所望することも考慮し、物理点の各々には、動的要素による影響を受けないか否か、即ちルートジョイント(もしくは親ジョイント)との相対位置を維持するか否かの情報(例えば論理型の拘束情報:真で動的要素による影響を受けない、偽で動的要素による影響を受ける)が関連付けられる。従って、物理演算モジュール211は、起伏情報に含まれる物理点のうち、関連付けられた拘束情報が偽である物理点のみについて、動的要素の適用に応じた3次元空間における位置の導出を行う。   The undulation information is configured by a joint group connected to the root joint via a bone, as in the first embodiment described above. In this embodiment, these joints are handled as physical points, for example, an inertia expression or a gravity expression. Etc. can be reflected dynamically. On the other hand, as described above, the joint group indicated by the undulation information has a relative position with respect to the root joint in the three-dimensional space with respect to the reference posture of the extended two-dimensional object. Since the position is changed in accordance with the rotation of the extended two-dimensional object, it also has a side face such as ensuring a partial bulge expression at a position separated from the root joint regardless of the posture. Therefore, considering that the designer wants a three-dimensional expression that repels gravity, such as splashing hair and tying hair, it wants to change due to the application of dynamic elements. Information on whether or not to be affected by the dynamic element, that is, whether or not to maintain the relative position to the root joint (or parent joint) (for example, logical constraint information: true and not affected by the dynamic element, False and affected by dynamic elements). Therefore, the physical calculation module 211 derives the position in the three-dimensional space according to the application of the dynamic element only for the physical points whose associated constraint information is false among the physical points included in the undulation information.

動的要素を適用するイベントが発生すると、物理演算モジュール211は、起伏情報の各物理点(拘束情報が偽のもの)について、適用する動的要素に係る物理演算を行って変化後の位置を決定する。拡張2次元オブジェクトの移動や姿勢変更によって生じる影響を適用する場合、ルートジョイントに対して与えられた加速度、角加速度の伝播を表現するため、物理演算モジュール211は、起伏情報に係るボーンで結束された物理点を結束順においてルートジョイントに近いものから順に選択して、変化後の位置を導出する処理を行えばよい。ここで、物理演算モジュール211が導出する位置は、3次元空間における絶対位置を示すワールド座標、ルートジョイントとの相対位置を示す座標、親ジョイントである物理点との相対位置を各々示す座標のいずれとして導出されるものであってもよい。本実施形態では、拡張2次元オブジェクトの姿勢変更に係るルートジョイント周りの回転がなされた場合に、該回転後の起伏情報の各物理点の位置の情報をワールド座標に変換するため、物理演算モジュール211は、物理演算の実行後の起伏情報の各物理点の位置の情報を、ワールド座標として導出するものとして説明する。   When an event for applying a dynamic element occurs, the physics calculation module 211 performs a physics calculation on the applied dynamic element for each physical point of the undulation information (constraint information is false) to determine the position after the change. decide. When applying the influence caused by the movement or posture change of the extended two-dimensional object, the physics calculation module 211 is bound by the bone related to the undulation information in order to express the propagation of acceleration and angular acceleration given to the root joint. The physical points may be selected in order from the closest to the root joint in the binding order, and the process of deriving the changed position may be performed. Here, the position derived by the physics calculation module 211 is any of world coordinates indicating the absolute position in the three-dimensional space, coordinates indicating the relative position with the root joint, and coordinates indicating the relative position with the physical point that is the parent joint. It may be derived as In this embodiment, when rotation around the root joint related to the posture change of the extended two-dimensional object is performed, the physical operation module converts the position information of each physical point of the undulation information after the rotation into world coordinates. Reference numeral 211 denotes that information on the position of each physical point of the undulation information after execution of the physical calculation is derived as world coordinates.

このように動的要素の適用による変更後の起伏情報が導出されると、形状変更モジュール212は、該変更後の起伏情報に基づき、対応付けられたパーツのメッシュ形状の変更処理を行う。   When the undulation information after the change due to the application of the dynamic element is derived in this way, the shape change module 212 performs a process for changing the mesh shape of the associated part based on the undulation information after the change.

対応付けられたパーツのメッシュ形状の変更にあたり、形状変更モジュール212はまず、起伏情報の各物理点に生じた空間座標の変更を、キャンバス平面における2次元の位置変更の情報に変換する。即ち、拡張2次元オブジェクトの描画は、基本的には視点から奥行き方向に配置される平板オブジェクト群により行われるため、3次元的に行われた起伏情報の変形を該当のパーツの2次元画像であるメッシュに適用すべく、形状変更モジュール212は、起伏情報に係る物理点に生じた変更の内容を、奥行き方向の移動を排除した変更情報に変換する。具体的には形状変更モジュール212は、動的要素の適用前後の起伏情報をキャンバス平面に投影し、各物理点について
・該物理点が結束される親ジョイント(もしくはルートジョイント)の、動的要素の適用前から適用後の移動量t
・該物理点が結束される親ジョイント(もしくはルートジョイント)の位置を中心とした回転角の、動的要素の適用前から適用後の差分θ
を導出する。ここで、回転角の差分θは、例えばキャンバス平面のいずれかの軸を基準に、親ジョイントからの回転量を動的要素の適用前後のそれぞれ求め、その差分として導出すればよい(正負により回転方向の判断可)。このようにすることで、動的要素の適用による起伏情報に生じた変更を、描画方向に係る該当パーツのメッシュに適用するための情報に変換することができる。
In changing the mesh shape of the associated part, the shape change module 212 first converts the change of the spatial coordinates generated at each physical point of the undulation information into the information of two-dimensional position change on the canvas plane. In other words, since the extended 2D object is basically drawn by the flat object group arranged in the depth direction from the viewpoint, the deformation of the relief information performed in 3D can be performed with the 2D image of the corresponding part. In order to apply to a certain mesh, the shape change module 212 converts the content of the change that has occurred at the physical point related to the relief information into change information that excludes movement in the depth direction. Specifically, the shape change module 212 projects the undulation information before and after the application of the dynamic element onto the canvas plane, and for each physical point. The dynamic element of the parent joint (or root joint) to which the physical point is bound Travel t from before application to after application
The difference θ between the rotation angle around the position of the parent joint (or root joint) where the physical point is bound before and after application of the dynamic element
Is derived. Here, for example, the rotation angle difference θ may be derived as the difference between the rotation amount from the parent joint before and after the application of the dynamic element based on any axis of the canvas plane (rotation by positive / negative). Direction can be determined). By doing in this way, the change which arises in the relief information by application of a dynamic element can be converted into the information for applying to the mesh of the applicable part which concerns on a drawing direction.

物理点(拘束情報が真のものも含む)ごとのキャンバス平面での変更情報(移動量t及び回転角差分θ)を導出すると、形状変更モジュール212は、該当パーツのメッシュの各頂点について、起伏情報の各物理点からの影響をどの程度反映させるかを示す重み分布を導出する。本実施形態の描画アプリケーションでは、パーツのメッシュに動的要素の影響を反映させるため、メッシュの頂点ごとに行う位置の変更量(移動及び回転)を、対応付けられた起伏情報の各物理点について得られた変更情報を重み付け加算することにより導出する。重み分布は、キャンバス平面に投影した際の、メッシュの頂点と動的要素の適用前の状態の各物理点との距離に応じて定まるものであってよく、頂点に近接する物理点に係る変更情報ほど重みが高くなるよう決定される(重みの総和は1となる)。   When the change information (movement amount t and rotation angle difference θ) on the canvas plane for each physical point (including the one whose constraint information is true) is derived, the shape change module 212 undulates each vertex of the mesh of the corresponding part. A weight distribution indicating how much the influence from each physical point of information is reflected is derived. In the drawing application of this embodiment, in order to reflect the influence of the dynamic element on the mesh of the part, the change amount (movement and rotation) of the position performed for each vertex of the mesh is set for each physical point of the associated relief information. The change information obtained is derived by weighted addition. The weight distribution may be determined according to the distance between the vertex of the mesh and each physical point in the state before application of the dynamic element when projected onto the canvas plane, and changes related to physical points close to the vertex The information is determined so that the weight becomes higher (the sum of the weights is 1).

形状変更モジュール212は、重み分布を決定すると、該当パーツのメッシュの各頂点について、該頂点に係る重み分布に基づいて各物理点の変更情報を重み付け加算し、動的要素の変更後の頂点位置を決定する。このようにすることで、動的要素の適用を受けない物理点周辺に存在する頂点はあまり移動せず、動的要素の適用を受ける物理点周辺に存在する頂点ほど移動するといった、デザイナの所望する描画表現を担保した、動的要素によるパーツ変形を実現することができる。   When the shape change module 212 determines the weight distribution, the change information of each physical point is weighted and added to each vertex of the mesh of the corresponding part based on the weight distribution related to the vertex, and the vertex position after changing the dynamic element To decide. By doing so, vertices that exist around physical points that are not subject to application of dynamic elements do not move much, and vertices that exist around physical points that are subject to application of dynamic elements move so that the designer desires It is possible to realize part deformation by a dynamic element that guarantees the drawing expression to be performed.

ここで、例えば後ろ髪パーツに対し、図9(a)に示されるような、ボーン903a、物理点902a及びボーン903bを介してルートジョイントに結束される起伏情報901(物理点902b〜dとボーン903c及びd)が拡張2次元オブジェクトに定義されている態様において、ルートジョイントを中心として、拡張2次元オブジェクトにピッチ成分の回転が生じた場合を考える。このとき、起伏情報901は、拡張2次元オブジェクトの基準姿勢についての相対位置を定義しているため、動的要素の適応を行わなければ図9(b)に示されるように、起伏情報自体が3次元オブジェクトに干渉し得る。   Here, for example, for the back hair part, as shown in FIG. 9A, undulation information 901 (physical points 902b-d and bone 903c) bound to the root joint via the bone 903a, the physical point 902a, and the bone 903b. And d) where the extended two-dimensional object is defined, consider the case where the rotation of the pitch component occurs in the extended two-dimensional object around the root joint. At this time, since the undulation information 901 defines the relative position with respect to the reference posture of the extended two-dimensional object, if the dynamic element is not adapted, as shown in FIG. Can interfere with 3D objects.

一方で、起伏情報901において、拘束情報は物理点902bにのみ真を示すものが関連付けられ、他の物理点902c及びdには偽を示すものが関連付けられているものとした場合、後者の物理点群については動的要素の適用に応じた3次元空間における位置変更が生じる。従って、物理演算モジュール211による物理演算を基に動的要素の適用を行うことで、起伏情報901は、3次元モデルと干渉しない図9(c)の起伏情報901’のような状態となる。   On the other hand, in the undulation information 901, when the constraint information is associated with only the physical point 902b indicating true and the other physical points 902c and d are associated with false indicating the latter physical As for the point group, the position in the three-dimensional space is changed according to the application of the dynamic element. Therefore, by applying the dynamic element based on the physical calculation by the physical calculation module 211, the undulation information 901 becomes a state like the undulation information 901 'in FIG. 9C that does not interfere with the three-dimensional model.

従って、このように動的要素の適用がなされることで起伏情報901の3次元形状が変更されるため、これに基づいて実施形態1と同様に、対応付けられたパーツに係る平板オブジェクトの奥行き方向の深度値の変形を行うことで、図10に示されるように後ろ髪パーツのメッシュを適用する平板オブジェクトを、変更後の起伏情報901’に沿う3次元形状に変更することができ、やはり3次元オブジェクトとの干渉を回避させつつ、好適な描画表現の提示を行うことができる。なお、ここで、平板オブジェクトの奥行き方向に係るキャンバス平面への正射影の形状は、描画方向に対応付けられた該パーツのメッシュの形状が、起伏情報901及び901’に基づく変形が適用された形状となっているものとする。   Therefore, since the three-dimensional shape of the undulation information 901 is changed by applying the dynamic element in this way, the depth of the flat object related to the associated part is based on this, as in the first embodiment. By changing the depth value of the direction, the flat object to which the mesh of the back hair part is applied as shown in FIG. 10 can be changed to a three-dimensional shape along the changed undulation information 901 ′. It is possible to present a suitable drawing expression while avoiding interference with the dimension object. Here, the shape of the orthographic projection onto the canvas plane in the depth direction of the flat object is obtained by applying deformation based on the relief information 901 and 901 ′ to the shape of the mesh of the part associated with the drawing direction. Suppose that it has a shape.

《表示制御処理》
以下、上記のモジュール構成を有する描画アプリケーションを実行した場合にPC100において実現される、本実施形態の表示制御処理について、図11のフローチャートを用いて具体的な処理を説明する。該フローチャートに対応する処理は実施形態1と同様に、制御部101が、例えば記録媒体102に記憶されている描画アプリケーションに対応する処理プログラムを読み出し、メモリ103に展開して実行することにより実現することができる。なお、本表示制御処理は、例えば描画アプリケーションが実行された際に開始され、各フレームの画面描画のために繰り返し実行されるものとして説明する。また本実施形態の表示制御処理において、実施形態1の表示制御処理と同様の処理を行うステップについては同一の参照番号を付して説明を省略し、以下では、本実施形態において特徴的な処理についてのみ説明する。
《Display control processing》
Hereinafter, specific processing of the display control processing of the present embodiment, which is realized in the PC 100 when the drawing application having the above-described module configuration is executed, will be described with reference to the flowchart of FIG. Similar to the first embodiment, the processing corresponding to the flowchart is realized by the control unit 101 reading, for example, a processing program corresponding to a drawing application stored in the recording medium 102, developing it in the memory 103, and executing it. be able to. This display control process will be described as being started, for example, when a drawing application is executed and repeatedly executed for screen drawing of each frame. Further, in the display control process of the present embodiment, the same reference numerals are assigned to the steps for performing the same process as the display control process of the first embodiment, and the description thereof will be omitted. Only will be described.

S1101で、制御部101は、前のフレームからの視点移動、描画オブジェクト(拡張2次元オブジェクト及び3次元オブジェクト)の状態変更、及び影響を及ぼす動的要素の発生、の少なくともいずれかが生じたか否かを判断する。これらの要素は、実施形態1と同様に、所定の操作入力の有無により発生の有無を判断するものであってもよいし、描画オブジェクトの姿勢変更がなされたか、描画オブジェクトへのモーションの適用中であるか、または物理点の移動を生じせしめる外的要因が生じているか、により発生の有無を判断するものであってもよい。制御部101は、前のフレームからの視点移動、描画オブジェクトの状態変更、及び影響を及ぼす動的要素の発生の少なくともいずれかが生じたと判断する場合は処理をS1102に移し、いずれも生じていないと判断した場合は処理をS808に移す。   In step S <b> 1101, the control unit 101 determines whether or not at least one of viewpoint movement from the previous frame, state change of a drawing object (extended 2D object and 3D object), and generation of an influencing dynamic element has occurred. Determine whether. As in the first embodiment, these elements may be determined based on the presence / absence of a predetermined operation input, or the posture of the drawing object may be changed, or motion is being applied to the drawing object. Or whether or not an external factor causing the movement of the physical point has occurred. If the control unit 101 determines that at least one of the viewpoint movement from the previous frame, the change of the state of the drawing object, and the generation of the dynamic element that has an influence has occurred, the process proceeds to S1102, and none has occurred. If it is determined, the process proceeds to S808.

S1102で、描画方向設定モジュール201は、現在の視点と拡張2次元オブジェクトとの位置関係、及び拡張2次元オブジェクトの状態に基づいて、拡張2次元オブジェクトについての描画方向を決定する。実施形態1と異なり、本実施形態では拡張2次元オブジェクト自体のルートジョイント周りの姿勢変更(基準ベクトルの方向変更)も行われるため、描画方向設定モジュール201は、視点情報と拡張2次元オブジェクトの位置及び姿勢の情報に基づいて、視点からルートジョイントに向かうベクトルと、拡張2次元オブジェクトの正面方向を示す基準ベクトルとのなす角度を導出し、描画方向を決定する。   In step S1102, the drawing direction setting module 201 determines a drawing direction for the extended two-dimensional object based on the positional relationship between the current viewpoint and the extended two-dimensional object and the state of the extended two-dimensional object. Unlike Embodiment 1, in this embodiment, the orientation of the extended 2D object itself around the root joint is also changed (the direction of the reference vector is changed), so that the drawing direction setting module 201 uses the viewpoint information and the position of the extended 2D object. Based on the posture information, an angle formed by a vector from the viewpoint toward the root joint and a reference vector indicating the front direction of the extended two-dimensional object is derived to determine the drawing direction.

S1103で、物理演算モジュール211は、拡張2次元オブジェクトのいずれかのパーツに対応付けられている起伏情報が存在するか否かを判断する。物理演算モジュール211は、いずれかのパーツに対応付けられている起伏情報が存在すると判断した場合、処理をS1104に移し、存在しないと判断した場合は処理をS803に移す。   In step S1103, the physical operation module 211 determines whether there is undulation information associated with any part of the extended two-dimensional object. If the physical operation module 211 determines that there is undulation information associated with any part, the process proceeds to S1104, and if it does not exist, the process proceeds to S803.

S1104で、物理演算モジュール211は、現在の起伏情報の各ジョイントの3次元空間中の位置(ワールド座標)を、現在の拡張2次元オブジェクトの位置及び姿勢の情報に基づいて導出する。   In step S1104, the physics calculation module 211 derives the position (world coordinates) of each joint in the three-dimensional space of the current undulation information based on the information on the position and orientation of the current extended two-dimensional object.

S1105で、物理演算モジュール211は、起伏情報に拘束情報が偽である物理点が含まれ、かつ起伏情報に影響を及ぼす動的要素が発生したか否かを判断する。物理演算モジュール211は、拘束情報が偽である物理点が含まれ、かつ起伏情報に影響を及ぼす動的要素が発生したと判断した場合は処理をS1106に移し、拘束情報が偽である物理点が含まれない、または影響を及ぼす動的要素が発生していないと判断した場合は処理をS803に移す。   In step S <b> 1105, the physics calculation module 211 determines whether or not the undulation information includes a physical point whose constraint information is false and a dynamic element that affects the undulation information has occurred. If the physical calculation module 211 determines that a physical point that includes constraint information that is false and includes a dynamic element that affects the undulation information, the physical calculation module 211 moves the process to S1106, and the physical point that the constraint information is false. If it is determined that no dynamic element is included or no dynamic element has been generated, the process proceeds to S803.

S1106で、物理演算モジュール211は、適用される動的要素に基づいて起伏情報の各物理点について物理演算を行い、動的要素の適用後の起伏情報をさらに構成する。このとき、後の処理で使用するため適用前の起伏情報も保持されているものとする。   In S1106, the physical calculation module 211 performs physical calculation on each physical point of the undulation information based on the applied dynamic element, and further configures the undulation information after application of the dynamic element. At this time, it is assumed that undulation information before application is also retained for use in later processing.

S1107で、形状変更モジュール212は、動的要素の適用前後の起伏情報をそれぞれキャンバス平面に投影し、各物理点について変更情報を導出する。   In step S <b> 1107, the shape change module 212 projects the undulation information before and after applying the dynamic element onto the canvas plane, and derives change information for each physical point.

S803において、拡張2次元オブジェクトの各パーツのメッシュ形状及び奥行き順序が決定された描画方向に係る状態に設定され、各メッシュを適用する平板オブジェクトの各頂点の位置及び奥行き方向の深度値が暫定的に決定されると、形状変更モジュール212はS1108で、導出した変更情報に基づくメッシュ形状及び該メッシュを適用する平板オブジェクトの面形状の変形を行う。上述の説明から、本変形の対象は、起伏情報が対応付けられたパーツのメッシュ及びこれを適用する平板オブジェクトであり、該当しないパーツについて本ステップの処理が行われないことは容易に理解されよう。なお、本ステップの処理において、変形の実行前には、メッシュの各頂点に対する重み分布の生成が行われる。   In step S803, the mesh shape and depth order of each part of the extended two-dimensional object are set to a state related to the determined drawing direction, and the position of each vertex of the flat object to which each mesh is applied and the depth value in the depth direction are provisional. In step S1108, the shape change module 212 deforms the mesh shape based on the derived change information and the plane shape of the flat object to which the mesh is applied. From the above description, it is easy to understand that the object of this deformation is a mesh of parts associated with undulation information and a flat plate object to which this is applied, and this step will not be performed for non-applicable parts. . In the process of this step, a weight distribution is generated for each vertex of the mesh before the deformation is executed.

このようにすることで、動的要素の適用を含む態様においても、拡張2次元オブジェクトと3次元オブジェクトとを3次元空間に共存させて描画する際に、3次元オブジェクトとの遮蔽関係を整合させた好適な描画表現を提供することが可能となる。   In this way, even in a mode including application of dynamic elements, when drawing an extended 2D object and a 3D object in a 3D space, the shielding relationship with the 3D object is matched. It is possible to provide a suitable drawing expression.

[変形例]
上述した実施形態2では、動的要素の適用によって起伏情報を変更することで、拡張2次元オブジェクトと3次元オブジェクトとが干渉する状況の発生を低減できるものとして説明した。しかしながら、3次元オブジェクトに対して適用されるモーションや拡張2次元オブジェクトの姿勢によっては、動的要素の適用によって起伏情報を変更したとしてもオブジェクト間の干渉が生じ得る。
[Modification]
In Embodiment 2 described above, it has been described that the occurrence of a situation in which the extended two-dimensional object and the three-dimensional object interfere can be reduced by changing the undulation information by applying the dynamic element. However, depending on the motion applied to the three-dimensional object and the posture of the extended two-dimensional object, even if the undulation information is changed by applying a dynamic element, interference between objects may occur.

例えば、図9(a)に示したような、起伏情報が定義された拡張2次元オブジェクトと3次元オブジェクトとで構成されるキャラクタが、図12(a)に示されるような「お辞儀」の姿勢をとるとすると、後ろ髪パーツに対応付けられた起伏情報のうちの拘束情報が偽である物理点は、図示されるように3次元オブジェクトよりも視点寄りの3次元位置に移動する。しかしながら、拡張2次元オブジェクトが正面方向を向いている基準姿勢から該お辞儀の動作が開始される場合、起伏情報の物理点が3次元オブジェクトの背面側から前面側に移動遷移することになるため、その過程において後ろ髪パーツが3次元オブジェクトを貫通する(すり抜ける)ような描画表現がなされ得る。   For example, as shown in FIG. 9A, the character composed of the extended 2D object and the 3D object for which undulation information is defined is in a “bow” posture as shown in FIG. Is taken, the physical point for which the constraint information in the undulation information associated with the back hair part is false moves to a three-dimensional position closer to the viewpoint than the three-dimensional object as shown in the figure. However, when the operation of the bow is started from the reference posture in which the extended two-dimensional object is facing the front direction, the physical point of the undulation information moves from the back side to the front side of the three-dimensional object. In the process, a drawing expression in which the back hair part penetrates (passes through) the three-dimensional object can be made.

このため、起伏情報に含まれる各物理点には3次元オブジェクトとの接触判定を行うためのオブジェクト(所謂コリジョン)が設定され、物理演算モジュール211は物理演算において、3次元オブジェクトについて設定されるコリジョンと物理点について設定されるコリジョンとが交差(重複)し得るか否かを判定し、交差するのであれば、交差しない状態(接触している状態)となるよう該物理点の3次元空間における位置を決定すればよい。   For this reason, an object (so-called collision) for performing contact determination with the three-dimensional object is set at each physical point included in the undulation information, and the physical calculation module 211 is a collision set for the three-dimensional object in the physical calculation. And the collision set for the physical point are determined to intersect (overlapping), and if they intersect, the physical point in the three-dimensional space is not crossed (contacted). What is necessary is just to determine a position.

また、起伏情報と3次元オブジェクトとは、必ずしも物理点におけるコリジョンで接触判定ができるとは限らない。例えば拡張2次元オブジェクトが基準姿勢から図12(a)に示される姿勢まで遷移する態様では、遷移の過程で3次元オブジェクトの腕部のコリジョン1201と最初に接触する起伏情報の部位は、物理点902bや物理点902cに係るコリジョンではなく、該物理点間を結束するボーン上の点となり得る。故に、該ボーン上の点に基づいて深度値を決定する平板オブジェクトの頂点が存在した場合、やはり後ろ髪パーツが3次元オブジェクトを貫通する描画表現がなされてしまう。   Further, contact information between the undulation information and the three-dimensional object cannot always be determined by collision at a physical point. For example, in an aspect in which the extended two-dimensional object transitions from the reference posture to the posture shown in FIG. 12A, the portion of the relief information that first contacts the collision 1201 of the arm portion of the three-dimensional object in the transition process is a physical point. It can be a point on the bone that binds between the physical points, not the collision associated with 902b or the physical point 902c. Therefore, when there is a vertex of a flat object that determines a depth value based on a point on the bone, a drawing expression in which the back hair part penetrates the three-dimensional object is also made.

故に、動的要素の適用に応じた起伏情報の変更遷移において、3次元オブジェクトのコリジョンとボーンとが最初に接触する場合、物理演算モジュール211は、該ボーン上の接触点の位置に新たな物理点を追加するよう起伏情報を変更し、接触判定及び接触に伴う起伏情報の変更を行うようにしてもよい。例えば図12(a)の態様に対してこれを適用する場合、物理演算モジュール211は図12(b)に示されるように新たな物理点1202を追加し、該物理点のコリジョン1203が腕部のコリジョン1201と交差しないよう、物理点1202の3次元空間における位置を決定し、これを反映した上で物理点902c及びdの位置を物理演算により決定するようにしてもよい。   Therefore, in the change transition of the relief information according to the application of the dynamic element, when the collision of the three-dimensional object and the bone first contact, the physics calculation module 211 adds a new physical at the position of the contact point on the bone. The undulation information may be changed so as to add a point, and the contact determination and the undulation information associated with the contact may be changed. For example, when this is applied to the mode of FIG. 12A, the physical calculation module 211 adds a new physical point 1202 as shown in FIG. 12B, and the collision 1203 of the physical point is an arm part. The position of the physical point 1202 in the three-dimensional space may be determined so as not to intersect with the collision 1201, and the positions of the physical points 902c and d may be determined by physical calculation after reflecting this.

このように起伏情報について3次元オブジェクトとの間で接触判定(衝突判定)を行うことにより、不整合な描画表現が提示されないよう、遮蔽関係にあるパーツの平板オブジェクトの立体的形状を定義することが可能となる。   By defining contact information (collision determination) with the three-dimensional object for the undulation information in this way, defining the three-dimensional shape of the flat object of the parts in a shielding relationship so that inconsistent drawing expressions are not presented Is possible.

[実施形態3]
ところで、上述した実施形態及び変形例では、拡張2次元オブジェクトの描画にあたり、視点と該オブジェクトのルートジョイントとの位置関係、及び該オブジェクトのルートジョイントにおける姿勢とに基づいて描画方向を設定し、設定した描画方向について定められた描画表現で拡張2次元オブジェクトを提示するものとして説明した。即ち、描画方向が設定されると、拡張2次元オブジェクトの全パーツのメッシュは、該描画方向について定められた形状に変形され、キャンバス平面にて同一形状を有する平板オブジェクトに適用されることで3次元空間に配置、描画される態様について説明した。
[Embodiment 3]
By the way, in the embodiment and the modification described above, when drawing an extended two-dimensional object, the drawing direction is set and set based on the positional relationship between the viewpoint and the root joint of the object and the posture of the object at the root joint. In the above description, the extended two-dimensional object is presented in a drawing expression defined for the drawing direction. That is, when the drawing direction is set, the mesh of all the parts of the extended two-dimensional object is transformed into a shape determined with respect to the drawing direction and is applied to the flat object having the same shape on the canvas plane. The mode of arrangement and drawing in the dimensional space has been described.

このような態様は、上述した透視投影方式の描画表現を実現するための調整処理と同様で、視点と拡張2次元オブジェクトとの距離が遠離している場合には好適な描画表現を提示することが可能であるが、視点と拡張2次元オブジェクトが近接している場合や、急峻な角度の煽りや俯瞰の構図の視点となる場合には、好適な描画表現とならない可能性がある。これは、拡張2次元オブジェクトの全てのパーツについての描画方向を、該オブジェクトのルートジョイントを基準に定めていることに依るものである。   Such an aspect is similar to the adjustment process for realizing the perspective projection rendering expression described above, and presents a suitable rendering expression when the distance between the viewpoint and the extended two-dimensional object is far away. However, when the viewpoint and the extended two-dimensional object are close to each other, or when the viewpoint is a sharp angle or an overhead composition, there is a possibility that a suitable rendering expression may not be obtained. This is because the drawing direction for all parts of the extended two-dimensional object is determined based on the root joint of the object.

視点と拡張2次元オブジェクトとが遠離している場合、視点情報に基づいて描画されるスクリーン座標系において、ルートジョイントと、該ルートジョイント周辺に配置される各パーツのメッシュ(平板オブジェクト)とは近接する。つまり、拡張2次元オブジェクトが現れる領域はスクリーン中の所定の範囲に収まるため、視点から拡張2次元オブジェクトの各パーツを鑑賞する方向の差異を無視することができ、各パーツのメッシュが同一の描画方向について定められた形状となっていても、観賞者に違和感を与えない。   When the viewpoint and the extended 2D object are far apart, in the screen coordinate system drawn based on the viewpoint information, the root joint and the mesh (flat plate object) of each part arranged around the root joint are close to each other To do. In other words, since the area where the extended 2D object appears falls within a predetermined range on the screen, the difference in the viewing direction of each part of the extended 2D object from the viewpoint can be ignored, and the mesh of each part is drawn the same. Even if the shape is determined for the direction, it does not give the viewer a sense of incongruity.

一方で、視点と拡張2次元オブジェクトとが近接している場合や、急峻な角度の煽りや俯瞰の構図の視点となる場合等では、スクリーン座標において、ルートジョイントと、該ルートジョイント周辺に配置される各パーツのメッシュとが離間する。つまり、拡張2次元オブジェクトが現れる領域がスクリーン中の所定の範囲に収まらないため、視点から拡張2次元オブジェクトの各パーツを鑑賞する方向に無視できない差異が生じ、各パーツのメッシュが同一の描画方向について定められた形状となっていた場合、図13(a)に示されるように観賞者に違和感を与え得る。特に、視点が描画オブジェクトに向かって近接する、もしくは描画オブジェクトから遠離する方向に移動遷移する場合、透視投影方式では、視点との位置関係によって観賞される面が異なる、あるいは遮蔽関係が異なるといった描画表現がなされることが好適であるが、描画方向についてメッシュ形状や奥行き順序が定義されている拡張2次元オブジェクトではこのような表現ができなかった。また、視点と拡張2次元オブジェクトとが遠離していたとしても、スクリーン座標系においてルートジョイントから離間した位置に及んでメッシュが展開されるパーツが含まれる場合、同様に好適な描画表現とならない。   On the other hand, when the viewpoint and the extended two-dimensional object are close to each other, or when the viewpoint is a sharp angle or a bird's eye view composition, the screen joint is arranged around the root joint and the root joint. The mesh of each part is separated. In other words, since the area where the extended 2D object appears does not fit within the predetermined range on the screen, there is a difference that cannot be ignored in the viewing direction of each part of the extended 2D object from the viewpoint, and the mesh of each part has the same drawing direction. If the shape is determined for the viewer, the viewer may feel uncomfortable as shown in FIG. In particular, when the viewpoint moves closer to the drawing object or moves away from the drawing object, the perspective projection method draws different views depending on the positional relationship with the viewpoint or the shielding relationship is different. It is preferable that the expression is made, but such an expression cannot be performed in the extended two-dimensional object in which the mesh shape and the depth order are defined with respect to the drawing direction. Even if the viewpoint and the extended two-dimensional object are separated from each other, if a part where the mesh is developed is included in a position separated from the root joint in the screen coordinate system, a suitable drawing expression is not obtained.

即ち、3次元形状が定義され、透視投影方式に対応している3次元オブジェクトと、そもそも描画方式の異なる拡張2次元オブジェクトとを3次元空間に共存させて描画する場合には、スクリーンとして提供される画角内で、視点との距離に応じて好適な遠近感の描画表現を提示するための処理が必要となる。従って、本実施形態では、拡張2次元オブジェクトの描画用に決定された描画方向を、該オブジェクトを構成するパーツごとに、その状態に応じて変更することで好適な描画表現を提供する方法について説明する。   In other words, when a 3D object having a defined 3D shape and corresponding to a perspective projection method and an extended 2D object having a different drawing method are drawn together in a 3D space, it is provided as a screen. Within the angle of view, a process for presenting a perspective rendering suitable for the distance from the viewpoint is required. Therefore, in the present embodiment, a method for providing a suitable drawing expression by changing the drawing direction determined for drawing the extended two-dimensional object for each part constituting the object according to the state will be described. To do.

《モジュール構成》
以下、本実施形態の描画アプリケーションに係るプログラムを実行することで実現される、本実施形態の発明に係る機能モジュールについて、図2を用いて説明する。本実施形態のようにパーツの配置位置と視点との位置関係に応じて描画方向の変更を行う態様では、機能モジュールは実施形態1の構成に加え、図2において一点鎖線を用いて示した構成をさらに含む(破線を用いて示した構成は含まない)。即ち、本実施形態では説明を簡単にするため、拡張2次元オブジェクトは基準姿勢を保持し、拡張2次元オブジェクト及び3次元オブジェクトの移動は生じず、動的要素の適用もない態様を例に説明する。
<Module configuration>
Hereinafter, a functional module according to the invention of the present embodiment realized by executing a program related to the drawing application of the present embodiment will be described with reference to FIG. In the aspect in which the drawing direction is changed according to the positional relationship between the arrangement position of the parts and the viewpoint as in the present embodiment, the functional module has a configuration shown by using a one-dot chain line in FIG. 2 in addition to the configuration of the first embodiment. (The configuration shown using a broken line is not included). That is, in this embodiment, for the sake of simplicity of explanation, the extended two-dimensional object retains the reference posture, the extended two-dimensional object and the three-dimensional object do not move, and no dynamic element is applied. To do.

なお、上述の実施形態と同様に、本実施形態では描画アプリケーションに係るプログラムによって、下記の機能モジュールがソフトウェアにより実現されるものとして説明するが、各モジュールが実現する機能の一部または全部は、該機能を有する特定のハードウェアにより提供されるものであってもよいし、ソフトウェアとハードウェアの双方を用いて実現されるものであってもよい。   As in the above-described embodiment, in the present embodiment, the following functional modules are described as being realized by software according to a program related to a drawing application, but some or all of the functions realized by each module are as follows: It may be provided by specific hardware having the function, or may be realized by using both software and hardware.

描画方向変更モジュール221は、拡張2次元オブジェクトの各パーツについて、該パーツの提示にあたって描画方向設定モジュール201により設定された描画方向(基準描画方向)を変更するか否かの判断、及び該パーツについて適用する新たな描画方向(整合描画方向)を決定する。パーツについて描画方向を変更するか否かの判断は、パーツの状態について定められた条件を満たすか否かにより行われる。本実施形態では簡単のため、描画方向変更モジュール221は、ルートジョイントと所定の距離離間するものとして特定可能であるため、パーツに起伏情報が対応付けられていることを条件として、描画方向の変更を行うと判断するものとする。   The drawing direction change module 221 determines, for each part of the extended two-dimensional object, whether or not to change the drawing direction (reference drawing direction) set by the drawing direction setting module 201 when presenting the part. A new drawing direction to be applied (consistent drawing direction) is determined. Whether or not to change the drawing direction for a part is determined by whether or not a condition defined for the state of the part is satisfied. In the present embodiment, for the sake of simplicity, the drawing direction change module 221 can be specified as being separated from the root joint by a predetermined distance, so that the drawing direction can be changed on the condition that undulation information is associated with the part. It shall be determined that

補正モジュール222は、描画方向変更モジュール221によりパーツに対して整合描画方向が決定された場合に、該パーツのメッシュ及び平板オブジェクトを整合描画方向に応じた位置に補正する補正量を導出する。ここで、描画方向設定モジュール201によって設定された基準描画方向と、描画方向変更モジュール221により変更された整合描画方向とでは、パーツのメッシュについて定められる位置、形状及び奥行き順序は異なり得る。即ち、単純に整合描画方向について定められた情報に基づいてパーツのメッシュ(及び平板オブジェクト)の配置位置を決定すると、もともと設定されていた基準描画方向について配置位置が確定している他のパーツとの間で描画表現に齟齬が生じ得るため、補正モジュール222は、整合描画方向について形状変更したメッシュの位置を、変更前の基準描画方向に対応する位置に変更する補正を行う。本実施形態では、メッシュあるいは該メッシュを適用する平板オブジェクトの配置位置は、対応付けられた起伏情報のジョイントを基準に定まるものであるため、補正モジュール222は、整合描画方向の描画表現に変更したメッシュの配置位置を、配置位置の基準とするジョイントの位置に応じて変更し、描画表現を整合させる。   When the matching drawing direction is determined for the part by the drawing direction changing module 221, the correction module 222 derives a correction amount for correcting the mesh and the flat object of the part to a position corresponding to the matching drawing direction. Here, the position, shape, and depth order determined for the part mesh may differ between the reference drawing direction set by the drawing direction setting module 201 and the matching drawing direction changed by the drawing direction change module 221. That is, when the arrangement position of the part mesh (and the plate object) is simply determined based on the information determined for the matching drawing direction, the arrangement position for the reference drawing direction that was originally set is determined with other parts. The correction module 222 performs correction to change the position of the mesh whose shape is changed in the matching drawing direction to a position corresponding to the reference drawing direction before the change. In the present embodiment, since the arrangement position of the mesh or the flat object to which the mesh is applied is determined based on the associated relief information joint, the correction module 222 has changed the drawing representation to the matching drawing direction. The arrangement position of the mesh is changed according to the position of the joint as the reference of the arrangement position, and the drawing expression is matched.

《描画方向の変更》
ここで、描画方向変更モジュール221により条件を満たすパーツについて行われる、整合描画方向の決定方法について、図14を用いて説明する。図14の例では説明を簡単にするため、視点に係る視線方向ベクトル1401と拡張2次元オブジェクトの基準ベクトル1402とが正対しており、拡張2次元オブジェクトの後ろ髪パーツに、ジョイント1403b及びcとボーン1404b及びcとで構成される起伏情報が対応付けられているものとする。図は、決定される整合描画方向を把握しやすいよう、これらオブジェクト及び起伏情報を鳥瞰する態様にて示している。
《Change drawing direction》
Here, a method for determining the matching drawing direction performed for the parts satisfying the condition by the drawing direction changing module 221 will be described with reference to FIG. In the example of FIG. 14, for the sake of simplicity of explanation, the line-of-sight direction vector 1401 related to the viewpoint and the reference vector 1402 of the extended two-dimensional object face each other. It is assumed that the undulation information composed of 1404b and c is associated. The figure shows these objects and undulation information in a bird's-eye view so that it is easy to grasp the determined matching drawing direction.

上述した通り、図14に示される例では、視線方向ベクトル1401と基準ベクトルが正対しているため、描画方向設定モジュール201は拡張2次元オブジェクトについて正面方向に対応する描画方向を基準描画方向として設定している。従って、各パーツのメッシュは、設定された基準描画方向に応じた形状に変更される。一方で、後ろ髪パーツについて対応付けられた起伏情報のうち、パーツ上部の配置位置の基準となるジョイント1403bと視点とを結ぶ直線は、ルートジョイントと視点とを結ぶ直線と角度φをなしている。即ち、後ろ髪パーツのメッシュを基準描画方向に応じた形状とした場合、当該角度φが大きいほど、視点からジョイント1403bに向かう方向に存在する後ろ髪パーツを観賞する際に提示されるであろう描画表現と乖離することになる。   As described above, in the example shown in FIG. 14, the line-of-sight direction vector 1401 and the reference vector face each other, so the drawing direction setting module 201 sets the drawing direction corresponding to the front direction as the reference drawing direction for the extended two-dimensional object. doing. Therefore, the mesh of each part is changed to a shape corresponding to the set reference drawing direction. On the other hand, in the undulation information associated with the back hair part, the straight line connecting the joint 1403b serving as a reference for the arrangement position of the upper part of the part and the viewpoint forms an angle φ with the straight line connecting the root joint and the viewpoint. That is, when the mesh of the back hair part is shaped according to the reference drawing direction, the drawing expression that will be presented when viewing the back hair part existing in the direction from the viewpoint toward the joint 1403b as the angle φ increases. Will deviate from.

このため、描画方向変更モジュール221は、後ろ髪パーツについての描画方向(整合描画方向)を、視点とルートジョイントとの位置関係に基づいて設定された基準描画方向から、視点とジョイント1403bとの位置関係に基づく方向に変更する。なお、本実施形態では簡単のため、パーツについて起伏情報が対応付けられている場合に、該起伏情報のうちの1つのジョイントに基づいて決定した整合描画方向を、該パーツに対して適用するものとして説明するが、本実施形態の発明の実施はこれに限られるものではない。即ち、起伏情報が対応付けられたパーツについての整合描画方向は複数決定されるものであってもよく、例えば起伏情報のボーンのそれぞれに対応する部位にパーツを細分化し、細分化された部位ごとに親ジョイントに基づいて決定した整合描画方向を割り当てるものとしてもよい。   For this reason, the drawing direction change module 221 sets the drawing direction (consistent drawing direction) for the back hair part from the reference drawing direction set based on the positional relationship between the viewpoint and the root joint, and the positional relationship between the viewpoint and the joint 1403b. Change the direction based on. For simplicity, in this embodiment, when undulation information is associated with a part, the matching drawing direction determined based on one joint of the undulation information is applied to the part. However, the implementation of the present invention is not limited to this. That is, a plurality of matching drawing directions may be determined for the parts associated with the undulation information. For example, the parts are subdivided into parts corresponding to the bones of the undulation information, and each subdivided part is divided. The matching drawing direction determined based on the parent joint may be assigned to.

《表示制御処理》
以下、上記のモジュール構成を有する描画アプリケーションを実行した場合にPC100において実現される、本実施形態の表示制御処理について、図15のフローチャートを用いて具体的な処理を説明する。該フローチャートに対応する処理は上述の実施形態と同様に、制御部101が、例えば記録媒体102に記憶されている描画アプリケーションに対応する処理プログラムを読み出し、メモリ103に展開して実行することにより実現することができる。なお、本表示制御処理は、例えば描画アプリケーションが実行された際に開始され、各フレームの画面描画のために繰り返し実行されるものとして説明する。また本実施形態の表示制御処理において、実施形態1の表示制御処理と同様の処理を行うステップについては同一の参照番号を付して説明を省略し、以下では、本実施形態において特徴的な処理についてのみ説明する。
《Display control processing》
Hereinafter, specific processing of the display control processing of the present embodiment realized in the PC 100 when the drawing application having the above-described module configuration is executed will be described with reference to the flowchart of FIG. The processing corresponding to the flowchart is realized by the control unit 101 reading out a processing program corresponding to, for example, a drawing application stored in the recording medium 102 and developing the processing program in the memory 103 and executing the same as in the above-described embodiment. can do. This display control process will be described as being started, for example, when a drawing application is executed and repeatedly executed for screen drawing of each frame. Further, in the display control process of the present embodiment, the same reference numerals are assigned to the steps for performing the same process as the display control process of the first embodiment, and the description thereof will be omitted. Only will be described.

S802における基準描画方向の設定がなされた後、描画方向変更モジュール221はS1501で、描画方向の変更を行うパーツが存在するか否かを判断する。本実施形態では描画方向変更モジュール221は、上述した通り、起伏情報が対応付けられているパーツの有無に応じて本ステップの判断を行う。描画方向変更モジュール221は、描画方向の変更を行うパーツが存在すると判断した場合は処理をS1502に移し、存在しないと判断した場合は処理をS803に移す。   After the reference drawing direction is set in S802, the drawing direction change module 221 determines in S1501 whether or not there is a part whose drawing direction is to be changed. In the present embodiment, as described above, the drawing direction change module 221 makes a determination in this step according to the presence / absence of a part associated with undulation information. If the drawing direction change module 221 determines that there is a part whose drawing direction is to be changed, the drawing direction changing module 221 moves the process to S1502, and if it determines that there is no part, moves the process to S803.

S1502で、描画方向変更モジュール221は、描画方向の変更を行うパーツのそれぞれについて、整合描画方向を決定する。より詳しくは描画方向変更モジュール221は、起伏情報に含まれるジョイントと視点とを結ぶ直線と、ルートジョイントと視点とを結ぶ直線のなす角度に基づいて、整合描画方向の決定を行う。   In step S1502, the drawing direction change module 221 determines a matching drawing direction for each part whose drawing direction is to be changed. More specifically, the drawing direction change module 221 determines the matching drawing direction based on the angle formed by the straight line connecting the joint and the viewpoint included in the undulation information and the straight line connecting the root joint and the viewpoint.

S1503で、位置形状決定モジュール202は、拡張2次元オブジェクトの各パーツのメッシュ形状及び奥行き順序を決定された描画方向に係る状態に設定し、各メッシュを適用する平板オブジェクトの各頂点の位置及び奥行き方向の深度値を暫定的に決定する。本ステップの処理は、基本的にはS803において行われるものとして説明した処理と同様であるが、描画方向の変更を行うものとして判断されたパーツについては、基準描画方向に基づいて処理が行われるのではなく、S1502において決定された整合描画方向に基づいて処理が行われる。   In step S1503, the position shape determination module 202 sets the mesh shape and depth order of each part of the extended two-dimensional object to a state related to the determined drawing direction, and the position and depth of each vertex of the flat object to which each mesh is applied. The depth value of the direction is tentatively determined. The processing in this step is basically the same as the processing described as being performed in S803. However, for parts determined to be changed in the drawing direction, the processing is performed based on the reference drawing direction. Instead, the process is performed based on the matching drawing direction determined in S1502.

S1504で、補正モジュール222は、描画方向の変更を行うものとして判断されたパーツについて、キャバス平面上における該パーツのメッシュの位置を、整合描画方向について定まる位置から、基準描画方向について定まる同パーツのメッシュの位置に変更する補正量を導出する。そして位置形状決定モジュール202は、導出された補正量にもとづき、該パーツのメッシュ及びこれを適用する平板オブジェクトのキャンバス空間における位置を変更して、処理をS804に移す。   In step S <b> 1504, for the part that is determined to change the drawing direction, the correction module 222 changes the mesh position of the part on the cabas plane from the position that is determined for the matching drawing direction to the part that is determined for the reference drawing direction. A correction amount to be changed to the mesh position is derived. Then, based on the derived correction amount, the position shape determination module 202 changes the position of the mesh of the part and the flat object to which the part mesh is applied in the canvas space, and moves the process to S804.

このようにすることで、拡張2次元オブジェクトの描画において、視点との位置関係に応じたより好適な描画表現を提示することができる。例えば、拡張2次元オブジェクトの全てのパーツを、基準描画方向について定まるメッシュ形状で描画した場合には、図13(a)に示されるような描画表現となって遠近表現が好適になされないが、本実施形態の描画アプリケーションによれば、ルートジョイントから遠離するよう起伏情報が対応付けられているパーツの描画方向が変更されるため、図13(b)に示されるような描画表現とすることができる。   By doing so, it is possible to present a more suitable drawing expression according to the positional relationship with the viewpoint in the drawing of the extended two-dimensional object. For example, when all the parts of the extended two-dimensional object are drawn in a mesh shape determined with respect to the reference drawing direction, the perspective expression is not suitably achieved as the drawing expression shown in FIG. According to the drawing application of the present embodiment, since the drawing direction of the part associated with the relief information is changed so as to move away from the root joint, the drawing expression as shown in FIG. it can.

なお、本実施形態では、パーツについて新たな描画方向を決定するか否かを、該パーツに起伏情報が対応付けられているか否かに基づいて判断するものとして説明したが、判断基準はこれに限られるものではない。上述したように視点とルートジョイントとを結ぶ直線とのなす角度に基づいて整合描画方向を決定する方式では、例えば設定された基準描画方向に係るパーツをいずれの位置に配置する際に参照される、3次元空間中の参照点が特定できる態様であれば、起伏情報に含まれるジョイントに代えて利用してもよい。即ち、パーツについて起伏情報が対応付けられていなくても、該パーツに係るメッシュや平板オブジェクトの配置位置の決定の基準となる参照点と視点とを結ぶ直線と、ルートジョイントと視点とを結ぶ直線とのなす角に基づいて、描画方向変更モジュール221は整合描画方向を決定するものとしてもよい。   In the present embodiment, it has been described that whether or not to determine a new drawing direction for a part is determined based on whether or not undulation information is associated with the part. It is not limited. As described above, in the method of determining the matching drawing direction based on the angle formed by the straight line connecting the viewpoint and the root joint, for example, it is referred to when the part related to the set reference drawing direction is arranged at any position. As long as the reference point in the three-dimensional space can be specified, it may be used instead of the joint included in the undulation information. That is, even if undulation information is not associated with a part, a straight line that connects a reference point and a viewpoint, which is a reference for determining a placement position of a mesh or a flat object related to the part, and a straight line that connects a root joint and a viewpoint The drawing direction change module 221 may determine the matching drawing direction based on the angle between the two.

また整合描画方向は、このようにパーツへの参照点の対応付けがなされる態様でなくとも、視点情報に基づいて描画を行った際に、スクリーン座標系においてパーツがどのように分布するかを特定可能な態様であれば、同様に決定可能である。つまり、透視投影方式の描画では、1つの拡張2次元オブジェクトを描画する画面において、即ち、視点に係る画角内において、各パーツがルートジョイントとどのように分布するかに依って、好適な遠近表現や観賞されるべき方向が定まるため、スクリーン座標におけるルートジョイントと各パーツの位置関係に応じて、描画方向変更モジュール221は整合描画方向を決定してもよい。このような態様では、スクリーン座標においてルートジョイントと近接するパーツについては、基準描画方向から変更したとしても、生じる描画表現の差異は微差とみなすことができるため、新たに整合描画方向を決定するパーツは、演算量を低減せしめるべく、スクリーン座標においてルートジョイントから所定の距離を越えて離間した位置に配置されるものに限定するものとしてもよい。   In addition, the matching drawing direction indicates how the parts are distributed in the screen coordinate system when drawing is performed based on viewpoint information, even if the reference points are not associated with the parts in this way. Any mode that can be identified can be determined in the same manner. In other words, in perspective projection drawing, on the screen for drawing one extended two-dimensional object, that is, within the angle of view related to the viewpoint, the preferred perspective depends on how each part is distributed with the root joint. Since the direction to be expressed and appreciated is determined, the drawing direction changing module 221 may determine the matching drawing direction according to the positional relationship between the root joint and each part in the screen coordinates. In such an aspect, even if the part close to the root joint in the screen coordinates is changed from the reference drawing direction, the resulting drawing expression difference can be regarded as a slight difference, so a new matching drawing direction is determined. In order to reduce the amount of calculation, the parts may be limited to those that are arranged at positions separated from the root joint by a predetermined distance in the screen coordinates.

また、本実施形態のように拡張2次元オブジェクトであっても、パーツごとに描画方向を決定する手法を採用するのであれば、描画オブジェクトを拡張2次元オブジェクトと3次元オブジェクトとで構成せずに、全て拡張2次元オブジェクトで構成したとしても、透視投影方式に相当する描画表現を提示することもできることは容易に理解されよう。   Further, even in the case of an extended two-dimensional object as in the present embodiment, if a method of determining the drawing direction for each part is adopted, the drawing object is not composed of the extended two-dimensional object and the three-dimensional object. It will be easily understood that even if all of the two-dimensional objects are configured, a drawing expression corresponding to the perspective projection method can be presented.

[実施形態4]
上述した実施形態1乃至3及び変形例では、特徴的な機能構成を簡素に説明すべく、それぞれ該当の機能構成による効果が現れやすい独立した態様を例として挙げたが、本発明の実施において、これらの機能構成は如何様に組み合わせられるものであってよい。
[Embodiment 4]
In the above-described Embodiments 1 to 3 and the modified examples, in order to briefly explain the characteristic functional configuration, an independent mode in which the effect of the corresponding functional configuration is likely to appear is given as an example. These functional configurations may be combined in any way.

本実施形態では、全ての機能構成を組み合わせた態様について説明する。即ち、本実施形態の描画アプリケーションに係るプログラムを実行することで実現される機能モジュールは、図2に実線、破線、及び一点鎖線を用いて示した全ての構成を含む。   In this embodiment, a mode in which all functional configurations are combined will be described. That is, the functional module realized by executing the program related to the drawing application of the present embodiment includes all the configurations shown in FIG. 2 using solid lines, broken lines, and alternate long and short dash lines.

《表示制御処理》
以下、図2に示されるモジュール構成を有する描画アプリケーションを実行した場合にPC100において実現される、本実施形態の表示制御処理について、図16のフローチャートを用いて具体的な処理を説明する。該フローチャートに対応する処理は実施形態1と同様に、制御部101が、例えば記録媒体102に記憶されている描画アプリケーションに対応する処理プログラムを読み出し、メモリ103に展開して実行することにより実現することができる。なお、本表示制御処理は、例えば描画アプリケーションが実行された際に開始され、各フレームの画面描画のために繰り返し実行されるものとして説明する。また本実施形態の表示制御処理において、実施形態1乃至3の表示制御処理と同様の処理を行うステップについては同一の参照番号を付して説明を省略し、以下では、本実施形態において特徴的な処理についてのみ説明する。
《Display control processing》
Hereinafter, specific processing of the display control processing of the present embodiment, which is realized in the PC 100 when the drawing application having the module configuration illustrated in FIG. 2 is executed, will be described with reference to the flowchart of FIG. Similar to the first embodiment, the processing corresponding to the flowchart is realized by the control unit 101 reading, for example, a processing program corresponding to a drawing application stored in the recording medium 102, developing it in the memory 103, and executing it. be able to. This display control process will be described as being started, for example, when a drawing application is executed and repeatedly executed for screen drawing of each frame. In the display control process of the present embodiment, the same reference numerals are assigned to the steps for performing the same processes as those of the display control processes of the first to third embodiments, and description thereof will be omitted. Only the processing will be described.

S1105において、起伏情報に拘束情報が偽である物理点が含まれ、かつ気風情報に影響を及ぼす動的要素が発生したと判断した場合、物理演算モジュール211はS1601で、適用される動的要素に基づいて物理演算を行い、動的要素の適用後の起伏情報を更に構成する。このとき、物理演算モジュール211は、起伏情報に含まれる物理点またはボーンと3次元オブジェクトとの接触判定を行い、必要に応じて起伏情報の物理点を増やしつつ、3次元オブジェクトと交差しないような状態の起伏情報を構成する。   In S1105, when it is determined that the undulation information includes a physical point whose constraint information is false and a dynamic element that affects the airflow information has occurred, the physics calculation module 211 determines in S1601 that the dynamic element to be applied Physics is performed based on the above, and the undulation information after application of the dynamic element is further configured. At this time, the physics calculation module 211 performs contact determination between the physical point or bone included in the undulation information and the three-dimensional object, and increases the physical point of the undulation information as necessary so as not to intersect with the three-dimensional object. Configure the undulation information of the state.

またS1501において描画方向の変更を行うパーツが存在すると判断した場合、描画方向変更モジュール221はS1602で、描画方向の変更を行うパーツのそれぞれについて整合描画方向を決定する。本実施形態の表示制御処理では、動的要素の適用も考慮しているため、起伏情報に変更が生じた場合、各物理点における正面方向にも変化が生じ得る。即ち、起伏情報の各物理点は、拡張2次元オブジェクトが基準姿勢であって静的な状態にある場合に、基準ベクトルと同一の方向に正面方向が定義されているが、拡張2次元オブジェクトの姿勢変更や動的要素の適用によって、親ジョイント周りの回転や子の物理点の移動が生じた場合、対象の物理点における正面方向が変化する。換言すれば、動的要素の適用がなされた場合、起伏情報により示される起伏(物理点とボーンにより形成される3次元的形状)中に、所謂「ねじれ」のような影響が生じる。   If it is determined in S1501 that there is a part whose drawing direction is to be changed, the drawing direction change module 221 determines a matching drawing direction for each part whose drawing direction is changed in S1602. In the display control process of this embodiment, since application of dynamic elements is also taken into consideration, when the undulation information is changed, the front direction at each physical point may also change. That is, each physical point of the undulation information has a front direction defined in the same direction as the reference vector when the extended two-dimensional object is in a reference posture and is in a static state. When rotation around a parent joint or movement of a physical point of a child occurs due to posture change or application of a dynamic element, the front direction at the target physical point changes. In other words, when a dynamic element is applied, an effect such as so-called “twist” occurs in the undulation (three-dimensional shape formed by physical points and bones) indicated by the undulation information.

このため、本実施形態の描画アプリケーションでは、描画方向の変更を行うパーツについての整合描画方向は、ルートジョイントと物理点との3次元空間における位置関係だけでなく、該物理点における姿勢変更も考慮して、整合描画方向の決定を行う。   For this reason, in the drawing application of this embodiment, the matching drawing direction for the part whose drawing direction is to be changed is not limited to the positional relationship in the three-dimensional space between the root joint and the physical point, but also the posture change at the physical point is considered. Then, the alignment drawing direction is determined.

またS1503及びS1504、あるいはS803において、拡張2次元オブジェクトの各パーツのメッシュ形状及び奥行き順序が決定された基準描画方向または整合描画方向に係る状態に設定され、各メッシュを適用する平板オブジェクトの各頂点の位置及び奥行き方向の深度値が暫定的に決定されると、形状変更モジュール212はS1603で、導出した変更情報に基づくメッシュ形状及び該メッシュを適用する平板オブジェクトの面形状の変形を行う。このとき、変形の実行前に生成されるメッシュの各頂点に対する重み分布は、描画方向の変更が行われたパーツについては、整合描画方向に係るメッシュに基づいて生成される。   In addition, in S1503 and S1504 or S803, each vertex of the flat object to which each mesh is applied is set in a state related to the reference drawing direction or the matching drawing direction in which the mesh shape and the depth order of each part of the extended two-dimensional object are determined. If the position value and the depth value in the depth direction are tentatively determined, the shape changing module 212 deforms the mesh shape based on the derived change information and the plane shape of the flat object to which the mesh is applied in S1603. At this time, the weight distribution with respect to each vertex of the mesh generated before execution of the deformation is generated based on the mesh related to the matching drawing direction for the parts whose drawing direction has been changed.

このようにすることで、起伏情報への動的要素の適用、動的要素の適用に伴う拡張2次元オブジェクトと3次元的表現との間における干渉の発生回避、及び視点との位置関係に応じた描画方向の動的な変更を複合的に実現した、拡張2次元オブジェクトの好適な描画表現を示す画面を提示することができる。   In this way, depending on the application of dynamic elements to relief information, the avoidance of interference between the extended 2D object and the 3D representation accompanying the application of dynamic elements, and the positional relationship with the viewpoint In addition, it is possible to present a screen showing a suitable drawing expression of the extended two-dimensional object in which the dynamic change of the drawing direction is realized in combination.

例えば、上記複合的な態様によれば、以下のような態様においても、よりデザイナの所望する描画表現を実現することができる。図17(a)に示されるように、キャラクタの描画オブジェクトに対して「お辞儀」のモーションを適用する際に、正面上方からキャラクタ頭頂部と正対する視点1701が設定される態様を考える。実施形態2+変形例の構成では、拡張2次元オブジェクトのパーツ群は、基準描画方向となるキャラクタ頭頂部について定められた、図18(a)のようなメッシュ形状に変形されるため、これを図17(b)に示されるような起伏情報1702に沿った形状の板オブジェクト1703に適用すると、図18(b)に示されるように、後ろ髪のパーツの毛先の描画表現が適切でなくなる。即ち、後ろ髪のパーツのメッシュを適用する平板オブジェクト1704は、頭頂部と正対する描画方向においてy成分の拡がりがない状態となるが、動的要素を考慮した頂点の位置変更がなされることで、キャンバス平面内で拡大され、これを起伏情報1702に基づいて深度値を決定することになるため、毛先の描画表現等が失われた状態で提示されることになる。一方で、さらに実施形態3の構成を含めた場合、後ろ髪のパーツについては起伏情報1702の物理点に応じた整合描画方向が設定されるため、図18(c)に示されるような、拡張2次元オブジェクトの基準姿勢を正面上方から見下ろす描画表現を、該パーツのメッシュに反映させることができる。結果、起伏情報1702に沿った形状の板オブジェクト1703に適用したとしても、図18(d)に示されるように、デザイナ所望の毛先の描画表現を提示することができる。   For example, according to the above composite aspect, even in the following aspect, it is possible to realize a rendering expression desired by the designer. As shown in FIG. 17A, consider a mode in which a viewpoint 1701 facing the character top is set from the upper front when applying a “bow” motion to a character drawing object. In the configuration of the embodiment 2+ modified example, the group of parts of the extended two-dimensional object is deformed into a mesh shape as shown in FIG. When applied to a plate object 1703 having a shape along the undulation information 1702 as shown in FIG. 17 (b), as shown in FIG. That is, the flat object 1704 to which the mesh of the back hair part is applied is in a state where the y component does not spread in the drawing direction facing the top of the head, but the vertex position is changed in consideration of the dynamic element, Since it is enlarged in the canvas plane and the depth value is determined based on the undulation information 1702, it is presented in a state in which the drawing expression of the hair ends is lost. On the other hand, when the configuration of the third embodiment is further included, the alignment drawing direction corresponding to the physical point of the undulation information 1702 is set for the back hair part, so that the extension 2 as shown in FIG. A drawing expression in which the reference posture of the dimensional object is looked down from the upper front can be reflected in the mesh of the part. As a result, even if it is applied to the plate object 1703 having a shape along the undulation information 1702, as shown in FIG.

[その他の実施形態]
本発明は上記実施の形態に制限されるものではなく、本発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。また本発明に係るプログラムは、コンピュータが読み取り可能な記録媒体に記録されることにより、あるいは電気通信回線を通じて、提供/配布することができる。
[Other Embodiments]
The present invention is not limited to the above-described embodiment, and various changes and modifications can be made without departing from the spirit and scope of the present invention. Further, the program according to the present invention can be provided / distributed by being recorded on a computer-readable recording medium or through a telecommunication line.

100:PC、101:制御部、102:記録媒体、103:メモリ、104:描画部、105:表示制御部、106:操作入力部、110:表示部、201:描画方向設定モジュール、202:位置形状決定モジュール、203:起伏適用モジュール、204:配置モジュール、205:描画モジュール、211:物理演算モジュール、212:形状変更モジュール、221:描画方向変更モジュール、222:補正モジュール   100: PC, 101: control unit, 102: recording medium, 103: memory, 104: drawing unit, 105: display control unit, 106: operation input unit, 110: display unit, 201: drawing direction setting module, 202: position Shape determination module, 203: undulation application module, 204: arrangement module, 205: drawing module, 211: physical operation module, 212: shape change module, 221: drawing direction change module, 222: correction module

Claims (15)

コンピュータに、各々が2次元画像で構成されたパーツ群によって3次元的表現を実現する第1の種別の描画オブジェクトであって、描画される方向に応じてパーツ群の形状及び奥行き順序を変更することで、該方向に係る3次元的表現を実現する第1の種別の描画オブジェクトと、3次元形状を定義した第2の種別の描画オブジェクトと、を3次元空間に配置して描画させるプログラムであって、
前記プログラムは、
前記第1の種別の描画オブジェクトについて、該オブジェクトの前記3次元空間における配置位置と描画を行う視点を示す視点情報とに基づいて、該オブジェクトの描画される描画方向を決定する処理と、
前記第1の種別の描画オブジェクトを構成する各パーツの形状及び奥行き順序を、決定された前記描画方向に応じて変更する処理と、
前記変更がなされた前記第1の種別の描画オブジェクトを構成する各パーツの2次元画像を、前記視点から前記第1の種別の描画オブジェクトの配置位置に向かう奥行き方向と直交する平面を有する平板オブジェクトに適用することで、前記第1の種別の描画オブジェクトを前記3次元空間に配置する処理と、
前記第2の種別の描画オブジェクトを前記3次元空間に配置する処理と、
前記視点情報に基づいて、前記3次元空間に配置された前記第1の種別の描画オブジェクト及び前記第2の種別の描画オブジェクトを描画する処理と、
前記コンピュータに実行させ
前記第1の種別の描画オブジェクトを配置する処理が、前記第1の種別の描画オブジェクトを構成する少なくとも一部のパーツに対応付けられた、前記3次元空間における位置の情報を含む起伏情報に基づき、該パーツの2次元画像が適用された前記平板オブジェクトを変形させる処理を含む
ことを特徴とするプログラム。
A first type of drawing object that realizes a three-dimensional expression by a group of parts each composed of a two-dimensional image on a computer, and changes the shape and depth order of the parts group according to the drawing direction. Thus, a program that arranges and draws a first type of drawing object that realizes a three-dimensional representation of the direction and a second type of drawing object that defines a three-dimensional shape in a three-dimensional space. There,
The program is
For the first type of drawing object, a process for determining a drawing direction in which the object is drawn based on an arrangement position of the object in the three-dimensional space and viewpoint information indicating a viewpoint for drawing;
A process of changing the shape and depth order of each part constituting the drawing object of the first type according to the determined drawing direction;
A flat plate object having a plane orthogonal to the depth direction from the viewpoint toward the arrangement position of the drawing object of the first type, the two-dimensional image of each part constituting the drawing object of the first type having been changed To apply the first type drawing object in the three-dimensional space,
A process of arranging the second type of drawing object in the three-dimensional space;
A process of drawing the first type of drawing object and the second type of drawing object arranged in the three-dimensional space based on the viewpoint information;
To the computer ,
The process of arranging the first type of drawing object is based on undulation information including position information in the three-dimensional space associated with at least a part of the first type of drawing object. A program including a process of deforming the flat object to which the two-dimensional image of the part is applied.
前記起伏情報に基づいて変形される前記平板オブジェクトは、該変形の前後で前記奥行き方向における面形状が変化しないことを特徴とする請求項1に記載のプログラム。   The program according to claim 1, wherein the planar object deformed based on the undulation information does not change a surface shape in the depth direction before and after the deformation. 前記第1の種別の描画オブジェクトは、前記3次元空間における該オブジェクトの配置位置を定める基準点を中心に回転するよう、姿勢が設定されるものであり、
前記描画方向は、前記視点と前記基準点の位置関係、及び前記基準点における前記第1の種別の描画オブジェクトの回転量に基づいて決定される
ことを特徴とする請求項1または2に記載のプログラム。
The posture of the first type of drawing object is set so that the drawing object rotates around a reference point that determines an arrangement position of the object in the three-dimensional space,
3. The drawing direction according to claim 1, wherein the drawing direction is determined based on a positional relationship between the viewpoint and the reference point and a rotation amount of the first type of drawing object at the reference point. program.
前記プログラムは、動的要素の適用を行うことで、前記第1の種別の描画オブジェクトを構成する少なくともいずれかのパーツの状態に変更を加える処理を、前記コンピュータにさらに実行させ、
前記起伏情報は、前記動的要素の適用により変更される
ことを特徴とする請求項3に記載のプログラム。
The program further causes the computer to execute a process of changing the state of at least one part constituting the first type of drawing object by applying a dynamic element,
The program according to claim 3, wherein the undulation information is changed by application of the dynamic element.
前記第1の種別の描画オブジェクトを構成する各パーツの形状及び奥行き順序を変更する処理は、前記動的要素の適用により前記起伏情報が変更されたことに応じて、前記起伏情報が対応付けられたパーツの形状及び奥行き順序の少なくともいずれかを変更する処理を含むことを特徴とする請求項4に記載のプログラム。   The process of changing the shape and depth order of each part constituting the first type of drawing object is associated with the undulation information according to the change of the undulation information by application of the dynamic element. The program according to claim 4, further comprising a process of changing at least one of a shape of a part and a depth order. 前記起伏情報は、前記動的要素の適用がなされていない状態の前記第1の種別の描画オブジェクトに対し、前記3次元空間における前記基準点との相対位置が定められた点群の情報、及び該点群を結束する結束情報で構成され、
前記動的要素の適用がなされた状態の前記点群の各点の前記3次元空間における位置は、前記基準点の位置、該点に対する動的要素の適用により生じる移動、及び該点と結束された点との結束に係る前記結束情報に基づいて決定される
ことを特徴とする請求項4または5に記載のプログラム。
The undulation information is information on a point group in which a relative position with respect to the reference point in the three-dimensional space is determined for the first type of drawing object in a state where the dynamic element is not applied, and Consists of binding information for binding the point cloud,
The position in the three-dimensional space of each point of the point group in a state where the dynamic element has been applied is the position of the reference point, the movement caused by the application of the dynamic element to the point, and the point. 6. The program according to claim 4, wherein the program is determined on the basis of the binding information relating to binding with a broken point.
前記点群は、前記結束情報で示されるボーンを介して、前記基準点から順に接続されるジョイント群であり、
各ジョイントには、前記第1の種別の描画オブジェクトに対する前記動的要素の適用の有無に依らず、前記基準点との相対位置を維持するか否かの情報が関連付けられ、
前記動的要素の適用による前記起伏情報の変更は、前記基準点との相対位置を維持しないとの情報が関連付けられたジョイントに対して行われる
ことを特徴とする請求項6に記載のプログラム。
The point group is a joint group sequentially connected from the reference point through the bone indicated by the binding information,
Each joint is associated with information as to whether or not to maintain a relative position with respect to the reference point regardless of whether or not the dynamic element is applied to the first type of drawing object,
The program according to claim 6, wherein the change of the undulation information by the application of the dynamic element is performed on a joint associated with information that the relative position with respect to the reference point is not maintained.
前記動的要素の適用がなされた状態の各ジョイントの前記3次元空間における位置の決定は、結束順において、前記基準点までの間に存在するボーン数が少ないジョイントから順に行われることを特徴とする請求項7に記載のプログラム。   The determination of the position of each joint in the three-dimensional space in a state where the dynamic element is applied is performed in order from a joint having a small number of bones existing between the reference point in the binding order. The program according to claim 7. 前記動的要素の適用がなされた状態の各ジョイントの前記3次元空間における位置は、物理演算に基づいて決定されることを特徴とする請求項7または8に記載のプログラム。   The program according to claim 7 or 8, wherein a position in the three-dimensional space of each joint in a state where the dynamic element is applied is determined based on a physical operation. 前記動的要素の適用がなされた状態の各ジョイントの前記3次元空間における位置は、前記第2の種別の描画オブジェクトと交差しないように決定されることを特徴とする請求項7乃至9のいずれか1項に記載のプログラム。   10. The position of each joint in a state where the dynamic element is applied is determined so as not to intersect with the second type of drawing object. The program according to item 1. 前記動的要素の適用がなされた状態の各ジョイントの前記3次元空間における位置を決定したことにより、いずれかのボーンが前記第2の種別の描画オブジェクトと交差する場合に、該ボーンに新たなジョイントを追加し、前記第2の種別の描画オブジェクトと交差しないように前記起伏情報を変更することを特徴とする請求項10に記載のプログラム。   By determining the position of each joint in the state where the dynamic element is applied in the three-dimensional space, when any bone intersects the drawing object of the second type, a new one is added to the bone. The program according to claim 10, wherein a joint is added and the undulation information is changed so as not to intersect with the second type of drawing object. 前記起伏情報に基づく前記平板オブジェクトの変形は、該平板オブジェクトを前記3次元空間に配置した際に、適用された2次元画像に対して定義されている各頂点と最も近接するジョイントまたはボーン上の点の前記3次元空間における位置に応じて、前記奥行き方向における該頂点の深度値を変更することにより行われることを特徴とする請求項7乃至11のいずれか1項に記載のプログラム。   The deformation of the flat object based on the undulation information is performed on the joint or bone closest to each vertex defined for the applied two-dimensional image when the flat object is placed in the three-dimensional space. The program according to any one of claims 7 to 11, wherein the program is executed by changing a depth value of the vertex in the depth direction according to a position of the point in the three-dimensional space. 前記第1の種別の描画オブジェクトを構成する各パーツの形状及び奥行き順序を変更する処理は、前記視点との距離に応じて、該パーツの形状を変更する処理を含むことを特徴とする請求項1乃至12のいずれか1項に記載のプログラム。   The process of changing the shape and the depth order of each part constituting the first type of drawing object includes a process of changing the shape of the part according to the distance from the viewpoint. The program according to any one of 1 to 12. 各々が2次元画像で構成されたパーツ群によって3次元的表現を実現する第1の種別の描画オブジェクトであって、描画される方向に応じてパーツ群の形状及び奥行き順序を変更することで、該方向に係る3次元的表現を実現する第1の種別の描画オブジェクトと、3次元形状を定義した第2の種別の描画オブジェクトと、を3次元空間に配置して描画する描画方法であって、
前記第1の種別の描画オブジェクトについて、該オブジェクトの前記3次元空間における配置位置と描画を行う視点を示す視点情報とに基づいて、該オブジェクトの描画される描画方向を決定する決定工程と、
前記第1の種別の描画オブジェクトを構成する各パーツの形状及び奥行き順序を、前記決定工程において決定された前記描画方向に応じて変更する変更工程と、
前記変更工程において変更がなされた前記第1の種別の描画オブジェクトを構成する各パーツの2次元画像を、前記視点から前記第1の種別の描画オブジェクトの配置位置に向かう奥行き方向と直交する平面を有する平板オブジェクトに適用することで、前記第1の種別の描画オブジェクトを前記3次元空間に配置する第1の配置工程と、
前記第2の種別の描画オブジェクトを前記3次元空間に配置する第2の配置処理と、
前記視点情報に基づいて、前記3次元空間に配置された前記第1の種別の描画オブジェクト及び前記第2の種別の描画オブジェクトを描画する描画工程と、
を有し、
前記第1の配置工程は、前記第1の種別の描画オブジェクトを構成する少なくとも一部のパーツに対応付けられた、前記3次元空間における位置の情報を含む起伏情報に基づき、該パーツの2次元画像が適用された前記平板オブジェクトを変形させる工程を含む
ことを特徴とする描画方法。
Each is a first type of drawing object that realizes a three-dimensional expression with a group of parts each composed of a two-dimensional image, and by changing the shape and depth order of the parts group according to the drawing direction, A drawing method in which a first type of drawing object that realizes a three-dimensional representation of the direction and a second type of drawing object that defines a three-dimensional shape are arranged and drawn in a three-dimensional space. ,
A determination step of determining a drawing direction in which the object is drawn based on a placement position of the object in the three-dimensional space and viewpoint information indicating a viewpoint for drawing the drawing object of the first type;
A change step of changing the shape and depth order of each part constituting the first type of drawing object according to the drawing direction determined in the determining step;
A two-dimensional image of each part constituting the first type of drawing object changed in the changing step is a plane orthogonal to the depth direction from the viewpoint toward the arrangement position of the first type of drawing object. A first placement step of placing the first type of drawing object in the three-dimensional space by applying to a flat object having;
A second arrangement process of arranging the second type of drawing object in the three-dimensional space;
A drawing step of drawing the first type of drawing object and the second type of drawing object arranged in the three-dimensional space based on the viewpoint information;
Have
The first placement step is based on undulation information including position information in the three-dimensional space, which is associated with at least some of the parts constituting the first type of drawing object. A drawing method comprising a step of deforming the flat object to which an image is applied.
請求項1乃至13のいずれか1項に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   The computer-readable recording medium which recorded the program of any one of Claims 1 thru | or 13.
JP2017226365A 2017-11-24 2017-11-24 Program, recording medium, and drawing method Active JP6473214B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017226365A JP6473214B1 (en) 2017-11-24 2017-11-24 Program, recording medium, and drawing method
PCT/JP2018/033853 WO2019102692A1 (en) 2017-11-24 2018-09-12 Program, recording medium, and drawing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017226365A JP6473214B1 (en) 2017-11-24 2017-11-24 Program, recording medium, and drawing method

Publications (2)

Publication Number Publication Date
JP6473214B1 true JP6473214B1 (en) 2019-02-20
JP2019096165A JP2019096165A (en) 2019-06-20

Family

ID=65443115

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017226365A Active JP6473214B1 (en) 2017-11-24 2017-11-24 Program, recording medium, and drawing method

Country Status (2)

Country Link
JP (1) JP6473214B1 (en)
WO (1) WO2019102692A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022176132A1 (en) * 2021-02-18 2022-08-25 株式会社Live2D Inference model construction method, inference model construction device, program, recording medium, configuration device, and configuration method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002183756A (en) * 2000-12-11 2002-06-28 Namco Ltd Game information, information storage medium and game device
JP2009539155A (en) * 2006-06-02 2009-11-12 イジュノシッヒ テクニッヒ ホッフシューラ チューリッヒ Method and system for generating a 3D representation of a dynamically changing 3D scene
WO2017002483A1 (en) * 2015-07-01 2017-01-05 株式会社Live2D Program, information processing device, depth definition method, and recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002183756A (en) * 2000-12-11 2002-06-28 Namco Ltd Game information, information storage medium and game device
JP2009539155A (en) * 2006-06-02 2009-11-12 イジュノシッヒ テクニッヒ ホッフシューラ チューリッヒ Method and system for generating a 3D representation of a dynamically changing 3D scene
WO2017002483A1 (en) * 2015-07-01 2017-01-05 株式会社Live2D Program, information processing device, depth definition method, and recording medium

Also Published As

Publication number Publication date
JP2019096165A (en) 2019-06-20
WO2019102692A1 (en) 2019-05-31

Similar Documents

Publication Publication Date Title
US8154544B1 (en) User specified contact deformations for computer graphics
US9224247B2 (en) Three-dimensional object processing device, three-dimensional object processing method, and information storage medium
JP2007102734A (en) Image processor, image processing method and program
KR100381817B1 (en) Generating method of stereographic image using Z-buffer
JP6473214B1 (en) Program, recording medium, and drawing method
JP6473215B1 (en) Program, recording medium, and drawing method
JP3748451B1 (en) Program, information storage medium, and image generation system
WO2017002483A1 (en) Program, information processing device, depth definition method, and recording medium
US10748328B2 (en) Recording medium, information processing apparatus, influence degree deriving method, and image generation method
JP2000047567A (en) Tactile sense simulation device for object
JP4754384B2 (en) Program, information recording medium, and image generation system
KR101227183B1 (en) Apparatus and method for stereoscopic rendering 3-dimension graphic model
JP5063022B2 (en) Program, information storage medium, and image generation system
JP2001266175A (en) Device/method for processing three-dimensional model and program providing method
JP4662260B2 (en) Program, information storage medium, and image generation system
JP4754385B2 (en) Program, information recording medium, and image generation system
US11915349B1 (en) Extrusion technique for curve rendering
JP3867071B2 (en) Image processing apparatus and image processing method
JP4726355B2 (en) Image processing apparatus and image processing program
JP5097636B2 (en) Image processing apparatus, image processing method, and program
JP2002230579A (en) Method and device for creating image
JP4098574B2 (en) Image processing program
JP5073520B2 (en) Program and computer
JP5919954B2 (en) Two-dimensional image sequential generation apparatus, method and program
JP2009251883A (en) Image producing system, program, and information storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171124

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20180718

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181029

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20181030

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181129

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190124

R150 Certificate of patent or registration of utility model

Ref document number: 6473214

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250