JP2010003136A - Device and method for creating three-dimensional model data - Google Patents
Device and method for creating three-dimensional model data Download PDFInfo
- Publication number
- JP2010003136A JP2010003136A JP2008161799A JP2008161799A JP2010003136A JP 2010003136 A JP2010003136 A JP 2010003136A JP 2008161799 A JP2008161799 A JP 2008161799A JP 2008161799 A JP2008161799 A JP 2008161799A JP 2010003136 A JP2010003136 A JP 2010003136A
- Authority
- JP
- Japan
- Prior art keywords
- data
- coordinate system
- surface shape
- dimensional
- polygon
- 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.)
- Pending
Links
Images
Landscapes
- Image Generation (AREA)
Abstract
Description
本発明は、3次元物体の表面形状データを生成する装置および方法に係わり、例えば、3次元コンピュータグラフィックスに適用可能である。 The present invention relates to an apparatus and method for generating surface shape data of a three-dimensional object, and is applicable to, for example, three-dimensional computer graphics.
近年、3次元物体の設計において、コンピュータが広く導入されている。例えば、機械製品の設計では、3次元CADシステムを使用して、各部品の3次元形状が設計されている。また、3次元形状を表示する方法として、コンピュータ上に3次元モデルを構築してその3次元モデルを2次元画像として描画するDMU(Digital Mock-Up)や、3次元ビューア等も普及してきている。 In recent years, computers have been widely introduced in the design of three-dimensional objects. For example, in the design of a machine product, a three-dimensional shape of each part is designed using a three-dimensional CAD system. In addition, as a method for displaying a three-dimensional shape, a DMU (Digital Mock-Up) that constructs a three-dimensional model on a computer and draws the three-dimensional model as a two-dimensional image, a three-dimensional viewer, and the like have become widespread. .
3次元コンピュータグラフィックスにおいて、物体の形状を表現するための技術としてポリゴンモデルが広く普及している。ポリゴンモデルは、多数のポリゴンを利用して物体の表面を直接的にまたは近似的にモデル化する手法である。ここで、ポリゴンは、立体形状を表現するための要素であり、一般には、3角形または4角形である。すなわち、コンピュータで3次元図形を扱う場合、物体の表面は微小なポリゴンに分割され、各ポリゴンがそれぞれ数値データで表される。これにより、任意の視点から見たときの物体の形状を表現することができる。また、ポリゴンの数を増やせば、物体の形状をより精細に表現することが可能になる。 In three-dimensional computer graphics, a polygon model is widely used as a technique for expressing the shape of an object. The polygon model is a technique for modeling the surface of an object directly or approximately using a large number of polygons. Here, the polygon is an element for expressing a three-dimensional shape, and is generally a triangle or a quadrangle. That is, when a computer handles a three-dimensional figure, the surface of the object is divided into minute polygons, and each polygon is represented by numerical data. Thereby, the shape of the object when viewed from an arbitrary viewpoint can be expressed. Further, if the number of polygons is increased, the shape of the object can be expressed more precisely.
なお、関連する技術として、特許文献1には、立体画像を表示する装置が記載されている。この装置は、メモリ部、反転部、バッファメモリ、視差制御部、表示部を備える。メモリ部は、右目または左目から見たときの左右対称キャラクタを格納する。反転部は、メモリ部から読み出した左右対称キャラクタを反転させる。バッファメモリは、反転部により反転された左右対称キャラクタを一時的に格納する。視差制御部は、バッファメモリから読み出される右目から見たときの左右対称キャラクタと左目から見たときの左右対称キャラクタに視差を与える。そして、表示部は、視差制御部により生成される表示データを表示する。
ポリゴンモデルにおいては、大規模な装置や複雑な形状を表現する場合、必然的にポリゴンの数が多くなる。すなわち、ポリゴンデータのデータ量が膨大になり、大容量のメモリが必要になる。なお、この問題は、ポリゴンモデルに限定されるものではなく、3次元物体を表現する技術において広く生じている。 In the polygon model, the number of polygons inevitably increases when a large-scale device or a complicated shape is expressed. That is, the amount of polygon data is enormous, and a large-capacity memory is required. Note that this problem is not limited to the polygon model, and is widely occurring in the technique of representing a three-dimensional object.
このように、3次元物体を表現する3次元モデルデータのデータ量を削減する技術が望まれている。 Thus, a technique for reducing the data amount of 3D model data representing a 3D object is desired.
開示の3次元モデルデータ生成装置は、3次元物体を表現する3次元モデルデータを生成する装置であって、前記3次元物体を互いに対称な第1の部分および第2の部分に分割する分割手段と、前記第1の部分の表面形状を表す第1の表面形状データを生成するデータ生成手段と、前記第1の表面形状データを格納する格納手段、を有する。 The disclosed three-dimensional model data generation apparatus is an apparatus for generating three-dimensional model data representing a three-dimensional object, and dividing means for dividing the three-dimensional object into a first part and a second part that are symmetrical to each other And data generating means for generating first surface shape data representing the surface shape of the first portion, and storage means for storing the first surface shape data.
上記3次元モデルデータ生成装置は、前記3次元物体を前記第1の部分および第2の部
分に分割する対称平面内に2つの座標軸を有し、前記対称平面に垂直な方向に1つの座標軸を有する3次元直交座標系を定義する座標系定義手段をさらに備えるようにしてもよい。この場合、データ生成手段は、前記3次元直交座標系を利用して、前記第1の表面形状データを生成する。そして、前記格納手段は、前記第1の表面形状データと共に、前記3次元直交座標系を定義する座標系データを格納する。
The three-dimensional model data generation apparatus has two coordinate axes in a symmetry plane that divides the three-dimensional object into the first part and the second part, and one coordinate axis in a direction perpendicular to the symmetry plane. You may make it further provide the coordinate system definition means which defines the three-dimensional orthogonal coordinate system which has. In this case, the data generation means generates the first surface shape data using the three-dimensional orthogonal coordinate system. The storage means stores coordinate system data defining the three-dimensional orthogonal coordinate system together with the first surface shape data.
開示の3次元モデル表示装置は、上述のようにして生成された第1の表面形状データに基づいて、前記第2の部分についての表面形状を表す第2の表面形状データを生成するデータ再生手段と、前記第1の表面形状データおよび第2の表面形状データに従って前記3次元物体を表示する表示手段、を有する。 The disclosed three-dimensional model display device is a data reproducing unit that generates second surface shape data representing the surface shape of the second portion based on the first surface shape data generated as described above. And display means for displaying the three-dimensional object according to the first surface shape data and the second surface shape data.
開示の装置または方法によれば、3次元物体を表現する3次元モデルデータのデータ量を削減することができる。 According to the disclosed apparatus or method, the data amount of the three-dimensional model data representing the three-dimensional object can be reduced.
図1は、実施形態の3次元モデルデータ生成方法の概要を説明する図である。ここでは、コンピュータ上に表現すべき物体100が要素101および要素102から構成されており、要素102の3次元形状データが生成されるものとする。物体100は、例えば、機械製品を構成する部品である。また、要素102は、直方体である。
FIG. 1 is a diagram illustrating an overview of a method for generating three-dimensional model data according to an embodiment. Here, it is assumed that an object 100 to be expressed on a computer is composed of an
図1において、部品座標系は、部品ごとに設けられ、基準座標系に対して並進移動ベクトルおよび回転行列を用いて定義される。また、部分座標系は、部品を構成する要素ごとに設けられ、部品座標系に対して並進移動ベクトルおよび回転行列を用いて定義される。なお、基準座標系、部品座標系、部分座標系は、それぞれ、3次元直交座標系(XYZ座標系)である。 In FIG. 1, a component coordinate system is provided for each component and is defined using a translation vector and a rotation matrix with respect to a reference coordinate system. The partial coordinate system is provided for each element constituting the part, and is defined using a translation vector and a rotation matrix with respect to the part coordinate system. The reference coordinate system, the component coordinate system, and the partial coordinate system are each a three-dimensional orthogonal coordinate system (XYZ coordinate system).
コンピュータグラフィックスにおいて物体を3次元で表現するためには、一般的には、複数のポリゴンを用いてその物体のすべての表面が表現される。しかし、実施形態の3次元モデルデータ生成方法では、物体が面対称形状である場合には、その物体の表面の一部についてだけポリゴンが生成される。すなわち、要素102は、平面に対して互いに対称な要素102aおよび102bに分割され、要素102aの表面を表すポリゴンが生成される。このとき、要素102aの表面を表すポリゴンの位置(すなわち、ポリゴンの各頂点の座標)は、要素102に対して設定された部分座標系を利用して表される。そして、生成されたポリゴンデータは、メモリに格納される。なお、要素102bの表面を表すポリゴンは生成する必要はない。また、要素102aおよび要素102bが互いに接する面についてのポリゴンは生成されない。
In order to represent an object in three dimensions in computer graphics, generally, all surfaces of the object are represented using a plurality of polygons. However, in the 3D model data generation method of the embodiment, when an object has a plane symmetry shape, a polygon is generated only for a part of the surface of the object. That is, the
要素102を表示する際には、要素102aの表面を表すポリゴンから、要素102bの表面を表すポリゴンが生成される。ここで、要素102aおよび102bは、互いに対称な形状である。したがって、要素102bの表面を表すポリゴンは、要素102aの表面を表すポリゴンから容易に生成することができる。そして、要素102aの表面を表すポリゴンおよび要素102bの表面を表すポリゴンを用いて、要素102の形状が表現される。
When displaying the
このように、実施形態の3次元モデルデータ生成方法では、コンピュータ上に表現すべき物体のすべての表面のポリゴンを格納しておく必要はない。したがって、ポリゴンデータのデータ量が削減され、ポリゴンデータを格納するためのメモリの容量を小さくすることができる。 As described above, in the 3D model data generation method according to the embodiment, it is not necessary to store polygons on all surfaces of an object to be expressed on a computer. Therefore, the data amount of polygon data is reduced, and the capacity of the memory for storing polygon data can be reduced.
<表面形状データの生成>
図2は、実施形態の3次元モデルデータ生成装置の構成を示す図である。図2に示す3次元モデルデータ生成装置1は、解析部11、仮ポリゴン生成部12、対称面算出部13、座標系定義部14、ポリゴン生成部15、メモリ16を備える。
<Generation of surface shape data>
FIG. 2 is a diagram illustrating a configuration of the three-dimensional model data generation apparatus according to the embodiment. The three-dimensional model
3次元モデルデータ生成装置1には、3次元物体の形状の特徴を定義する定義情報が与えられる。定義情報は、特に限定されるものではないが、この実施例では、3次元CADシステムにより生成される。定義情報は、図形識別情報および形状情報を含んでいる。図形識別情報は、図形要素の種別(円柱、円錐、球、直方体、立方体、円板、...ネジ、ボルト、歯車、バネ、...)を指定する。また、形状情報は、図形識別情報で指定された図形要素の形状を指定する。例えば、「図形識別情報=円柱」である場合、形状情報として中心軸、半径、位置(例えば、基準座標系または部品座標系における底面の中心の座標)、高さが定義される。「図形識別情報=球」である場合は、形状情報として半径、位置(例えば、基準座標系または部品座標系における底面の中心の座標)が定義される。なお、定義情報は、例えば、3次元CADシステムを操作するユーザによって入力される。
The 3D model
解析部11は、定義情報を解析し、表現すべき3次元物体が面対称形状であるか否かをチェックする。例えば、「図形識別情報=円柱」であれば、表示すべき3次元物体が面対称形状であると判定される。また、「図形識別情報=バネ」であれば、表示すべき3次元物体が面対称形状ではないと判定される。 The analysis unit 11 analyzes the definition information and checks whether or not the three-dimensional object to be expressed has a plane symmetrical shape. For example, if “graphic identification information = cylinder”, it is determined that the three-dimensional object to be displayed has a plane-symmetric shape. If “graphic identification information = spring”, it is determined that the three-dimensional object to be displayed is not a plane-symmetric shape.
以下の説明では、図3に示す部品200を定義する定義情報が解析部11に入力されるものとする。部品200は、例えば、機械製品を構成する1つの部品であり、要素201および要素202から構成されている。要素201は直方体であり、要素202は円柱である。そして、以下では、要素202についての表面形状データを生成する手順を説明する。
In the following description, it is assumed that definition information that defines the component 200 illustrated in FIG. 3 is input to the analysis unit 11. The part 200 is, for example, one part that constitutes a machine product, and includes an
仮ポリゴン生成部12は、定義情報の中の形状情報に基づいて仮ポリゴンを生成する。すなわち、仮ポリゴン生成部12は、まず、「円」を近似的に表すための「正多角形」を決定する。「正多角形」は、例えば、近似誤差によって決定される。近似誤差は、たとえば、円の半径rと、図4(a)に示す弧と弦との間の距離dとの比率により定義される。また、この近似誤差は、例えば、3次元CADシステムを操作するユーザによって入力される。そして、図4(a)に示す例では、「円」が「正8角形」で表されている。すなわち、要素202は、図4(b)に示すように、「8角柱」で表されることになる。
The temporary
この8角柱は、16個の頂点で表現される。すなわち、この8角柱は、頂点V11〜V18、V21〜V28によって表現される。図4(b)では、頂点V25〜V27は描かれていない。なお、各頂点の位置は、図3に示す基準座標系または部品座標系を利用して表されている。 This octagonal column is represented by 16 vertices. That is, this octagonal column is represented by vertices V11 to V18, V21 to V28. In FIG. 4B, the vertices V25 to V27 are not drawn. Note that the position of each vertex is expressed using the reference coordinate system or the component coordinate system shown in FIG.
続いて、仮ポリゴン生成部12は、図4(b)に示すように、「8角柱」を表現するポリゴンを生成する。ここでは、ポリゴンは、3角形である。また、説明を簡単にするために、上面および底面については省略するものとする。そうすると、「8角柱」の表面は、16個のポリゴン(P1〜P16)で表現することができる。ただし、図4(b)では、ポリゴンP7〜P14は描かれていない。そして、例えば、ポリゴンP1は、3つの頂点(V11、V21、V22)によって表される。ポリゴンP2は、3つの頂点(V11、V12、V22)によって表される。他のポリゴンも同様にそれぞれ3つの頂点によって表される。
Subsequently, the temporary
対称面算出部13は、要素202を互いに対称な第1の部分および第2の部分に分割す
る対称面を算出する。対称面は、図5に示すように、例えば、任意の頂点(V11)、および円柱の中心軸を含む平面Cとして算出される。ここで、「中心軸」は、定義情報によって定義されている。或いは、平面Cは、任意の頂点(V11)、上面においてV11から4番目の頂点(V15)、底面においてV11の真下に位置の頂点(V21)により定義されるようにしてもよい。なお、以下の説明では、平面Cを用いて要素202を分割することにより得られる第1の部分および第2の部分を、それぞれ、要素202a、202bと呼ぶことにする。また、図5では、要素202aは実線で描かれており、要素202bは破線で描かれている。
The symmetry
座標系定義部14は、各ポリゴンを表現するための対称中心座標系を定義する。対称中心座標系は、図1を参照しながら説明した部分座標系に相当する。そして、この対称中心座標系は、平面C内に2つの座標軸を有し、その平面Cに垂直な方向に1つの座標軸を有する3次元直交座標系である。一例としては、対称中心座標系の原点は、8角柱の上面の中心点(すなわち、中心軸と円柱の上面とが交差する点)に設定される。Z軸は、円柱の中心軸である。Y軸は、平面C内で円柱の中心軸と直交する方向に設けられる。X軸は、平面Cに垂直な方向に設けられる。
The coordinate
座標系定義部14は、上述の対称中心座標系を定義する座標系データを生成する。座標系データは、部品座標系(または、基準座標系)における対称中心座標系の原点の位置を表す位置情報、および部品座標系(または、基準座標系)に対する対称中心座標系の回転成分を表す回転情報から構成される。位置情報は、例えば、ベクトル成分であり、並進変換行列Tで表される。また、回転情報は、例えば、回転変換行列Rで表される。
The coordinate
ポリゴン生成部15は、要素202aまたは202bの一方の表面を表すポリゴンを選択する。この実施例では、仮ポリゴン生成部12によって生成された16個のポリゴンP1〜P16のうちから、要素202aの表面を表す8個のポリゴンP1〜P8が選択されるものとする。続いて、ポリゴン生成部15は、座標系定義部14により定義された対称中心座標系を用いて、選択したポリゴンの頂点の位置を表す。すなわち、ポリゴンP1〜P8について、それぞれ、3つの頂点の位置が対称中心座標系を用いて表される。
The
図6は、ポリゴン生成部15により生成されるポリゴンデータの実施例である。ここでは、要素202についてのポリゴンデータを示している。このポリゴンデータは、要素202aの表面を表す8個のポリゴンP1〜P8を表している。図6において、ポリゴンP1は、3つの頂点V11、V12、V21で定義されることを示している。また、各頂点の位置は、対称中心座標系を用いて表されている。すなわち、例えば、頂点V11の位置を表す「(x11,y11,z11)」は、対称中心座標系の置けるX座標、Y座標、Z座標を表している。なお、他のポリゴン、他の頂点についても同様である。
FIG. 6 is an example of polygon data generated by the
このようにして生成されたポリゴンデータは、メモリ16に格納される。このとき、メモリ16には、ポリゴンデータと共に、対称中心座標系を定義する座標系データも合わせて格納される。なお、メモリ16は、特に限定されるものではなく、半導体メモリであってもよいし、磁気ディスク或いは光ディスク等であってもよい。
The polygon data generated in this way is stored in the
このように、実施形態の3次元モデルデータ生成方法では、要素202を表示するための3次元モデルデータを生成するときは、要素202aの表面を表すポリゴンP1〜P8のみがメモリ16に格納される。これに対して、従来技術においては、要素202のすべての表面を表すポリゴンP1〜P16が必要である。したがって、実施形態の方法によれば、メモリ16に格納すべきポリゴンデータのデータ量が削減される。要素202においては、ポリゴンデータのデータ量は、従来技術と比較して2分の1に削減されている。
Thus, in the 3D model data generation method of the embodiment, when generating 3D model data for displaying the
なお、表現すべき物体が面対称形状でなかった場合には、仮ポリゴン生成部12により生成されるポリゴンデータがそのままメモリ16に格納される。すなわち、表現すべき物体のすべての表面を表すポリゴンデータがメモリ16に格納される。
If the object to be expressed is not a plane-symmetric shape, the polygon data generated by the temporary
図7は、実施形態の3次元モデルデータ生成方法のフローチャートである。このフローチャートは、仮ポリゴン生成部12により各ポリゴンが生成された後に実行されるものとする。また、ここでは、図4および図5に示す実施例を参照して手順を説明する。
FIG. 7 is a flowchart of the three-dimensional model data generation method according to the embodiment. This flowchart is executed after each polygon is generated by the provisional
ステップS1では、多角形データが入力される。多角形データは、各ポリゴンの頂点の位置を表す情報A、円柱の中心軸を表す情報Bを含んでいる。情報Aは、図4に示す例では、ポリゴンP1〜P16の各頂点の位置を表す。 In step S1, polygon data is input. The polygon data includes information A representing the position of the vertex of each polygon and information B representing the center axis of the cylinder. In the example shown in FIG. 4, the information A represents the position of each vertex of the polygons P1 to P16.
ステップS2では、物体(要素202)を互いに対称な第1の部分(要素202a)および第2の部分(要素202b)に分割する対称平面Cを算出する。具体的には、たとえば、情報Aを参照し、任意の頂点を選択する。そして、情報Bにより表される中心軸および選択された頂点を含む平面を、対象平面Cと設定する。なお、対称平面を決定する方法は、これに限定されるものではない。
In step S2, a symmetry plane C for dividing the object (element 202) into a first part (
ステップS3では、対称平面Cによって分割された要素の一方(ここでは、要素202a)に属するポリゴンを選択する。図4〜図5に示す例では、ポリゴンP1〜P8が選択される。そして、選択したポリゴンの各頂点を表す情報Dを出力する。
In step S3, a polygon belonging to one of the elements divided by the symmetry plane C (here, the
ステップS4では、対称中心座標系Eを設定する。対称中心座標系を設定する方法については、上述した通りである。そして、ステップS3で得られる各ポリゴンの頂点の位置は、この対称中心座標系E上の座標に変換される。このようにして生成される情報は、メモリ16に格納される。また、対称中心座標系Eを定義する座標系データもメモリ16に格納される。
In step S4, a symmetric central coordinate system E is set. The method for setting the symmetric central coordinate system is as described above. Then, the position of the vertex of each polygon obtained in step S3 is converted to coordinates on this symmetrical central coordinate system E. Information generated in this way is stored in the
<表示>
図8は、実施形態の3次元モデル表示装置の構成を示す図である。図8に示す3次元モデル表示装置20は、展開部21、座標変換部22、表示部23を備えている。展開部21は、要素202を表示する際には、まず、メモリ16からポリゴンデータを読み出す。ここで、このポリゴンデータは、要素202の表面の全体を表すものではなく、要素202aのみの表面を表している。したがって、展開部21は、要素202aの表面を表すポリゴンを展開することにより、要素202bの表面を表すポリゴンを生成する。
<Display>
FIG. 8 is a diagram illustrating a configuration of the three-dimensional model display device of the embodiment. A three-dimensional
要素202a、202bは、図5に示す平面Cに対して互いに対称である。また、この平面Cは、対称中心座標系のYZ平面である。よって、要素202aの任意の頂点の位置を(xia,yia,zia)とすると、要素202bの対応する頂点の位置(xib,yib,zib)は、下式により算出される。
(xib,yib,zib)=(−xia,yia,zia)
したがって、各頂点について上述の演算を行えば、要素202bの表面を表すポリゴンが得られる。これにより、要素202のすべての表面を表すポリゴンが得られる。
The
(X ib , y ib , z ib ) = (− x ia , y ia , z ia )
Therefore, if the above calculation is performed for each vertex, a polygon representing the surface of the
座標変換部22は、要素202の表面を表すポリゴン(すなわち、要素202aの表面を表すポリゴンおよび要素202bの表面を表すポリゴン)の各頂点の位置データVi(s)を、部品座標系の位置データVi(p)に変換する。対称中心座標系から部品座標系への変換は、下記の通りである。
Vi(p)=R×Vi(s)+T ・・・(1)
「T」は、部品座標系における対称中心座標系の原点の位置を表すベクトル情報である。
また、「R」は、部品座標系に対する対称中心座標系の回転成分を表す回転情報である。さらに、必要に応じて、基準座標系の位置データに変換するようにしてもよい。部品座標系から基準座標系への変換は、基本的には、対象中心座標系から部品座標系への変換と同じである。
The coordinate
Vi (p) = R × Vi (s) + T (1)
“T” is vector information representing the position of the origin of the symmetric central coordinate system in the component coordinate system.
“R” is rotation information representing a rotation component of the symmetric central coordinate system with respect to the component coordinate system. Furthermore, it may be converted into position data in the reference coordinate system as necessary. The conversion from the component coordinate system to the reference coordinate system is basically the same as the conversion from the target center coordinate system to the component coordinate system.
表示部23は、上述にようにして生成されたポリゴンを表示する。なお、生成されたポリゴンを表示する方法は、特に限定されるものではないが、公知の技術により実現可能である。例えば、OpenGLに準拠したグラフィックスボードを使用して3次元モデルを表示する際には、座標系を定義する情報、および各ポリゴンの頂点座標情報をそのグラフィックスボードに入力する。そうすると、グラフィックスボード内のハードウェア回路において上記(1)式の座標変換処理が行われる。この場合、上記(1)式の演算は不要であり、座標系データおよび対称中心座標系における各頂点の位置データVi(s)を入力することによって、3次元モデルの描画が行われる。ただし、入力される座標系データは、部品座標系ではなく基準座標系に対して定義される。
The
<他の実施形態1>
上述の実施例では、ポリゴンデータおよび座標系データがメモリ16に格納されるが、この構成に限定されるものではない。すなわち、座標系データの代わりに、物体を互いに対称な第1の部分および第2の部分に分割する対称面を表す対称面データをメモリ16に格納するようにしてもよい。図5に示す例では、メモリ16には、ポリゴンデータとともに、平面Cを表す平面データが合わせて格納される。
<
In the above-described embodiment, polygon data and coordinate system data are stored in the
この構成においては、座標変換部22は、要素202の表面を表すポリゴンの各頂点の位置データVi(s)を、下記(2)式で部品座標系の位置データVi(p)に変換する。
Vi(p)=R×{W×{R-1×(Vi(s)−T)}}+T ・・・(2)
「R-1」は、回転情報行列の逆行列である。また、「W」は、平面Cに基づく鏡像変換情報である。
In this configuration, the coordinate
Vi (p) = R * {W * {R < -1 > * (Vi (s) -T)}} + T (2)
“R −1 ” is an inverse matrix of the rotation information matrix. “W” is mirror image conversion information based on the plane C.
<他の実施形態2>
上述の実施例では、物体を互いに対称な第1の部分および第2の部分に分割し、その一方のポリゴンデータがメモリ16に格納される。ここで、物体を分割することにより得られる要素が面対称形状である場合には、その要素をさらに分割してもよい。
<
In the above-described embodiment, the object is divided into a first part and a second part that are symmetrical to each other, and polygon data of one of them is stored in the
例えば、上述の要素202は、図9に示すように、要素202a、202bに分割される。さらに、要素202aは、互いに対称な要素202−a1、202−a2に分割することができる。図9では、要素202−a1のみが実線で描かれている。この場合、要素202−a1の表面を表す4個のポリゴンP1〜P4がメモリ16に格納される。このとき、これらのポリゴンの各頂点の位置は、第2の対称中心座標系を用いて表される。第2の対称中心座標系は、要素202aを要素202−a1、202−a2に分割するための平面C2内にX軸およびZ軸を有し、その平面C2に垂直な方向にY軸を有する。なお、第1の対称中心座標系は、図5を参照しながら説明した通りである。
For example, the above-described
この実施形態において要素202を表示する際には、まず、メモリ16に格納されているポリゴンデータから202−a2の表面を表すポリゴンデータを生成する。202−a2の表面を表すポリゴンデータは、メモリ16から読み出したポリゴンデータのY座標の符号を反転させることによって得られる。これにより、要素202aのポリゴンデータが得られる。この後、要素202bのポリゴンデータが算出される。要素202bのポリゴンデータを算出する方法は、上述した通りである。
In displaying the
このように、この実施形態では、ポリゴンデータを生成すべき領域の面積を2n分の1
にすることができる(nは、整数)。図9に示す実施例は、n=2であり、ポリゴンデータのデータ量は、4分の1に削減される。
As described above, in this embodiment, the area of the region where the polygon data is to be generated is set to 1 / 2n.
(Where n is an integer). In the embodiment shown in FIG. 9, n = 2, and the amount of polygon data is reduced to a quarter.
<ハードウェア構成>
図10は、実施形態の3次元モデルデータ生成装置1(または、3次元モデル表示装置20)に係わるハードウェア構成を示す図である。図10において、CPU51は、メモリ53を利用して3次元モデルデータ生成プログラム(または、3次元モデル表示プログラム)を実行する。記憶装置52は、例えばハードディスクであり、3次元モデルデータ生成プログラムを格納する。なお、記憶装置52は、外部記録装置であってもよい。メモリ53は、例えば半導体メモリであり、RAM領域およびROM領域を含む。
<Hardware configuration>
FIG. 10 is a diagram illustrating a hardware configuration related to the 3D model data generation device 1 (or the 3D model display device 20) of the embodiment. In FIG. 10, the CPU 51 uses the memory 53 to execute a 3D model data generation program (or 3D model display program). The
読み取り装置54は、CPU51の指示に従って可搬型記録媒体55にアクセスする。可搬性記録媒体55は、例えば、半導体デバイス(PCカード等)、磁気的作用により情報が入出力される媒体、光学的作用により情報が入出力される媒体を含むものとする。通信インタフェース56は、CPU51の指示に従って、ネットワークを介してデータを送受信する。入出力装置57は、この実施例では、表示装置、およびユーザからの指示を受け付けるデバイス等に相当する。
The
実施形態に係わる3次元モデルデータ生成プログラム(または、3次元モデル表示プログラム)は、例えば、下記の形態で提供される。
(1)記憶装置52に予めインストールされている。
(2)可搬型記録媒体55により提供される。
(3)プログラムサーバ60からダウンロードする。
そして、上記構成のコンピュータで3次元モデルデータ生成プログラム(または、3次元モデル表示プログラム)を実行することにより、実施形態に係わるモデルデータ生成装置1(または、3次元モデル表示装置20)が実現される。
The three-dimensional model data generation program (or three-dimensional model display program) according to the embodiment is provided in the following form, for example.
(1) Installed in advance in the
(2) Provided by the portable recording medium 55.
(3) Download from the program server 60.
Then, the model data generation apparatus 1 (or 3D model display apparatus 20) according to the embodiment is realized by executing the 3D model data generation program (or 3D model display program) on the computer having the above configuration. The
上述の各実施例を含む実施形態に関し、さらに下記の付記を開示する。
(付記1)
3次元物体を表現する3次元モデルデータを生成する装置であって、
前記3次元物体を互いに対称な第1の部分および第2の部分に分割する分割手段と、
前記第1の部分の表面形状を表す第1の表面形状データを生成するデータ生成手段と、
前記第1の表面形状データを格納する格納手段、
を有する3次元モデルデータ生成装置。
(付記2)
付記1に記載の3次元モデルデータ生成装置であって、
前記第1の表面形状データは、ポリゴンデータである
ことを特徴とする3次元モデルデータ生成装置。
(付記3)
付記1に記載の3次元モデルデータ生成装置であって、
前記3次元物体を前記第1の部分および第2の部分に分割する対称平面内に2つの座標軸を有し、前記対称平面に垂直な方向に1つの座標軸を有する3次元直交座標系を定義する座標系定義手段をさらに備え、
前記データ生成手段は、前記3次元直交座標系を利用して、前記第1の表面形状データを生成し、
前記格納手段は、前記第1の表面形状データと共に、前記3次元直交座標系を定義する座標系データを格納する
ことを特徴とする3次元モデルデータ生成装置。
(付記4)
付記1に記載の3次元モデルデータ生成装置であって、
前記3次元物体を互いに対称な第1の部分および第2の部分に分割する対称平面を表す対称面データを算出する対称面算出手段をさらに備え、
前記格納手段は、前記第1の表面形状データと共に、前記対称面データを格納する
ことを特徴とする3次元モデルデータ生成装置。
(付記5)
付記1に記載の3次元モデルデータ生成装置であって、
前記3次元物体の形状の特徴を定義する定義情報を解析する解析手段をさらに備え、
前記分割手段は、前記解析手段による解析結果に基づいて、前記3次元物体を前記第1の部分および第2の部分に分割し、
前記データ生成手段は、前記解析手段による解析結果に基づいて、前記第1の表面形状データを生成する
ことを特徴とする3次元モデルデータ生成装置。
(付記6)
3次元物体を表現する3次元モデルデータを生成する装置であって、
前記3次元物体を互いに対称な第1の部分および第2の部分に分割すると共に、前記第1の部分をさらに互いに対称な第3の部分および第4の部分に分割する分割手段と、
前記第3の部分の表面形状を表す表面形状データを生成する表面データ生成手段と、
前記表面形状データを格納する格納手段、
を有する3次元モデルデータ生成装置。
(付記7)
付記1に記載の3次元モデルデータ生成装置によって生成される前記第1の表面形状データに基づいて、前記第2の部分についての表面形状を表す第2の表面形状データを生成するデータ再生手段と、
前記第1の表面形状データおよび第2の表面形状データに従って前記3次元物体を表示する表示手段、
を有する3次元モデル表示装置。
(付記8)
3次元物体を表現する3次元モデルデータを生成する方法であって、
前記3次元物体を互いに対称な第1の部分および第2の部分に分割し、
前記第1の部分の表面形状を表す第1の表面形状データを生成し、
前記第1の表面形状データを格納する、
ことを特徴とする3次元モデルデータ生成装置。
(付記9)
3次元物体を表現する3次元モデルデータを生成するために、コンピュータに、
前記3次元物体を互いに対称な第1の部分および第2の部分に分割する分割手段、
前記第1の部分の表面形状を表す第1の表面形状データを生成するデータ生成手段、
前記第1の表面形状データをメモリに格納する格納手段、
を実現させるための3次元モデルデータ生成プログラム。
The following additional notes are disclosed with respect to the embodiments including the above-described examples.
(Appendix 1)
An apparatus for generating three-dimensional model data representing a three-dimensional object,
Dividing means for dividing the three-dimensional object into a first part and a second part symmetrical to each other;
Data generating means for generating first surface shape data representing the surface shape of the first portion;
Storage means for storing the first surface shape data;
A three-dimensional model data generation apparatus having
(Appendix 2)
The three-dimensional model data generation device according to
The three-dimensional model data generation device, wherein the first surface shape data is polygon data.
(Appendix 3)
The three-dimensional model data generation device according to
A three-dimensional orthogonal coordinate system having two coordinate axes in a symmetry plane that divides the three-dimensional object into the first part and the second part and having one coordinate axis in a direction perpendicular to the symmetry plane is defined. A coordinate system defining means;
The data generation means generates the first surface shape data using the three-dimensional orthogonal coordinate system,
The storage means stores coordinate system data defining the three-dimensional orthogonal coordinate system together with the first surface shape data.
(Appendix 4)
The three-dimensional model data generation device according to
A symmetric plane calculating means for calculating symmetric plane data representing a symmetric plane that divides the three-dimensional object into a first portion and a second portion that are symmetrical to each other;
The storage unit stores the symmetry plane data together with the first surface shape data.
(Appendix 5)
The three-dimensional model data generation device according to
Analyzing means for analyzing definition information defining the characteristics of the shape of the three-dimensional object;
The dividing unit divides the three-dimensional object into the first part and the second part based on the analysis result by the analyzing unit,
The data generation unit generates the first surface shape data based on an analysis result by the analysis unit.
(Appendix 6)
An apparatus for generating three-dimensional model data representing a three-dimensional object,
Dividing means for dividing the three-dimensional object into a first portion and a second portion that are symmetrical to each other, and further dividing the first portion into a third portion and a fourth portion that are symmetrical to each other;
Surface data generating means for generating surface shape data representing the surface shape of the third portion;
Storage means for storing the surface shape data;
A three-dimensional model data generation apparatus having
(Appendix 7)
Data reproducing means for generating second surface shape data representing the surface shape of the second portion based on the first surface shape data generated by the three-dimensional model data generating device according to
Display means for displaying the three-dimensional object according to the first surface shape data and the second surface shape data;
A three-dimensional model display device.
(Appendix 8)
A method of generating three-dimensional model data representing a three-dimensional object,
Dividing the three-dimensional object into a first part and a second part symmetrical to each other;
Generating first surface shape data representing the surface shape of the first portion;
Storing the first surface shape data;
A three-dimensional model data generation device characterized by that.
(Appendix 9)
In order to generate 3D model data representing a 3D object,
Dividing means for dividing the three-dimensional object into a first part and a second part that are symmetrical to each other;
Data generating means for generating first surface shape data representing the surface shape of the first portion;
Storage means for storing the first surface shape data in a memory;
3D model data generation program for realizing the above.
1 3次元モデルデータ生成装置
11 解析部
12 仮ポリゴン生成部
13 対称面算出部
14 座標系定義部
15 ポリゴン生成部
16 メモリ
20 3次元モデル表示装置
21 展開部
22 座標変換部
23 表示部
DESCRIPTION OF
Claims (5)
前記3次元物体を互いに対称な第1の部分および第2の部分に分割する分割手段と、
前記第1の部分の表面形状を表す第1の表面形状データを生成するデータ生成手段と、
前記第1の表面形状データを格納する格納手段、
を有する3次元モデルデータ生成装置。 An apparatus for generating three-dimensional model data representing a three-dimensional object,
Dividing means for dividing the three-dimensional object into a first part and a second part symmetrical to each other;
Data generating means for generating first surface shape data representing the surface shape of the first portion;
Storage means for storing the first surface shape data;
A three-dimensional model data generation apparatus having
前記3次元物体を前記第1の部分および第2の部分に分割する対称平面内に2つの座標軸を有し、前記対称平面に垂直な方向に1つの座標軸を有する3次元直交座標系を定義する座標系定義手段をさらに備え、
前記データ生成手段は、前記3次元直交座標系を利用して、前記第1の表面形状データを生成し、
前記格納手段は、前記第1の表面形状データと共に、前記3次元直交座標系を定義する座標系データを格納する
ことを特徴とする3次元モデルデータ生成装置。 The three-dimensional model data generation device according to claim 1,
A three-dimensional orthogonal coordinate system having two coordinate axes in a symmetry plane that divides the three-dimensional object into the first part and the second part and having one coordinate axis in a direction perpendicular to the symmetry plane is defined. A coordinate system defining means;
The data generation means generates the first surface shape data using the three-dimensional orthogonal coordinate system,
The storage means stores coordinate system data defining the three-dimensional orthogonal coordinate system together with the first surface shape data.
前記3次元物体を互いに対称な第1の部分および第2の部分に分割すると共に、前記第1の部分をさらに互いに対称な第3の部分および第4の部分に分割する分割手段と、
前記第3の部分の表面形状を表す表面形状データを生成する表面データ生成手段と、
前記表面形状データを格納する格納手段、
を有する3次元モデルデータ生成装置。 An apparatus for generating three-dimensional model data representing a three-dimensional object,
Dividing means for dividing the three-dimensional object into a first portion and a second portion that are symmetrical to each other, and further dividing the first portion into a third portion and a fourth portion that are symmetrical to each other;
Surface data generating means for generating surface shape data representing the surface shape of the third portion;
Storage means for storing the surface shape data;
A three-dimensional model data generation apparatus having
前記第1の表面形状データおよび第2の表面形状データに従って前記3次元物体を表示する表示手段、
を有する3次元モデル表示装置。 Data reproducing means for generating second surface shape data representing a surface shape of the second portion based on the first surface shape data generated by the three-dimensional model data generating device according to claim 1. When,
Display means for displaying the three-dimensional object according to the first surface shape data and the second surface shape data;
A three-dimensional model display device.
前記3次元物体を互いに対称な第1の部分および第2の部分に分割する分割手段、
前記第1の部分の表面形状を表す第1の表面形状データを生成するデータ生成手段、
前記第1の表面形状データをメモリに格納する格納手段、
を実現させるための3次元モデルデータ生成プログラム。 In order to generate 3D model data representing a 3D object,
Dividing means for dividing the three-dimensional object into a first part and a second part that are symmetrical to each other;
Data generating means for generating first surface shape data representing the surface shape of the first portion;
Storage means for storing the first surface shape data in a memory;
3D model data generation program for realizing the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008161799A JP2010003136A (en) | 2008-06-20 | 2008-06-20 | Device and method for creating three-dimensional model data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008161799A JP2010003136A (en) | 2008-06-20 | 2008-06-20 | Device and method for creating three-dimensional model data |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010003136A true JP2010003136A (en) | 2010-01-07 |
Family
ID=41584799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008161799A Pending JP2010003136A (en) | 2008-06-20 | 2008-06-20 | Device and method for creating three-dimensional model data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010003136A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902864A (en) * | 2012-10-17 | 2013-01-30 | 山东理工大学 | Fast solution to approximate minimum volume bounding box of three-dimensional object |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09140937A (en) * | 1995-11-17 | 1997-06-03 | Taito Corp | Stereo image display game apparatus |
JPH1196394A (en) * | 1997-09-22 | 1999-04-09 | Sanyo Electric Co Ltd | Device and method for generating image |
JP2006503355A (en) * | 2002-10-15 | 2006-01-26 | ノキア コーポレイション | 3D image processing |
-
2008
- 2008-06-20 JP JP2008161799A patent/JP2010003136A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09140937A (en) * | 1995-11-17 | 1997-06-03 | Taito Corp | Stereo image display game apparatus |
JPH1196394A (en) * | 1997-09-22 | 1999-04-09 | Sanyo Electric Co Ltd | Device and method for generating image |
JP2006503355A (en) * | 2002-10-15 | 2006-01-26 | ノキア コーポレイション | 3D image processing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902864A (en) * | 2012-10-17 | 2013-01-30 | 山东理工大学 | Fast solution to approximate minimum volume bounding box of three-dimensional object |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8154544B1 (en) | User specified contact deformations for computer graphics | |
US10088802B2 (en) | Method and apparatus for processing holographic image | |
KR101911906B1 (en) | Apparatus for 3D object creation and thereof Method | |
CN113112581A (en) | Texture map generation method, device and equipment for three-dimensional model and storage medium | |
KR20210087043A (en) | Concurrent texture sampling | |
US9401044B1 (en) | Method for conformal visualization | |
JP2008117113A (en) | Image forming device and method, and image forming program | |
JP2006146326A (en) | Texture mapping device, method, and program | |
JP2007325043A (en) | Image display apparatus and image display program | |
TW201447813A (en) | Generating anti-aliased voxel data | |
EP3573018B1 (en) | Image generation device, and image display control device | |
Mosegaard et al. | Real-time Deformation of Detailed Geometry Based on Mappings to a Less Detailed Physical Simulation on the GPU. | |
JP2010003136A (en) | Device and method for creating three-dimensional model data | |
WO2016092588A1 (en) | Rendering device and rendering method | |
KR101227155B1 (en) | Graphic image processing apparatus and method for realtime transforming low resolution image into high resolution image | |
JP2010277304A (en) | Drawing data processing method, graphics drawing system and graphics drawing data generation program | |
WO2017188119A1 (en) | Program, information processing device, degree of influence derivation method, image generation method, and recording medium | |
JP6564259B2 (en) | Image processing apparatus and image processing method | |
JP2012098951A (en) | Graphic drawing processing apparatus, graphic drawing processing method and computer program | |
JP2010044440A (en) | Three-dimensional shape processing apparatus and processing method | |
WO2023058239A1 (en) | Rendering device | |
KR100917887B1 (en) | Graphic processing method and apparatus for supporting line acceleration function | |
JP4325395B2 (en) | Method, apparatus, and program for expanding object surface in three-dimensional space on plane | |
US11869123B2 (en) | Anti-aliasing two-dimensional vector graphics using a compressed vertex buffer | |
JP2006201838A (en) | Image processor, program using the same device and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110315 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120501 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120508 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120911 |