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

JP6454671B2 - Image processing apparatus, image processing method, program, and recording medium - Google Patents

Image processing apparatus, image processing method, program, and recording medium Download PDF

Info

Publication number
JP6454671B2
JP6454671B2 JP2016209298A JP2016209298A JP6454671B2 JP 6454671 B2 JP6454671 B2 JP 6454671B2 JP 2016209298 A JP2016209298 A JP 2016209298A JP 2016209298 A JP2016209298 A JP 2016209298A JP 6454671 B2 JP6454671 B2 JP 6454671B2
Authority
JP
Japan
Prior art keywords
tree
virtual
dimensional space
image processing
collision
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
JP2016209298A
Other languages
Japanese (ja)
Other versions
JP2018072974A (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.)
Square Enix Co Ltd
Original Assignee
Square Enix Co Ltd
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 Square Enix Co Ltd filed Critical Square Enix Co Ltd
Priority to JP2016209298A priority Critical patent/JP6454671B2/en
Publication of JP2018072974A publication Critical patent/JP2018072974A/en
Application granted granted Critical
Publication of JP6454671B2 publication Critical patent/JP6454671B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

本発明は、画像処理装置、画像処理方法、プログラム、及び記録媒体に関し、特に、3DCG(Three-Dimensional Computer Graphics)の画像処理技術に関する。   The present invention relates to an image processing apparatus, an image processing method, a program, and a recording medium, and more particularly to an image processing technique of 3DCG (Three-Dimensional Computer Graphics).

3DCGは、ゲーム、映画など、様々な分野における視覚化表現方法として用いられている。3DCGは、少なくとも次のような工程で制作される。
モデリング:仮想3次元空間内にオブジェクトの形状を作成する。
シーンレイアウト設定:オブジェクトを仮想3次元空間内に配置する。
レンダリング:オブジェクトの形状や位置、光のあたり具合などを計算し、仮想的なカメラに写されるはずの最終的な画像を生成する。
3DCG is used as a visualization expression method in various fields such as games and movies. 3DCG is produced by at least the following processes.
Modeling: Create object shapes in a virtual 3D space.
Scene layout setting: An object is placed in a virtual three-dimensional space.
Rendering: Calculates the shape and position of an object, how light strikes, etc., and generates a final image that should be captured by a virtual camera.

このような3DCGの制作は、膨大な人数のCGアーティストの共同作業で行われるため、作業を効率的に行うことができる制作システムが望まれている(例えば、特許文献1参照。)。   Since production of such 3DCG is performed in collaboration with a huge number of CG artists, a production system that can efficiently perform the work is desired (for example, see Patent Document 1).

特開2009−201111号公報JP 2009-201111 A

従来、山林などの3DCGを制作する場合、地形メッシュ、建造物などの基礎モデルのオブジェクトを作成、配置した後、樹木、ディテールテクスチャなどの詳細素材のオブジェクトをインポートして配置する。   Conventionally, when 3DCG such as a mountain forest is produced, objects of basic materials such as terrain meshes and buildings are created and arranged, and then objects of detailed materials such as trees and detail textures are imported and arranged.

このため、例えば、インポートした樹木のオブジェクトを建造物のオブジェクトに重なるように配置する場合、建造物のオブジェクトを回避するように樹木のオブジェクトを作成しなければならない。また、建造物のオブジェクトに変更が生じた場合、樹木のオブジェクトを再作成しなければならず、膨大な作業が必要である。   For this reason, for example, when an imported tree object is arranged so as to overlap a building object, the tree object must be created so as to avoid the building object. In addition, when a change occurs in a building object, a tree object must be recreated, which requires a huge amount of work.

本発明は、上述した従来技術における課題を解決するものであり、効率的に3DCGを制作することができる画像処理装置、画像処理方法、プログラム、及び記録媒体を提供する。   The present invention solves the above-described problems in the prior art, and provides an image processing apparatus, an image processing method, a program, and a recording medium that can efficiently produce 3DCG.

上述した課題を解決するために、本発明に係る画像処理装置は、仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトへの入力操作を受ける操作入力部と、仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトを加工するオブジェクト加工部と、前記仮想3次元空間における前記第1のオブジェクトと前記第2のオブジェクトとの衝突を検出する重なり検出部と、前記重なり検出部にて衝突が検出された場合、前記第2のオブジェクトとの衝突を回避するように前記第1のオブジェクトを変形させるオブジェクト変形部と、前記仮想3次元空間に配置された前記第1のオブジェクトと前記第2のオブジェクトとを描画する描画部とを備え、前記重なり検出部が、前記操作入力部における入力操作の都度及び前記オブジェクト加工部における加工の都度、前記第1のオブジェクトと前記第2のオブジェクトとの衝突を検出する。 In order to solve the above-described problem, an image processing apparatus according to the present invention includes an operation input unit that receives an input operation to a first object or a second object arranged in a virtual three-dimensional space , and a virtual three-dimensional space. An object processing unit that processes the first object or the second object disposed in the virtual object, an overlap detection unit that detects a collision between the first object and the second object in the virtual three-dimensional space, When a collision is detected by the overlap detection unit, an object deformation unit that deforms the first object so as to avoid a collision with the second object, and the first that is disposed in the virtual three-dimensional space. provided with an object and the second object and draws an, the overlap detection unit, every time the input operation in the operation input unit Each time the processing in fine the object processing unit, for detecting a collision between the second object and the first object.

また、本発明に係る画像処理方法は、仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトへの入力操作を受ける操作入力ステップと、仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトを加工するオブジェクト加工ステップと、前記仮想3次元空間における前記第1のオブジェクトと前記第2のオブジェクトとの衝突を検出する重なり検出ステップと、前記重なり検出ステップにて衝突が検出された場合、前記第2のオブジェクトとの衝突を回避するように前記第1のオブジェクトを変形させるオブジェクト変形ステップと、前記仮想3次元空間に配置された前記第1のオブジェクトと前記第2のオブジェクトとを描画する描画ステップとを有し、前記重なり検出ステップでは、前記操作入力ステップにおける入力操作の都度及び前記オブジェクト加工ステップにおける加工の都度、前記第1のオブジェクトと前記第2のオブジェクトとの衝突を検出する。 The image processing method according to the present invention includes an operation input step for receiving an input operation to the first object or the second object arranged in the virtual three-dimensional space, and the first input arranged in the virtual three-dimensional space. an object processing step for processing the object or second object, the first object in the virtual three-dimensional space and the detection step overlap detecting a collision between the second object, the collision in the overlap detecting step If detected, an object deformation step for deforming the first object so as to avoid a collision with the second object ; the first object disposed in the virtual three-dimensional space; and the second object A drawing step of drawing an object, and in the overlap detection step, the operation input step Each of the processing in each case and the object processing step of the input operation in the flop, detects a collision between the second object and the first object.

本発明によれば、第1のオブジェクトの衝突回避を即座に描画する実時間処理を行うことができるため、効率的に3DCGを制作することができる。   According to the present invention, 3DCG can be produced efficiently because real-time processing for instantly drawing collision avoidance of the first object can be performed.

図1は、第1の実施の形態に係る画像処理装置の機能構成を示すブロック図である。FIG. 1 is a block diagram illustrating a functional configuration of the image processing apparatus according to the first embodiment. 図2は、画像処理装置の機能を発揮するためのハードウェア構成を示すブロック図である。FIG. 2 is a block diagram illustrating a hardware configuration for demonstrating the functions of the image processing apparatus. 図3(A)〜図3(I)は、樹木画像の例を示す図である。FIG. 3A to FIG. 3I are diagrams illustrating examples of tree images. 図4は、具体例1として示す画像処理を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining the image processing shown as the first specific example. 図5(A)は、樹木画像の例を示す図であり、図5(B)は、樹木の近傍に岩が配置された樹木画像の例を示す図である。FIG. 5A is a diagram illustrating an example of a tree image, and FIG. 5B is a diagram illustrating an example of a tree image in which rocks are arranged in the vicinity of the tree. 図6(A)は、樹木画像の例を示す図であり、図6(B)は、樹木の上方に四面体が配置された樹木画像の例を示す図である。FIG. 6A is a diagram illustrating an example of a tree image, and FIG. 6B is a diagram illustrating an example of a tree image in which a tetrahedron is arranged above a tree. 図7は、第2の実施の形態に係る画像処理装置の機能構成を示すブロック図である。FIG. 7 is a block diagram illustrating a functional configuration of the image processing apparatus according to the second embodiment. 図8は、具体例2として示す画像処理を説明するためのフローチャートである。FIG. 8 is a flowchart for explaining the image processing shown as the second specific example. 図9(A)は、アーチ下に配置された生長前の樹木画像の例を示す図であり、図9(B)は、アーチ下に配置された生長後の樹木画像の例を示す図である。FIG. 9A is a diagram showing an example of a pre-growth tree image arranged under the arch, and FIG. 9B is a diagram showing an example of a tree image after growth arranged under the arch. is there. 図10(A)は、吸引力を有する椅子を遠方に配置した樹木画像の例を示す図であり、図10(B)は、吸引力を有する椅子を近傍に配置した樹木画像の例を示す図である。FIG. 10A is a diagram illustrating an example of a tree image in which a chair having a suction force is disposed far away, and FIG. 10B illustrates an example of a tree image in which a chair having a suction force is disposed in the vicinity. FIG.

以下、本発明の実施の形態(以下、本実施の形態と称する。)について、図面を参照しながら下記順序にて詳細に説明する。なお、本発明は、以下の実施の形態のみに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変更が可能であることは勿論である。
1.第1の実施の形態
2.第2の実施の形態
Hereinafter, embodiments of the present invention (hereinafter referred to as the present embodiment) will be described in detail in the following order with reference to the drawings. It should be noted that the present invention is not limited to the following embodiments, and various modifications can be made without departing from the scope of the present invention.
1. First Embodiment 2. FIG. Second embodiment

<1.第1の実施の形態>
[1.1 機能構成]
図1は、第1の実施の形態に係る画像処理装置の機能構成を示すブロック図である。第1の実施の形態に係る画像処理装置1は、仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトへの入力操作を受ける操作入力部11と、仮想3次元空間における第1のオブジェクトと第2のオブジェクトとの重なりを検出する重なり検出部12と、重なり検出部12にて重なりが検出された場合、第2のオブジェクトを回避するように第1のオブジェクトを変形させるオブジェクト変形部13と、仮想3次元空間に配置された第1のオブジェクトと第2のオブジェクトとを描画する描画部14とを備え、重なり検出部12は、操作入力部12における入力操作の都度、第1のオブジェクトと第2のオブジェクトとの重なりを検出するものである。これにより、第1のオブジェクトが衝突回避した画像を即座に描画する実時間処理(リアルタイム処理)を行うことができ、効率的に3DCGを制作することができる。
<1. First Embodiment>
[1.1 Functional configuration]
FIG. 1 is a block diagram illustrating a functional configuration of the image processing apparatus according to the first embodiment. The image processing apparatus 1 according to the first embodiment includes an operation input unit 11 that receives an input operation to a first object or a second object arranged in a virtual three-dimensional space, and a first in the virtual three-dimensional space. An overlap detection unit 12 that detects an overlap between the object and the second object, and an object deformation that deforms the first object so as to avoid the second object when the overlap detection unit 12 detects an overlap. Unit 13 and a drawing unit 14 for drawing the first object and the second object arranged in the virtual three-dimensional space. The overlap detection unit 12 performs the first operation every time an input operation is performed in the operation input unit 12. The overlap between the object and the second object is detected. As a result, real-time processing (real-time processing) can be performed in which an image in which the first object has avoided collision is immediately drawn, and 3DCG can be produced efficiently.

第1のオブジェクトは、例えば、樹木、ディテールテクスチャなどの詳細素材のオブジェクトであることが好ましく、第2のオブジェクトは、例えば、地形メッシュ、建造物などの基礎モデルのオブジェクトであることが好ましい。これにより、例えば、建造物の周囲への樹木の配置をCGアーティストが確認しながら容易に行うことができる。   The first object is preferably an object made of a detailed material such as a tree or a detail texture, and the second object is preferably an object of a basic model such as a terrain mesh or a building. Thereby, for example, a CG artist can easily perform arrangement of trees around a building.

操作入力部11は、3次元画像データを読み出し、仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトへの入力操作を受ける。3次元画像データの表現方法としては、ポリゴンモデル、点群モデル、ボリューメトリックモデル、パラメトリック曲面モデルなどを用いることができる。   The operation input unit 11 reads 3D image data and receives an input operation to the first object or the second object arranged in the virtual three-dimensional space. As a method for expressing the three-dimensional image data, a polygon model, a point cloud model, a volumetric model, a parametric curved surface model, or the like can be used.

重なり検出部12は、操作入力部12における入力操作の都度、仮想3次元空間に配置された第1のオブジェクトと第2のオブジェクトとの重なりを検出する。重なり検出部12における第1のオブジェクトと第2のオブジェクトとの重なりの検出方法としては、あるオブジェクトが別のオブジェクトに当たったか(衝突したか)どうかを判定する当たり判定(衝突判定)プログラムにより検出することができる。例えば、各オブジェクトの座標を解析して各オブジェクトの概形情報を生成し、第1のオブジェクトの概形情報と第2のオブジェクトの概形情報とを比較することにより重なりを検出する。   The overlap detection unit 12 detects the overlap between the first object and the second object arranged in the virtual three-dimensional space each time an input operation is performed in the operation input unit 12. As a method for detecting the overlap between the first object and the second object in the overlap detection unit 12, detection is performed by a hit determination (collision determination) program for determining whether an object hits another object (collision). can do. For example, the coordinates of each object are analyzed to generate outline information of each object, and the overlap is detected by comparing the outline information of the first object and the outline information of the second object.

オブジェクト変形部13は、重なり検出部12にて重なりが検出された場合、第2のオブジェクトを回避するように第1のオブジェクトを変形させる。第1のオブジェクトの変形は、第1のオブジェクトの種類に応じて行う。例えば、第1のオブジェクトが、幹と枝とを含む樹木モデルである場合、オブジェクト変形部13は、樹木モデルの幹及び枝のうち少なくとも1つを変形させることにより、第2のオブジェクトとの衝突を回避する。   When the overlap detector 12 detects an overlap, the object deforming unit 13 deforms the first object so as to avoid the second object. The deformation of the first object is performed according to the type of the first object. For example, when the first object is a tree model including a trunk and a branch, the object deforming unit 13 collides with the second object by deforming at least one of the trunk and the branch of the tree model. To avoid.

描画部14は、仮想3次元空間に配置された第1のオブジェクトと第2のオブジェクトとを、表示画面に対応するカメラ(視点)の位置及び方向の情報に従って描画する。   The drawing unit 14 draws the first object and the second object arranged in the virtual three-dimensional space according to the position and direction information of the camera (viewpoint) corresponding to the display screen.

上述の画像処理装置1によれば、例えば、樹木、ディテールテクスチャなどの詳細素材のオブジェクトを、地形メッシュ、建造物などの基礎モデルのオブジェクトに重なるように配置した場合、詳細素材のオブジェクトが基礎モデルのオブジェクトとの衝突を回避するように変形して即座に描画される。このため、従来のように衝突を回避する詳細素材のオブジェクトを作成する必要がなく、また、基礎モデルのオブジェクトに変更が生じた場合も、詳細素材のオブジェクトを再作成する必要がないため、効率的に3DCGを制作することができる。   According to the image processing apparatus 1 described above, for example, when an object of a detailed material such as a tree or a detail texture is arranged so as to overlap an object of a basic model such as a terrain mesh or a building, the object of the detailed material is the basic model. It is transformed to avoid collisions with other objects and rendered immediately. Therefore, it is not necessary to create a detailed material object that avoids collision as in the past, and it is not necessary to recreate the detailed material object when the basic model object changes. 3DCG can be produced.

[1.2 ハードウェア構成]
図2は、画像処理装置の機能を発揮するためのハードウェア構成を示すブロック図である。図2に示すように、画像処理装置2は、プログラムの実行処理を行うCPU(Central Processing Unit)21と、3DCGの演算処理を行うGPU(Graphics Processing Unit)22と、CPU21により実行されるプログラムを格納するROM(Read Only Memory)23と、プログラムやデータを展開するRAM(Random Access Memory)24と、ユーザにより各種の入力操作を受ける操作入力部25と、プログラムやデータを固定的に保存するストレージ26と、データを入出力する入出力インターフェース27とを有する。すなわち、図2に示す画像処理装置2は、いわゆるコンピュータである。
[1.2 Hardware configuration]
FIG. 2 is a block diagram illustrating a hardware configuration for demonstrating the functions of the image processing apparatus. As illustrated in FIG. 2, the image processing apparatus 2 includes a CPU (Central Processing Unit) 21 that performs program execution processing, a GPU (Graphics Processing Unit) 22 that performs 3DCG arithmetic processing, and a program executed by the CPU 21. ROM (Read Only Memory) 23 for storing, RAM (Random Access Memory) 24 for developing programs and data, an operation input unit 25 for receiving various input operations by the user, and storage for permanently storing programs and data 26 and an input / output interface 27 for inputting / outputting data. That is, the image processing apparatus 2 shown in FIG. 2 is a so-called computer.

CPU21は、図1に示す画像処理装置1における重なり検出部12及びオブジェクト変形部13の処理が可能であり、仮想3次元空間における第1のオブジェクトと第2のオブジェクトとの重なりを検出し、第2のオブジェクトを回避するように第1のオブジェクトを変形させる。   The CPU 21 can perform processing of the overlap detection unit 12 and the object deformation unit 13 in the image processing apparatus 1 shown in FIG. 1, detects the overlap between the first object and the second object in the virtual three-dimensional space, The first object is deformed so as to avoid the second object.

また、CPU21は、画像処理装置2が有する各ブロックの動作を制御する。具体的に、CPU21は、例えばROM23に記録されている画像処理の動作プログラムを読み出し、RAM24に展開して実行することにより、各ブロックの動作を制御する。   Further, the CPU 21 controls the operation of each block included in the image processing apparatus 2. Specifically, the CPU 21 controls the operation of each block by reading out an operation program for image processing recorded in, for example, the ROM 23, developing it in the RAM 24 and executing it.

また、CPU21は、例えば、ゲームエンジンを実行し、時刻tにおける描画コマンド(t)を順次生成する。描画コマンドとしては、オブジェクトの3次元モデルの視点設定命令、頂点計算プログラム、画素計算プログラム、頂点データなどが挙げられる。   For example, the CPU 21 executes a game engine and sequentially generates a drawing command (t) at time t. Examples of the drawing command include a viewpoint setting command for a three-dimensional model of an object, a vertex calculation program, a pixel calculation program, and vertex data.

GPU22は、図1に示す画像処理装置1における描画部13の処理が可能であり、仮想3次元空間内の第1のオブジェクト及び第2のオブジェクトを、表示画面に対応するカメラ(視点)の位置及び方向の情報に従って描画する。GPU22は、表示画面の描画領域としてビデオメモリ(VRAM)を有し、CPU21からの描画コマンドに応じてオブジェクトをVRAMに描画する。具体的に、GPU22は、シェーダプログラムにしたがって、ジオメトリデータを用いてポリゴンのラスタライズデータを生成し、画像データをVRAMに格納する。さらに、GPU22は、ポリゴン表面にテクスチャをマッピングし、テクスチャマッピング後の画像データをVRAMに格納する。また、GPU22は、これらの描画処理をフレーム毎に計算、再計算することが可能である。   The GPU 22 can perform the processing of the drawing unit 13 in the image processing apparatus 1 shown in FIG. 1, and the first object and the second object in the virtual three-dimensional space are displayed at the position of the camera (viewpoint) corresponding to the display screen. And drawing according to direction information. The GPU 22 has a video memory (VRAM) as a drawing area of the display screen, and draws an object in the VRAM according to a drawing command from the CPU 21. Specifically, the GPU 22 generates polygon rasterized data using the geometry data in accordance with the shader program, and stores the image data in the VRAM. Further, the GPU 22 maps the texture onto the polygon surface and stores the image data after the texture mapping in the VRAM. The GPU 22 can calculate and recalculate these drawing processes for each frame.

ROM23は、例えば読み込みのみ可能な不揮発性メモリである。ROM24は、画像処理などの動作プログラムに加え、画像処理装置2が有する各ブロックの動作に必要な定数等の情報を記憶する。   The ROM 23 is a non-volatile memory that can only be read, for example. The ROM 24 stores information such as constants necessary for the operation of each block of the image processing apparatus 2 in addition to an operation program such as image processing.

RAM24は、揮発性メモリである。RAM24は、動作プログラムの展開領域としてだけでなく、画像処理装置2が有する各ブロックの動作において出力された中間データ等を一時的に記憶する格納領域としても用いられる。   The RAM 24 is a volatile memory. The RAM 24 is used not only as an operation program development area, but also as a storage area for temporarily storing intermediate data output in the operation of each block of the image processing apparatus 2.

操作入力部25は、図1に示す画像処理装置1における操作入力部11の処理が可能であり、画像処理装置2に対して入力操作を行う際に用いられるユーザインタフェースである。操作入力部25は、ユーザの入力操作に応じて画像処理の実行または停止等の命令をCPU21に対して出力する。また、操作入力部25は、コントローラーにより操作可能な主人公のゲームキャラクターを操作することができる。   The operation input unit 25 is a user interface that can process the operation input unit 11 in the image processing apparatus 1 shown in FIG. 1 and is used when performing an input operation on the image processing apparatus 2. The operation input unit 25 outputs an instruction to execute or stop image processing to the CPU 21 in accordance with a user input operation. Further, the operation input unit 25 can operate the main character that can be operated by the controller.

ストレージ26は、RAM24に展開された動作プログラム、画面に描画されるオブジェクトについてのモデルデータ、テクスチャデータ、設定パラメータなどを記録する。なお、ストレージ26としては、HDD(Hard disk drive)、SSD(Solid State Drive)、光学ドライブなどを用いることができる。   The storage 26 records an operation program developed in the RAM 24, model data, texture data, setting parameters, and the like for an object drawn on the screen. As the storage 26, a hard disk drive (HDD), a solid state drive (SSD), an optical drive, or the like can be used.

入出力インターフェース27は、GPU22によって生成した画像を表示装置に出力することが可能である。   The input / output interface 27 can output an image generated by the GPU 22 to a display device.

このようなハードウェア構成において、図1に示す画像処理装置1の機能ブロックは、CPU21、GPU22、ROM23、RAM24、CPU21により実行されたソフトウェアの連携によって実現することができる。また、上述の機能ブロックは、ハードウェアのみ、ソフトウェアのみ、又はそれらの組み合わせによっても、実現することができる。また、ソフトウェアプログラムは、光ディスクや半導体メモリなどの記録媒体に記憶させて配布する他に、インターネットなどを経由してダウンロードさせる構成としてもよい。   In such a hardware configuration, the functional blocks of the image processing apparatus 1 shown in FIG. 1 can be realized by cooperation of the CPU 21, GPU 22, ROM 23, RAM 24, and software executed by the CPU 21. Further, the above-described functional blocks can be realized only by hardware, only software, or a combination thereof. Further, the software program may be stored via a recording medium such as an optical disk or a semiconductor memory and distributed, or may be downloaded via the Internet or the like.

[1.3 具体例1]
以下、第1のオブジェクトとして、根、幹、枝、及び葉から構成される樹木モデルを例に挙げて説明する。樹木モデルは、地面から下方に伸びた根と、地面から上方に伸びた幹と、その幹から分岐した枝と、枝に付けられる葉とで構成される。樹木の幹から枝、枝から別の枝へと順に分岐して行く分岐構造は、例えば、Lシステム(Lindenmayer system)のアルゴリズムにより表現することができる。Lシステムは、樹木の生長プロセスを記述・表現できるアルゴリズムであり、繰り返し再帰処理することにより樹木の生長を表現することができる。
[1.3 Specific Example 1]
Hereinafter, a tree model composed of roots, trunks, branches, and leaves will be described as an example of the first object. The tree model includes a root extending downward from the ground, a trunk extending upward from the ground, a branch branched from the trunk, and a leaf attached to the branch. A branch structure that branches sequentially from a tree trunk to a branch and from a branch to another branch can be expressed by, for example, an algorithm of an L system (Lindenmayer system). The L system is an algorithm that can describe and express a tree growth process, and can express tree growth by repeatedly performing recursive processing.

枝の生成は、例えば、上述のLシステムに基づき、樹木の性質、樹木の特性、乱数などを使ったベクトル演算により行われる。樹木の性質としては、例えば、日向性と、枝の枯死と、休眠打破と、頂芽優勢と、枝の幹化となどが挙げられる。日向性は、枝の生長点が日光の方に曲がる性質を持つ性質である。枝の枯死は、枝が枯れ果てる性質である。休眠打破は、活動を休止している休眠芽が発芽する性質である。頂芽優勢は、側芽に比べて頂芽の伸びが大きいという性質である。枝の幹化は、反重力方向の屈性である。また、樹木の特性としては、例えば、枝の太さ、枝の長さ、枝の長さの減少率、枝の世代、枝の世代の増加による枝の減少率、枝の強度、樹木の生命エネルギーなどのパラメータを用いることができる。また、乱数は、枝の太さなどのパラメータに導入することにより、樹木に多様性を与えることができる。   For example, the branch is generated based on the above-described L system by a vector operation using tree properties, tree characteristics, random numbers, and the like. The nature of the tree includes, for example, sunshine, branch death, dormancy breaking, apical dominance, and branch stemming. Hinata is a property in which the growth point of a branch bends toward sunlight. The withering of a branch is a property that a branch withers off. Dormancy breakage is the property of germinating dormant buds that have ceased activity. The top bud dominance is a property that the elongation of the top bud is larger than that of the side bud. Branch stemming is an antigravity tropism. The tree characteristics include, for example, branch thickness, branch length, branch length reduction rate, branch generation, branch reduction rate due to branch generation increase, branch strength, tree life. Parameters such as energy can be used. In addition, diversity can be given to trees by introducing random numbers into parameters such as the thickness of branches.

また、枝の生成は、例えば、枝の第1の世代の生成方向に対して許可領域及び禁止領域の設定を行い、第2の世代以降の枝の生成方向を許可領域内に決定することにより行われる。なお、枝の生成処理は、幹の生成処理、根の生成処理などにも適用することができる。   In addition, for example, branch generation is performed by setting a permission area and a prohibition area with respect to the generation direction of the first generation of branches and determining the generation direction of branches after the second generation within the permission area. Done. The branch generation process can also be applied to a trunk generation process, a root generation process, and the like.

図3(A)〜図3(I)は、樹木画像の例を示す図である。図3(A)〜図3(I)に示すように、樹木の性質、樹木の特性、乱数などを使った演算や枝の第1の世代の生成方向に対する許可領域及び禁止領域の設定などにより、多様な樹木を再現することができる。   FIG. 3A to FIG. 3I are diagrams illustrating examples of tree images. As shown in FIG. 3 (A) to FIG. 3 (I), by using the nature of the tree, the characteristics of the tree, random numbers, etc., setting the permission area and the prohibition area for the generation direction of the first generation of branches, etc. Can reproduce a variety of trees.

図4は、具体例1として示す画像処理を説明するためのフローチャートである。具体例1として示す画像処理は、例えば、上述の画像処理装置2のCPU21にて実行される3DCGソフトウェアに組み込まれたプラグインの機能として提供することができる。   FIG. 4 is a flowchart for explaining the image processing shown as the first specific example. The image processing shown as the specific example 1 can be provided as a plug-in function incorporated in 3DCG software executed by the CPU 21 of the image processing apparatus 2 described above, for example.

先ず、操作入力ステップS11において、操作入力部25は、仮想3次元空間に配置された第1のオブジェクトである樹木のオブジェクト、又は第2のオブジェクトである他のオブジェクトへの入力操作を受ける。入力操作としては、オブジェクトの挿入、移動などが挙げられる。なお、他のオブジェクトは、樹木であっても樹木以外の建造物などであってもよい。   First, in the operation input step S11, the operation input unit 25 receives an input operation to a tree object that is a first object arranged in the virtual three-dimensional space or another object that is a second object. Examples of the input operation include insertion and movement of an object. The other object may be a tree or a building other than a tree.

重なり検出ステップS12において、CPU21は、仮想3次元空間における樹木のオブジェクトと他のオブジェクトとの重なりを検出する。重なり検出方法としては、樹木のオブジェクトが他のオブジェクトに当たったか(衝突したか)どうかを判定する当たり判定(衝突判定)プログラムにより検出することができる。例えば、樹木のオブジェクト及び他のオブジェクトの座標を解析して各オブジェクトの概形情報を生成し、樹木のオブジェクトの概形情報と他のオブジェクトの概形情報とを比較することにより重なりを検出する。   In the overlap detection step S12, the CPU 21 detects an overlap between the tree object and another object in the virtual three-dimensional space. As an overlap detection method, it can be detected by a hit determination (collision determination) program for determining whether a tree object hits another object (collision). For example, it analyzes the coordinates of tree objects and other objects to generate outline information for each object, and detects overlap by comparing the outline information of tree objects with the outline information of other objects. .

オブジェクト変形ステップS13において、CPU21は、重なり検出ステップS12にて重なりが検出された場合、他のオブジェクトを回避するように樹木のオブジェクトを変形させる。樹木のオブジェクトの変形方法としては、例えば、樹木のオブジェクトの概形情報と他のオブジェクトの概形情報とを比較した比較情報に基づいて、樹木の幹を構成する円柱からなる複数の節に対して角度に変化をつけてもよい。また、例えば、樹木のオブジェクトの概形情報と他のオブジェクトの概形情報とを比較した比較情報に基づいて、枝の第1の世代の生成方向に対して、許可領域及び禁止領域の設定を行い、第2の世代以降の枝の生成方向を許可領域内に決定して樹木を生成してもよい。また、予め許可領域及び禁止領域の設定が行われた樹木のパラメータセットを複数記録しておき、樹木のオブジェクトの概形情報と他のオブジェクトの概形情報とを比較した比較情報に基づいて、予め許可領域及び禁止領域の設定が行われた樹木のパラメータセットを選択してもよい。   In the object deformation step S13, when the overlap is detected in the overlap detection step S12, the CPU 21 deforms the tree object so as to avoid other objects. As a method for transforming a tree object, for example, based on comparison information comparing the outline information of a tree object with the outline information of another object, a plurality of nodes composed of cylinders constituting the trunk of the tree can be used. You may change the angle. Also, for example, based on the comparison information comparing the outline information of the tree object and the outline information of other objects, the setting of the permitted area and the prohibited area is set for the generation direction of the first generation of branches. It is possible to generate a tree by determining the generation direction of branches after the second generation within the permitted area. Moreover, based on the comparison information comparing the outline information of the object of the tree and the outline information of the other object, a plurality of tree parameter sets in which the permitted area and the prohibited area are set in advance are recorded. You may select the parameter set of the tree in which the permission area | region and the prohibition area | region were set beforehand.

描画ステップS14において、GPU22は、仮想3次元空間に配置された樹木のオブジェクトと他のオブジェクトとを、表示画面に対応するカメラ(視点)の位置及び方向の情報に従って描画する。例えば、GPU22は、CPU21から他のオブジェクトを回避するのに必要な条件を含む描画コマンドを受け取り、樹木の生成処理を行い、樹木のオブジェクトが他のオブジェクトを回避した画像データをGPU22のビデオメモリに格納する。   In the drawing step S14, the GPU 22 draws the tree object and other objects arranged in the virtual three-dimensional space in accordance with the position and direction information of the camera (viewpoint) corresponding to the display screen. For example, the GPU 22 receives a drawing command including conditions necessary for avoiding other objects from the CPU 21, performs tree generation processing, and stores image data in which the tree objects avoid other objects in the video memory of the GPU 22. Store.

図5(A)は、樹木画像の例を示す図であり、図5(B)は、樹木の近傍に岩が配置された樹木画像の例を示す図である。このような樹木のオブジェクト51の変形は、例えば、樹木のオブジェクト51の概形情報と岩のオブジェクト52の概形情報とを比較した比較情報に基づいて、樹木の幹を構成する円柱からなる複数の節に対して角度に変化をつけることにより実現することができる。   FIG. 5A is a diagram illustrating an example of a tree image, and FIG. 5B is a diagram illustrating an example of a tree image in which rocks are arranged in the vicinity of the tree. Such a deformation of the tree object 51 is, for example, based on comparison information obtained by comparing the outline information of the tree object 51 and the outline information of the rock object 52, and a plurality of cylinders constituting the trunk of the tree. This can be realized by changing the angle with respect to the nodes.

また、図6(A)は、樹木画像の例を示す図であり、図6(B)は、樹木の上方に四面体が配置された樹木画像の例を示す図である。このような樹木のオブジェクト61の変形は、例えば、樹木のオブジェクト61の概形情報と四面体のオブジェクト62の概形情報とを比較した比較情報に基づいて、枝の第1の世代の生成方向に対して、許可領域及び禁止領域の設定を行い、第2の世代以降の枝の生成方向を許可領域内に決定して樹木を生成することにより実現することができる。   FIG. 6A is a diagram illustrating an example of a tree image, and FIG. 6B is a diagram illustrating an example of a tree image in which a tetrahedron is arranged above a tree. Such deformation of the tree object 61 is, for example, based on comparison information comparing the outline information of the tree object 61 and the outline information of the tetrahedral object 62, and the generation direction of the first generation of branches. On the other hand, it is possible to realize by setting a permission area and a prohibition area, determining a generation direction of branches after the second generation in the permission area, and generating a tree.

以上のように、リアルタイムで樹木の形を周囲のオブジェクトに応じて変化させることにより、CGアーティストの負担が軽減され、CGアーティストの作業効率を向上させることができる。   As described above, by changing the shape of the tree according to the surrounding objects in real time, the burden on the CG artist can be reduced and the work efficiency of the CG artist can be improved.

なお、第1の実施の形態では、3DCGの制作を例に挙げて説明したが、これに限られることなく、例えば、3DCGのゲームに適用することも可能である。3DCGのゲームに適用する場合、例えば、第2のオブジェクトをコントローラーにより操作可能な主人公のゲームキャラクターとすることにより、ゲームキャラクターが第1のオブジェクトである樹木をなぎ倒す場面をリアルタイムでレンダリングすることが可能となる。   In the first embodiment, 3DCG production has been described as an example. However, the present invention is not limited to this, and can be applied to, for example, a 3DCG game. When applied to a 3DCG game, for example, by making the second object a hero's game character that can be operated by a controller, it is possible to render in real time a scene where the game character knocks down the tree that is the first object It becomes.

<2.第2の実施の形態>
[2.1 機能構成]
図7は、第2の実施の形態に係る画像処理装置の機能構成を示すブロック図である。第2の実施の形態に係る画像処理装置3は、第1の実施の形態に係る画像処理装置1に、さらにオブジェクト加工部15を加えたものである。なお、第1の実施の形態に係る画像処理装置と同様な構成には、同一符号を付し、ここでは説明を省略する。
<2. Second Embodiment>
[2.1 Functional configuration]
FIG. 7 is a block diagram illustrating a functional configuration of the image processing apparatus according to the second embodiment. The image processing apparatus 3 according to the second embodiment is obtained by adding an object processing unit 15 to the image processing apparatus 1 according to the first embodiment. Note that the same components as those of the image processing apparatus according to the first embodiment are denoted by the same reference numerals, and description thereof is omitted here.

図7に示すように、画像処理装置3は、仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトへの入力操作を受ける操作入力部11と、仮想3次元空間に配置された第1のオブジェクトを加工するオブジェクト加工部15と、仮想3次元空間における第1のオブジェクトと第2のオブジェクトとの重なりを検出する重なり検出部12と、重なり検出部12にて重なりが検出された場合、第2のオブジェクトを回避するように第1のオブジェクトを変形させるオブジェクト変形部13と、仮想3次元空間に配置された第1のオブジェクトと第2のオブジェクトとを描画する描画部14とを備え、重なり検出部12は、オブジェクト加工部15における加工の都度、第1のオブジェクトと第2のオブジェクトとの重なりを検出するものである。これにより、第1のオブジェクト又は第2のオブジェクトを加工した場合でも、第1のオブジェクトが衝突回避した画像を即座に描画する実時間処理(リアルタイム処理)を行うことができ、効率的に3DCGを制作することができる。   As shown in FIG. 7, the image processing apparatus 3 includes an operation input unit 11 that receives an input operation to the first object or the second object arranged in the virtual three-dimensional space, and the virtual processing unit 3 arranged in the virtual three-dimensional space. The overlap is detected by the object processing unit 15 that processes the first object, the overlap detection unit 12 that detects the overlap between the first object and the second object in the virtual three-dimensional space, and the overlap detection unit 12 In this case, an object deforming unit 13 that deforms the first object so as to avoid the second object, and a drawing unit 14 that draws the first object and the second object arranged in the virtual three-dimensional space are provided. The overlap detection unit 12 detects an overlap between the first object and the second object every time the object processing unit 15 performs processing. Is shall. As a result, even when the first object or the second object is processed, real-time processing (real-time processing) in which an image in which the first object avoids collision can be immediately drawn can be performed, and 3DCG can be efficiently performed. Can be produced.

オブジェクト加工部15は、仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトを加工する。オブジェクトの加工としては、例えば、オブジェクトのサイズの変更、ベクトル方向の変更などが挙げられる。   The object processing unit 15 processes the first object or the second object arranged in the virtual three-dimensional space. Examples of the processing of the object include changing the size of the object and changing the vector direction.

例えば、オブジェクトのサイズの変更例として、第1のオブジェクトが、幹と枝とを含む樹木モデルである場合、オブジェクト加工部15が、樹木モデルを生長させることが挙げられる。これにより、樹木モデルがどのように第2のオブジェクトを回避して生長するのかを確認することができ、CGアーティストの作業効率を向上させることができる。   For example, as an example of changing the size of the object, when the first object is a tree model including a trunk and a branch, the object processing unit 15 can grow the tree model. As a result, it can be confirmed how the tree model avoids the second object and grows, and the working efficiency of the CG artist can be improved.

また、例えば、オブジェクトのベクトル方向の変更例として、第1のオブジェクトが、幹と枝とを含む樹木モデルである場合、前記オブジェクト加工部13が、樹木モデルの幹及び枝のうち少なくとも1つを吸引する吸引オブジェクトを配置することが挙げられる。これにより、例えば、仮想3次元空間で樹木モデルが空洞に吸引されるシーンなどを第2のオブジェクトを回避した状態で確認することができ、CGアーティストの作業効率を向上させることができる。   Further, for example, as an example of changing the vector direction of an object, when the first object is a tree model including a trunk and a branch, the object processing unit 13 selects at least one of the trunk and the branch of the tree model. For example, a suction object to be sucked may be arranged. Thereby, for example, a scene in which a tree model is sucked into a cavity in a virtual three-dimensional space can be confirmed while avoiding the second object, and the working efficiency of the CG artist can be improved.

[2.2 ハードウェア構成]
上述の画像処理装置3の機能を発揮するためのハードウェア構成は、図2に示すブロック図と同様である。図7に示す画像処理装置3におけるオブジェクト加工部15は、CPU21やGPU22により、その機能が達成される。例えば、GPU22は、CPU21からの加工コマンドに応じて加工オブジェクトをVRAMに描画する。なお、その他のハードウェア構成は、図2に示すブロック図と同様であるため、ここでは説明を省略する。
[2.2 Hardware configuration]
The hardware configuration for demonstrating the function of the above-described image processing apparatus 3 is the same as the block diagram shown in FIG. The functions of the object processing unit 15 in the image processing apparatus 3 illustrated in FIG. 7 are achieved by the CPU 21 and the GPU 22. For example, the GPU 22 draws the processing object in the VRAM in accordance with the processing command from the CPU 21. The other hardware configuration is the same as that of the block diagram shown in FIG.

[2.3 具体例2]
以下、上述の第1のオブジェクトとして、根、幹、枝、及び葉から構成される樹木モデルを例に挙げて説明する。樹木モデルは、上述の具体例1と同様であるため、ここでは説明を省略する。
[2.3 Specific Example 2]
Hereinafter, as the first object, a tree model composed of roots, trunks, branches, and leaves will be described as an example. Since the tree model is the same as in the first specific example, the description thereof is omitted here.

図8は、具体例2として示す画像処理を説明するためのフローチャートである。具体例2として示す画像処理は、例えば、上述の画像処理装置2のCPU21にて実行される3DCGソフトウェアに組み込まれたプラグインの機能として提供することができる。   FIG. 8 is a flowchart for explaining the image processing shown as the second specific example. The image processing shown as the specific example 2 can be provided as, for example, a plug-in function incorporated in 3DCG software executed by the CPU 21 of the image processing apparatus 2 described above.

先ず、オブジェクト加工ステップS21において、操作入力部25は、仮想3次元空間に配置された第1のオブジェクトである樹木のオブジェクト、又は第2のオブジェクトである他のオブジェクトへの加工操作を受ける。加工操作としては、樹木のオブジェクト、又は第2のオブジェクトのサイズの変更、ベクトル方向の変更などが挙げられる。なお、他のオブジェクトは、樹木であっても樹木以外の建造物などであってもよい。   First, in the object processing step S21, the operation input unit 25 receives a processing operation for a tree object that is a first object arranged in the virtual three-dimensional space or another object that is a second object. Examples of the processing operation include changing the size of the tree object or the second object, changing the vector direction, and the like. The other object may be a tree or a building other than a tree.

樹木のオブジェクトのサイズの変更例として、樹木のオブジェクトを生長させてもよい。樹木のオブジェクトの生長は、例えば、生長速度に関する生命エネルギーのパラメータを用いて制御することができる。これにより、樹木モデルがどのように他のオブジェクトを回避して生長するのかを確認することができ、CGアーティストの作業効率を向上させることができる。   As an example of changing the size of the tree object, the tree object may be grown. The growth of a tree object can be controlled using, for example, a life energy parameter related to the growth rate. Thereby, it can be confirmed how the tree model avoids other objects and grows, and the working efficiency of the CG artist can be improved.

また、樹木のベクトル方向の変更例として、樹木オブジェクトを吸引する吸引オブジェクトを配置し、樹木の枝のベクトルを吸引オブジェクトに向けてもよい。これにより、例えば、仮想3次元空間で樹木モデルが空洞に吸引されるシーンなどを他のオブジェクトを回避した状態で確認することができ、CGアーティストの作業効率を向上させることができる。   As an example of changing the vector direction of a tree, a suction object that sucks a tree object may be arranged, and a vector of a tree branch may be directed to the suction object. Thereby, for example, a scene where a tree model is sucked into a cavity in a virtual three-dimensional space can be confirmed while avoiding other objects, and the working efficiency of the CG artist can be improved.

次の重なり検出ステップS22、オブジェクト変形ステップS23、及び描画ステップS24は、それぞれ上述した検出ステップS12、オブジェクト変形ステップS13、及び描画ステップS14と同様であるため、ここでは説明を省略する。   Since the next overlap detection step S22, object deformation step S23, and drawing step S24 are the same as the above-described detection step S12, object deformation step S13, and drawing step S14, respectively, description thereof is omitted here.

図9(A)は、アーチ下に配置された生長前の樹木画像の例を示す図であり、図9(B)は、アーチ下に配置された生長後の樹木画像の例を示す図である。このように樹木のオブジェクト91を生長させた場合であっても、樹木のオブジェクト91がアーチ92を回避することができるため、樹木のオブジェクト91がどのようにアーチ92を回避して生長するのかを確認することができ、CGアーティストの作業効率を向上させることができる。   FIG. 9A is a diagram showing an example of a pre-growth tree image arranged under the arch, and FIG. 9B is a diagram showing an example of a tree image after growth arranged under the arch. is there. Even when the tree object 91 is grown in this way, the tree object 91 can avoid the arch 92, and thus how the tree object 91 avoids the arch 92 and grows. As a result, the working efficiency of the CG artist can be improved.

また、図10(A)は、吸引力を有する椅子を遠方に配置した樹木画像の例を示す図であり、図10(B)は、吸引力を有する椅子を近傍に配置した樹木画像の例を示す図である。このように吸引力を有する椅子のオブジェクト102を樹木のオブジェクト101の近傍に配置した場合であっても、樹木のオブジェクト101が椅子のオブジェクト1010を回避した状態を確認することができ、CGアーティストの作業効率を向上させることができる。   FIG. 10A is a diagram illustrating an example of a tree image in which a chair having a suction force is arranged far away, and FIG. 10B is an example of a tree image in which a chair having a suction force is disposed in the vicinity. FIG. Thus, even when the chair object 102 having suction power is arranged in the vicinity of the tree object 101, it is possible to confirm the state in which the tree object 101 avoids the chair object 1010. Work efficiency can be improved.

以上のように、樹木のオブジェクトを加工した場合であっても、リアルタイムで樹木のオブジェクトが周囲のオブジェクトを回避して変化するため、CGアーティストの負担が軽減され、CGアーティストの作業効率を向上させることができる。   As described above, even when a tree object is processed, the tree object changes in real time while avoiding surrounding objects, so the burden on the CG artist is reduced and the work efficiency of the CG artist is improved. be able to.

なお、第2の実施の形態では、3DCGの制作を例に挙げて説明したが、これに限られることなく、例えば、3DCGのゲームに適用することも可能である。例えば、ゲーム上の時間の経過に伴い、樹木のオブジェクトを周辺のオブジェクトを回避して生長させることにより、よりリアルな世界を実現することができる。   In the second embodiment, 3DCG production has been described as an example. However, the present invention is not limited to this, and can be applied to a 3DCG game, for example. For example, with the passage of time on the game, a more realistic world can be realized by growing tree objects while avoiding surrounding objects.

1 画像処理装置、2 画像処置装置、11 操作入力部、12 重なり検出部、 13 オブジェクト変形部、14 描画部、15 オブジェクト加工部、21 CPU、22 GPU、23 ROM、24 RAM、25 操作入力部、26 ストレージ、27 入出力インターフェース
DESCRIPTION OF SYMBOLS 1 Image processing apparatus, 2 Image treatment apparatus, 11 Operation input part, 12 Overlap detection part, 13 Object deformation | transformation part, 14 Drawing part, 15 Object processing part, 21 CPU, 22 GPU, 23 ROM, 24 RAM, 25 Operation input part , 26 storage, 27 I / O interface

Claims (7)

仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトへの入力操作を受ける操作入力部と、
仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトを加工するオブジェクト加工部と、
前記仮想3次元空間における前記第1のオブジェクトと前記第2のオブジェクトとの衝突を検出する重なり検出部と、
前記重なり検出部にて衝突が検出された場合、前記第2のオブジェクトとの衝突を回避するように前記第1のオブジェクトを変形させるオブジェクト変形部と、
前記仮想3次元空間に配置された前記第1のオブジェクトと前記第2のオブジェクトとを描画する描画部とを備え、
前記重なり検出部が、前記操作入力部における入力操作の都度及び前記オブジェクト加工部における加工の都度、前記第1のオブジェクトと前記第2のオブジェクトとの衝突を検出する画像処理装置。
An operation input unit for receiving an input operation to the first object or the second object arranged in the virtual three-dimensional space;
An object processing unit that processes the first object or the second object arranged in the virtual three-dimensional space;
An overlap detection unit for detecting a collision between the first object and the second object in the virtual three-dimensional space;
An object deforming unit that deforms the first object so as to avoid a collision with the second object when a collision is detected by the overlap detection unit;
A drawing unit that draws the first object and the second object arranged in the virtual three-dimensional space;
An image processing apparatus in which the overlap detection unit detects a collision between the first object and the second object each time an input operation is performed in the operation input unit and each time processing is performed in the object processing unit.
前記第1のオブジェクトが、幹と枝とを含む樹木モデルであり、
前記オブジェクト変形部が、前記樹木モデルの幹及び枝のうち少なくとも1つを変形させる請求項1記載の画像処理装置。
The first object is a tree model including a trunk and a branch;
The image processing apparatus according to claim 1, wherein the object deforming unit deforms at least one of a trunk and a branch of the tree model.
前記第1のオブジェクトが、幹と枝とを含む樹木モデルであり、
前記オブジェクト加工部が、前記樹木モデルを生長させる請求項記載の画像処理装置。
The first object is a tree model including a trunk and a branch;
The object processing unit, an image processing apparatus according to claim 1, wherein for growing the tree model.
前記第1のオブジェクトが、幹と枝とを含む樹木モデルであり、
前記オブジェクト加工部が、前記樹木モデルの幹及び枝のうち少なくとも1つを吸引する吸引オブジェクトを配置する請求項記載の画像処理装置。
The first object is a tree model including a trunk and a branch;
The object processing unit, an image processing apparatus according to claim 1 wherein placing a suction objects for sucking at least one of the stem and branches of the tree model.
仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトへの入力操作を受ける操作入力ステップと、
仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトを加工するオブジェクト加工ステップと、
前記仮想3次元空間における前記第1のオブジェクトと前記第2のオブジェクトとの衝突を検出する重なり検出ステップと、
前記重なり検出ステップにて衝突が検出された場合、前記第2のオブジェクトとの衝突を回避するように前記第1のオブジェクトを変形させるオブジェクト変形ステップと、
前記仮想3次元空間に配置された前記第1のオブジェクトと前記第2のオブジェクトとを描画する描画ステップとを有し、
前記重なり検出ステップでは、前記操作入力ステップにおける入力操作の都度及び前記オブジェクト加工ステップにおける加工の都度、前記第1のオブジェクトと前記第2のオブジェクトとの衝突を検出する画像処理方法。
An operation input step for receiving an input operation to the first object or the second object arranged in the virtual three-dimensional space;
An object processing step of processing the first object or the second object arranged in the virtual three-dimensional space;
An overlap detection step of detecting a collision between the first object and the second object in the virtual three-dimensional space;
An object deformation step of deforming the first object so as to avoid a collision with the second object when a collision is detected in the overlap detection step;
A drawing step of drawing the first object and the second object arranged in the virtual three-dimensional space;
In the overlap detection step, an image processing method for detecting a collision between the first object and the second object each time an input operation is performed in the operation input step and each time processing is performed in the object processing step .
仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトへの入力操作を受ける操作入力ステップと、
仮想3次元空間に配置された第1のオブジェクト又は第2のオブジェクトを加工するオブジェクト加工ステップと、
前記仮想3次元空間における前記第1のオブジェクトと前記第2のオブジェクトとの衝突を検出する重なり検出ステップと、
前記重なり検出ステップにて衝突が検出された場合、前記第2のオブジェクトとの衝突を回避するように前記第1のオブジェクトを変形させるオブジェクト変形ステップと、
前記仮想3次元空間に配置された前記第1のオブジェクトと前記第2のオブジェクトとを描画する描画ステップとを有し、
前記重なり検出ステップでは、前記操作入力ステップにおける入力操作の都度及び前記オブジェクト加工ステップにおける加工の都度、前記第1のオブジェクトと前記第2のオブジェクトとの衝突を検出する画像処理をコンピュータに実行させるプログラム。
An operation input step for receiving an input operation to the first object or the second object arranged in the virtual three-dimensional space;
An object processing step of processing the first object or the second object arranged in the virtual three-dimensional space;
An overlap detection step of detecting a collision between the first object and the second object in the virtual three-dimensional space;
An object deformation step of deforming the first object so as to avoid a collision with the second object when a collision is detected in the overlap detection step;
A drawing step of drawing the first object and the second object arranged in the virtual three-dimensional space;
In the overlap detection step, a program for causing a computer to execute image processing for detecting a collision between the first object and the second object each time an input operation is performed in the operation input step and each time processing is performed in the object processing step. .
請求項に記載のプログラムを記録した記録媒体。
A recording medium on which the program according to claim 6 is recorded.
JP2016209298A 2016-10-26 2016-10-26 Image processing apparatus, image processing method, program, and recording medium Active JP6454671B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016209298A JP6454671B2 (en) 2016-10-26 2016-10-26 Image processing apparatus, image processing method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016209298A JP6454671B2 (en) 2016-10-26 2016-10-26 Image processing apparatus, image processing method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2018072974A JP2018072974A (en) 2018-05-10
JP6454671B2 true JP6454671B2 (en) 2019-01-16

Family

ID=62112720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016209298A Active JP6454671B2 (en) 2016-10-26 2016-10-26 Image processing apparatus, image processing method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP6454671B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114299221B (en) * 2021-12-30 2025-01-21 网易(杭州)网络有限公司 Mountain rendering method, device and electronic equipment
JP2024139138A (en) 2023-03-27 2024-10-09 株式会社日立システムズ Training content creation system and training content creation method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3843242B2 (en) * 2002-02-28 2006-11-08 株式会社バンダイナムコゲームス Program, information storage medium, and game device
JP4651435B2 (en) * 2005-03-31 2011-03-16 株式会社バンダイナムコゲームス Program, information storage medium, and image generation system

Also Published As

Publication number Publication date
JP2018072974A (en) 2018-05-10

Similar Documents

Publication Publication Date Title
CN112767522B (en) Virtual object wind animation rendering method and device, storage medium and electronic device
US11219829B2 (en) Non-transitory computer-readable storage medium storing image processing program, image processing system, image processing apparatus, and image processing method
JP5055214B2 (en) Image processing apparatus and image processing method
JP5005090B2 (en) Cutting simulation display device, cutting simulation display method, and cutting simulation display program
CN111773719B (en) Virtual object rendering method and device, storage medium, and electronic device
JP6993585B2 (en) Game programs and game equipment
CN112862929B (en) Method, device, equipment and readable storage medium for generating virtual target model
JP2020080007A (en) Information processor, information processing program, information processing system, and information processing method
JP6454671B2 (en) Image processing apparatus, image processing method, program, and recording medium
CN113450441A (en) Rendering method and device of three-dimensional virtual model and electronic equipment
CN113160368A (en) Animation data processing method and device
US11244499B2 (en) Information processing apparatus, non-transitory computer-readable storage medium storing information processing program, information processing system, and information processing method
JP4407434B2 (en) Image processing apparatus, image processing method, and image processing program
JP2009020874A (en) Hair simulation method and apparatus
JP2011008547A (en) Tree image generating device, tree image generating method and program
JP2003228725A (en) 3D image processing system
KR100809522B1 (en) A efficient view-dependent lodlevel of detail lendering method of terrain
EP4420752A1 (en) Apparatus, systems and methods for animation data
KR102858936B1 (en) Creating a display of a 3D object
JP2011095937A (en) Program, information storage medium and image generation system
CN115761088B (en) Element generation method, rendering method, device, electronic device, storage medium
Ashlock et al. Simultaneous evolution of bracketed L-system rules and interpretation
US20170148219A1 (en) Computer-readable recording medium for drawing processing, drawing processing apparatus, drawing processing method, computer-readable recording medium for sound processing, sound processing apparatus, and sound processing method
JP7307362B2 (en) Game program and game device
Li et al. Stressful Tree Modeling: Breaking Branches with Strands

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181106

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181217

R150 Certificate of patent or registration of utility model

Ref document number: 6454671

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250