JPH11316858A - Arrangement method for virtual object and medium for recording this method - Google Patents
Arrangement method for virtual object and medium for recording this methodInfo
- Publication number
- JPH11316858A JPH11316858A JP10122599A JP12259998A JPH11316858A JP H11316858 A JPH11316858 A JP H11316858A JP 10122599 A JP10122599 A JP 10122599A JP 12259998 A JP12259998 A JP 12259998A JP H11316858 A JPH11316858 A JP H11316858A
- Authority
- JP
- Japan
- Prior art keywords
- virtual
- arrangement
- grid
- dimensional
- virtual object
- 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
- 238000000034 method Methods 0.000 title claims description 82
- 238000003491 array Methods 0.000 claims abstract 2
- 230000008707 rearrangement Effects 0.000 description 6
- 230000029777 axis specification Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- Image Generation (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、計算機内に構築さ
れた3次元の仮想空間内において、仮想的な3次元物体
を配置する物体の配置方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an object arranging method for arranging a virtual three-dimensional object in a three-dimensional virtual space constructed in a computer.
【0002】[0002]
【従来の技術】従来、3次元コンピュータ・グラフィッ
クスなどにおいて、3次元の仮想空間内に構築された複
数の物体を配置する際に、仮想的な3次元直交座標の格
子上に整列することは実現されていない。2. Description of the Related Art Conventionally, when arranging a plurality of objects constructed in a three-dimensional virtual space in three-dimensional computer graphics or the like, it is difficult to align the objects on a virtual three-dimensional orthogonal coordinate grid. Not realized.
【0003】2次元のプレゼンテーションツールやドロ
ーイング・ソフトウエアなどでは2次元平面上で仮想的
な直交座標格子上に配置することが可能であったが、こ
れは奥行方向への移動を考慮する必要がないからである
が、しかも、向きなどは考慮されていなかった。With a two-dimensional presentation tool, drawing software, or the like, it is possible to arrange a virtual rectangular coordinate grid on a two-dimensional plane, but it is necessary to consider movement in the depth direction. This is because there was no such thing, and the orientation was not considered.
【0004】[0004]
【発明が解決しようとする課題】3次元空間の場合、例
えば、3次元空間内の格子を設定した後に、それらをど
のような判断基準のもとに整列して配置するかを記述す
るのが困難である、という問題があった。In the case of a three-dimensional space, for example, after setting a grid in the three-dimensional space, it is necessary to describe what criteria are used to arrange and arrange them. There was a problem that it was difficult.
【0005】また、ある位置にある物体をある格子上に
移動する際に、直交座標系のどの成分を優先させるかが
明確でない、という問題があった。Another problem is that when moving an object at a certain position on a certain grid, it is not clear which component of the rectangular coordinate system should be given priority.
【0006】本発明の目的は、仮想的な3次元空間内に
仮想的な3次元物体を配置するのに、上記の問題点を解
決した物体の配置方法及びこの方法を記録した記録媒体
を提供することにある。An object of the present invention is to provide a method for arranging an object which solves the above-mentioned problems and a recording medium on which the method is recorded for arranging a virtual three-dimensional object in a virtual three-dimensional space. Is to do.
【0007】[0007]
【課題を解決するための手段】本発明は、上記課題を解
決するために、計算機内の3次元仮想空間内に配置する
3次元仮想物体の情報を取得し(S1)、この3次元仮
想物体を配置する座標系・仮想物体の位置・向き・密度
あるいは間隔等の配置方法を決定し(S2)、この配置
方法で決定された要因に従って3次元仮想空間への格子
の設定方法を決定して仮想的な格子を生成し(S3)、
この生成された3次元仮想空間の格子に対して処理S2
で決定した配置方法に従って3次元仮想物体を配置する
(S4)もので、以下の方法を特徴とする。According to the present invention, in order to solve the above-mentioned problems, information on a three-dimensional virtual object arranged in a three-dimensional virtual space in a computer is obtained (S1), and the three-dimensional virtual object is obtained. A layout method such as a coordinate system, a position, an orientation, a density, or an interval of the virtual object is determined (S2), and a grid setting method in the three-dimensional virtual space is determined according to the factors determined by the layout method. Generate a virtual grid (S3),
Processing S2 is performed on the generated grid in the three-dimensional virtual space.
The three-dimensional virtual object is arranged according to the arrangement method determined in (4) (S4), and is characterized by the following method.
【0008】計算機内に構築された3次元仮想空間内に
複数の仮想物体を配置する方法であって、前記仮想物体
の全てについて、前記仮想空間における位置と仮想物体
の幾何的な大きさと基準点及び基準となる方向を取得す
る物体情報取得処理と、前記情報取得した各仮想物体を
配置する座標系と仮想空間の配置領域と仮想物体の配置
密度と配列数及び配列順序を決定する配置方法決定処理
と、前記情報取得した仮想物体の配置密度や配列数を基
にした格子間隔と仮想空間内に設定する該格子の基準原
点と前記配置座標系に基づいた基準座標軸及び該基準原
点ならびに基準座標軸に沿って設定する格子点を設定す
る格子生成処理と、前記仮想物体の配置順序に従った各
仮想物体について、その最も近い距離にある前記格子点
を求め、この格子点に仮想物体を平行移動し、この移動
に際して該格子点に既に他の仮想物体が存在するときに
は該格子点から最も近い格子点に移動し、物体の方向を
一様に揃えるために回転させる物体配置処理と、によっ
て配置することを特徴とする。A method for arranging a plurality of virtual objects in a three-dimensional virtual space constructed in a computer, wherein for all of the virtual objects, the position in the virtual space, the geometric size of the virtual object, and a reference point Object information acquisition processing for acquiring a reference direction and an arrangement method for deciding a coordinate system for arranging the acquired virtual objects, an arrangement area in a virtual space, an arrangement density, an arrangement number, and an arrangement order of the virtual objects. Processing, a grid interval based on the arrangement density and the number of arrangements of the acquired virtual objects, a reference origin of the lattice set in the virtual space, a reference coordinate axis based on the arrangement coordinate system, the reference origin, and a reference coordinate axis Grid generation processing for setting the grid points to be set along, and for each virtual object according to the arrangement order of the virtual objects, the grid point at the closest distance is obtained. An object arrangement in which a virtual object is translated in parallel, and when another virtual object already exists at the lattice point during this movement, the virtual object is moved to the nearest lattice point from the lattice point and rotated to uniformly align the direction of the object. And processing.
【0009】前記3次元仮想空間内に仮想的な3次元の
格子を設定するにおいて、3次元格子は直交座標系を用
いて設定することを特徴とする。In setting a virtual three-dimensional grid in the three-dimensional virtual space, the three-dimensional grid is set using an orthogonal coordinate system.
【0010】前記3次元仮想空間内に仮想的な3次元の
格子を設定するにおいて、3次元格子の構造は配置の対
象となる仮想物体の大きさに依存することを特徴とす
る。In setting a virtual three-dimensional grid in the three-dimensional virtual space, the structure of the three-dimensional grid depends on the size of a virtual object to be arranged.
【0011】前記3次元仮想空間内の仮想的な3次元の
格子上に仮想物体を配置するにおいて、配置位置を仮想
物体の大きさにより決定することを特徴とする。In arranging a virtual object on a virtual three-dimensional grid in the three-dimensional virtual space, the arrangement position is determined by the size of the virtual object.
【0012】前記3次元仮想空間内の仮想的な3次元の
格子上に仮想物体を配置するにおいて、配置位置を仮想
物体の大きさ及び方向により決定することを特徴とす
る。When arranging a virtual object on a virtual three-dimensional grid in the three-dimensional virtual space, the arrangement position is determined by the size and direction of the virtual object.
【0013】また、本発明は、上記課題を解決するため
に、本発明による記録媒体は、計算機内に構築された3
次元仮想空間内に配置する複数の仮想物体の全てについ
て、前記仮想空間における位置と仮想物体の幾何的な大
きさと基準点及び基準となる方向を取得する手順と、前
記情報取得した各仮想物体を配置する座標系と仮想空間
の配置領域と仮想物体の配置密度と配列数及び配列順序
を決定する手順と、前記情報取得した仮想物体の配置密
度や配列数を基にした格子間隔と仮想空間内に設定する
該格子の基準原点と前記配置座標系に基づいた基準座標
軸及び該基準原点ならびに基準座標軸に沿って設定する
格子点を設定する手順と、前記仮想物体の配置順序に従
った各仮想物体について、その最も近い距離にある前記
格子点を求め、この格子点に仮想物体を平行移動し、こ
の移動に際して該格子点に既に他の仮想物体が存在する
ときには該格子点から最も近い格子点に移動し、物体の
方向を一様に揃えるために回転させる手順とを、コンピ
ュータに実行させるプログラムとして、該コンピュータ
が読み取り可能な記録媒体に記録したことを特徴とす
る。Further, according to the present invention, in order to solve the above-mentioned problems, a recording medium according to the present invention has a three-dimensional structure constructed in a computer.
For all of the plurality of virtual objects to be arranged in the three-dimensional virtual space, a procedure for acquiring the position in the virtual space, the geometric size of the virtual object, a reference point, and a reference direction, A procedure for determining the coordinate system to be arranged, the arrangement area of the virtual space, the arrangement density of the virtual objects, the number of arrangements, and the arrangement order, and the grid spacing and the virtual space based on the arrangement density and the arrangement number of the obtained virtual objects. Setting a reference origin of the grid to be set, a reference coordinate axis based on the arrangement coordinate system, and a grid point to be set along the reference origin and the reference coordinate axis, and each virtual object according to the arrangement order of the virtual objects. , The virtual object is translated to this lattice point, and if another virtual object already exists at this lattice point during this movement, the lattice point Go to et the nearest grid point, and a procedure of rotating to align the direction of the object uniformly, as a program for causing a computer to execute, characterized in that the computer is recorded in a recording medium readable.
【0014】前記3次元仮想空間内に仮想的な3次元の
格子を設定する手順においては、3次元格子は直交座標
系を用いて設定することを特徴とする。In the procedure for setting a virtual three-dimensional grid in the three-dimensional virtual space, the three-dimensional grid is set using an orthogonal coordinate system.
【0015】前記3次元仮想空間内に仮想的な3次元の
格子を設定する手順においては、3次元格子の構造は配
置の対象となる仮想物体の大きさに依存することを特徴
とする。In the procedure for setting a virtual three-dimensional grid in the three-dimensional virtual space, the structure of the three-dimensional grid depends on the size of the virtual object to be arranged.
【0016】前記3次元仮想空間内の仮想的な3次元の
格子上に仮想物体を配置する手順においては、配置位置
を仮想物体の大きさにより決定することを特徴とする。In the procedure for arranging a virtual object on a virtual three-dimensional grid in the three-dimensional virtual space, the arrangement position is determined by the size of the virtual object.
【0017】前記3次元仮想空間内の仮想的な3次元の
格子上に仮想物体を配置する手順においては、配置位置
を仮想物体の大きさ及び方向により決定することを特徴
とする。In the procedure for arranging a virtual object on a virtual three-dimensional grid in the three-dimensional virtual space, the arrangement position is determined by the size and direction of the virtual object.
【0018】[0018]
【発明の実施の形態】本実施形態の説明においては、計
算機内の仮想空間をWで表し、配置の対象となるW内の
3次元仮想物体の集合をOで表す。物体を区別する必要
があるときは、Oiなどのように添字付で表し、配置の
対象となる物体の数をNとする。DESCRIPTION OF THE PREFERRED EMBODIMENTS In the description of this embodiment, a virtual space in a computer is represented by W, and a set of three-dimensional virtual objects in W to be arranged is represented by O. When it is necessary to distinguish objects, they are represented by subscripts such as O i, and the number of objects to be arranged is N.
【0019】図1は、本発明の実施形態を示す処理手順
である。処理S1は、計算機内の3次元仮想空間内に配
置する3次元仮想物体の情報を取得する。処理S2は、
情報取得した仮想物体の配置方法を決定する。例えば、
配置をどのような座標系で行うか、各仮想物体のどの位
置に対して配置を行うか、各仮想物体の向きをどのよう
に揃えるか、配置をどのような密度あるいは間隔で行う
か、などである。FIG. 1 is a processing procedure showing an embodiment of the present invention. The process S1 acquires information on a three-dimensional virtual object arranged in a three-dimensional virtual space in a computer. The process S2 is
The method of arranging the virtual object whose information has been acquired is determined. For example,
What kind of coordinate system should be used for placement, what position should be placed on each virtual object, how to align each virtual object, what density or spacing should be used for placement, etc. It is.
【0020】処理S3は、処理S2で決定された要因に
従い、仮想空間にどのような格子を設定するかを決定
し、仮想的な格子を生成する。処理S4は、処理S2で
決定された要因に基づき、処理S3で生成された格子の
各格子点に各仮想物体を配置する。The process S3 determines what kind of grid is set in the virtual space according to the factors determined in the process S2, and generates a virtual grid. The process S4 arranges each virtual object at each grid point of the grid generated in the process S3, based on the factors determined in the process S2.
【0021】このような処理による物体の配置方法は、
例えば、図2の(a)のように無秩序に配置されている
仮想物体を、図2の(b)のように整列した配置にする
ことを可能にする。The method of arranging objects by such processing is as follows.
For example, a virtual object that is randomly arranged as shown in FIG. 2A can be arranged in an aligned manner as shown in FIG. 2B.
【0022】以下、各処理S1〜S4を詳細に説明す
る。Hereinafter, each of the processes S1 to S4 will be described in detail.
【0023】(処理S1)物体情報取得 物体位置取得処理S11は、対象となる仮想物体Oの全
てについて、仮想空間Wにおける位置を取得する。(Process S1) Object Information Acquisition The object position acquisition process S11 acquires the position in the virtual space W for all the target virtual objects O.
【0024】物体領域取得処理S12は、対象となる仮
想物体Oの全てについて、仮想空間Wにおいて占有する
幾何的な大きさを取得する。例えば、図3に示すよう
に、物体を内包するような領域でもよいし、次に述べる
物体の基準位置の周りに、物体を回転したもの全てを内
包するような領域でもよい。The object area acquisition processing S12 acquires the geometric size occupied in the virtual space W for all of the target virtual objects O. For example, as shown in FIG. 3, the region may include an object, or may be a region including all of the rotated object around a reference position of the object described below.
【0025】物体基準位置取得処理S13は、該当物体
の基準となる点を決定する。この基準点は、前記物体占
有領域の幾何的な重心でもよいし、物体生成時に設定さ
れた、例えばローカルな座標系における原点でもよい。In the object reference position acquisition process S13, a reference point of the object is determined. This reference point may be the geometric center of gravity of the object occupied area, or may be the origin set in the generation of the object, for example, in a local coordinate system.
【0026】物体方向取得処理S14は、物体の基準と
なる方向を決定する。例えば、物体生成時における何ら
かの基準により設定されていれば、その方向を用いても
良いし、単純に例えば鉛直上向きなどとしてもよいし、
ユーザが設定しても良い。この方向を取得する場合は、
請求項5に対応する。The object direction acquisition process S14 determines a reference direction of the object. For example, if it is set by some reference at the time of object generation, that direction may be used, or it may be simply, for example, vertically upward,
It may be set by the user. If you want to get this direction,
This corresponds to claim 5.
【0027】(処理S2)配置方法決定 配置座標系決定処理S21は、どのような座標系で再配
置を行うかを決定する。例えば、3次元デカルト座標系
や、円柱座標系、極座標系などであるが、これらのよう
な直交座標系が最も再配置(整列)の効果が生じ易く、
この場合は請求項2に対応する。この座標系は仮想空間
Wと同一でなくても良い。(Processing S2) Determining Arrangement Method The arrangement coordinate system determination process S21 determines in which coordinate system the rearrangement is to be performed. For example, there are a three-dimensional Cartesian coordinate system, a cylindrical coordinate system, a polar coordinate system, and the like, and an orthogonal coordinate system such as these is most likely to produce the effect of rearrangement (alignment).
This case corresponds to claim 2. This coordinate system need not be the same as the virtual space W.
【0028】配置領域決定処理S22は、仮想空間Wの
どの領域において再配置を行うかを決定する。この時、
再配置前の状態において、全ての仮想物体Oを内包する
ような領域としてもよいし、前記領域と同程度の体積を
所持するような、配置座標系における立方体や球などの
比較的均一な性質を持つ領域としてもよい。The arrangement area determination processing S22 determines in which area of the virtual space W the rearrangement is to be performed. At this time,
In the state before the rearrangement, a region that includes all the virtual objects O may be used, or a relatively uniform property such as a cube or a sphere in the arrangement coordinate system, which has the same volume as the region. It may be a region having.
【0029】配置密度決定処理S23は、各仮想物体O
をどの程度の間隔で再配置するかを決定する。その際、
各物体Oの基準位置の間隔で決定するのが合理的であ
る。The arrangement density determination processing S23 is performed for each virtual object O
Are determined at what intervals. that time,
It is reasonable to determine the distance between the reference positions of the objects O.
【0030】配置配列数決定処理S24は、配置座標系
の各座標軸方向にどの程度配置するかを決定する。例え
ば、デカルト座標系で配置を行う場合、x方向、y方
向、z方向に同じかあるいは同程度の数だけ配置すると
か、あるいはx方向に多く配置するなどの方法を決定す
る。In the arrangement arrangement number determination process S24, the degree of arrangement in each coordinate axis direction of the arrangement coordinate system is determined. For example, when arranging in the Cartesian coordinate system, a method of arranging the same number or the same number in the x, y, and z directions, or arranging many in the x direction is determined.
【0031】配置順序決定処理S25は、処理S24に
より決定された配置配列数に対して、どのような性質の
物体から再配置を行うかを決定する。例えば、後述する
基準原点決定処理S32における格子の基準原点に最も
近いものから配置を行うとか、あるいは最も大きな領域
を占有している物体から配置を行う、などであり、この
場合は請求項4に対応する。The arrangement order determination processing S25 determines what kind of object is to be rearranged from the number of arrangement arrangements determined in the processing S24. For example, in the reference origin determination processing S32 to be described later, the arrangement is performed from the one closest to the reference origin of the grid, or the arrangement is performed from the object occupying the largest area. Corresponding.
【0032】(処理S3)格子生成処理 格子間隔決定処理S31は、処理S23や処理S24で
決定された配置密度や配置配列数を基に、格子間隔を決
定する。この格子間隔は、全て均等な間隔としても良い
し、各軸方向で異なる間隔としても良いし、あるいは、
物体の領域によって間隔を決定しても良く、この場合は
請求項3の実施例となる。(Process S3) Grid Generation Process The grid interval determination process S31 determines a grid interval based on the arrangement density and the number of arrangements determined in the processes S23 and S24. The lattice spacing may be all uniform, may be different in each axial direction, or
The interval may be determined according to the area of the object, and in this case, an embodiment according to claim 3 is provided.
【0033】基準原点決定処理S32は、新しく格子の
基準となる原点を仮想空間W内に設定する。これは、例
えば、処理S22において決定された配置領域の中心で
も良い。In the reference origin determination process S32, an origin serving as a new reference of the grid is set in the virtual space W. This may be, for example, the center of the arrangement area determined in step S22.
【0034】基準座標軸決定処理S33は、設定された
配置座標系に基づき、座標軸を設定する。デカルト座標
系の場合は前記原点を通るx軸、y軸、z軸であり、円
柱座標系の場合は前記原点を通るz軸を決定する。The reference coordinate axis determination process S33 sets a coordinate axis based on the set arrangement coordinate system. In the case of the Cartesian coordinate system, the x-axis, the y-axis, and the z-axis passing through the origin are determined. In the case of the cylindrical coordinate system, the z-axis passing through the origin is determined.
【0035】格子生成処理S34は、処理S32で決定
された原点ならびに処理S33で決定された座標軸に沿
って、処理31で決定された間隔に格子点を設定する。
このとき、格子点の数は物体の数と同一あるいは多く設
定する。In the grid generation processing S34, grid points are set at intervals determined in the processing 31 along the origin determined in the processing S32 and the coordinate axes determined in the processing S33.
At this time, the number of grid points is set equal to or larger than the number of objects.
【0036】(処理S4)物体配置 番号再付与処理S41は、処理S25によって決定され
た順序にしたがい、物体の再配置を行う順序を決定す
る。(Processing S4) In the object arrangement number reassigning process S41, the order in which the objects are rearranged is determined according to the order determined in the process S25.
【0037】最近格子点判定処理S42は、現在移動し
ようとしている仮想物体Oiから最も近い距離にある格
子点を求める。これは、例えば仮想物体Oiの基準点の
位置を参照することで実行できる。[0037] Recently lattice point determination process S42, obtaining the lattice point located closest distance from the virtual object O i which is currently trying to move. This can for example be performed by referring to the position of the reference point of the virtual object O i.
【0038】平行移動処理S43は、前記最も近い格子
点に物体Oiを平行移動する。The translation process S43 is to translate the object O i in the nearest grid point.
【0039】物体占有判定処理S44は、前記処理S4
3により平行移動した際、または、平行移動する前段階
において、移動位置の格子点に既に他の物体が存在する
かどうかを判定する。判定の結果、既に物体が存在する
ならば、最も近い格子点から最も近い格子点を処理S4
2によって求め、その点を新たに最も近い格子点として
再度処理S43による処理を行う。判定の結果、物体が
なければ仮想物体Oiをその格子点位置に固定する。The object occupancy determination process S44 is the same as the process S4.
At the time of the parallel movement according to step 3 or before the parallel movement, it is determined whether or not another object already exists at the grid point at the movement position. If the result of the determination is that an object already exists, the closest grid point is processed from the closest grid point in step S4.
2, the point is newly set as the closest grid point, and the processing in step S43 is performed again. Result of the determination, to fix the virtual object O i in the lattice point position Without object.
【0040】回転処理S45は、処理S14によって取
得された物体の方向を、一様に揃える処理であり、請求
項5の場合に必要な処理である。回転の結果、隣接する
格子点をその物体の位置部が占有することもあり得るた
め、その場合は占有された格子点を処理S43の平行移
動の対象から除外しても良いし、あるいは、物体の回転
によって、他の格子点が占有されることないように再度
処理S34によって格子点を設定し直しても良い。The rotation process S45 is a process for uniformly aligning the direction of the object acquired in the process S14, and is a necessary process in the case of claim 5. As a result of the rotation, the adjacent grid points may be occupied by the position of the object. In this case, the occupied grid points may be excluded from the object of the parallel movement in the processing S43, or The grid point may be set again by the process S34 so that another grid point is not occupied by the rotation of.
【0041】以上により、仮想空間W内の配置対象物体
Oの再配置処理を行う。この処理S1〜S4に対応する
処理フローを図4に示す。As described above, the rearrangement processing of the arrangement target object O in the virtual space W is performed. FIG. 4 shows a processing flow corresponding to the processing S1 to S4.
【0042】なお、本発明は、仮想物体Oのデータを保
存し、それらを自由に読み出し可能なハードディスクや
それに準ずる装置と、仮想物体Oの位置や領域の計算等
の処理を行う際のデータの保存等に必要なバッファやそ
れに準ずる装置と、所望の情報を表示、出力するディス
プレイなどの出力装置と、キーボードやマウスなどの入
力装置を備え、それらハードディスク、バッファ、出力
装置及び入力装置などをあらかじめ定められた手順に基
づいて制御するコンピュータやそれに準ずる装置によ
り、図1又は図4で示した本発明の方法の実施形態例で
の処理の手順ないし計算アルゴリズムをコンピュータ等
に実行させるためのプログラムを該コンピュータが読み
取り可能な記録媒体、例えばフロッピーディスクやメモ
リカード、MO、CD、DVDなどに記録して配布する
ことが可能である。It should be noted that the present invention saves data of the virtual object O and a device capable of freely reading the data from a hard disk or a device equivalent thereto. It is equipped with a buffer necessary for storage and the like, an output device such as a display for displaying and outputting desired information, and an input device such as a keyboard and a mouse.The hard disk, buffer, output device, input device, etc. are provided in advance. A computer or a similar device that controls based on a predetermined procedure executes a program for causing a computer or the like to execute the processing procedure or calculation algorithm in the embodiment of the method of the present invention shown in FIG. The computer-readable recording medium, for example, a floppy disk, a memory card, an MO, a C , It is possible to distribute the record, such as a DVD.
【0043】[0043]
【発明の効果】以上説明したように、本発明は、計算機
内の3次元仮想空間内に配置する3次元仮想物体の情報
を取得し、この3次元仮想物体を配置する座標系・仮想
物体の位置・向き・密度あるいは間隔等の配置方法を決
定し、この配置方法で決定された要因に従って3次元仮
想空間への格子の設定方法を決定して仮想的な格子を生
成し、この生成された3次元仮想空間の格子に対して前
記配置方法に従って3次元仮想物体を配置するようにし
たため、仮想空間内に生成された複数の仮想物体を規則
的に再配置できる効果がある。As described above, according to the present invention, information on a three-dimensional virtual object to be arranged in a three-dimensional virtual space in a computer is obtained, and a coordinate system / virtual object in which the three-dimensional virtual object is arranged is obtained. An arrangement method such as a position, an orientation, a density, or an interval is determined, and a method of setting a lattice in a three-dimensional virtual space is determined according to a factor determined by the arrangement method to generate a virtual lattice. Since the three-dimensional virtual object is arranged on the grid of the three-dimensional virtual space according to the above arrangement method, there is an effect that a plurality of virtual objects generated in the virtual space can be regularly rearranged.
【図1】本発明の実施形態を示す処理手順。FIG. 1 is a processing procedure showing an embodiment of the present invention.
【図2】本発明による仮想物体の再配置例。FIG. 2 shows an example of rearrangement of a virtual object according to the present invention.
【図3】実施形態における物体領域、方向、基準位置の
取得例。FIG. 3 is an example of acquiring an object area, a direction, and a reference position in the embodiment.
【図4】実施形態の処理フロー。FIG. 4 is a processing flow of the embodiment.
フロントページの続き (72)発明者 曽根原 登 東京都新宿区西新宿3丁目19番2号 日本 電信電話株式会社内Continuation of front page (72) Inventor Noboru Sonehara 3-19-2 Nishishinjuku, Shinjuku-ku, Tokyo Japan Telegraph and Telephone Corporation
Claims (10)
に複数の仮想物体を配置する方法であって、 前記仮想物体の全てについて、前記仮想空間における位
置と仮想物体の幾何的な大きさと基準点及び基準となる
方向を取得する物体情報取得処理と、 前記情報取得した各仮想物体を配置する座標系と仮想空
間の配置領域と仮想物体の配置密度と配列数及び配列順
序を決定する配置方法決定処理と、 前記情報取得した仮想物体の配置密度や配列数を基にし
た格子間隔と仮想空間内に設定する該格子の基準原点と
前記配置座標系に基づいた基準座標軸及び該基準原点な
らびに基準座標軸に沿って設定する格子点を設定する格
子生成処理と、 前記仮想物体の配置順序に従った各仮想物体について、
その最も近い距離にある前記格子点を求め、この格子点
に仮想物体を平行移動し、この移動に際して該格子点に
既に他の仮想物体が存在するときには該格子点から最も
近い格子点に移動し、物体の方向を一様に揃えるために
回転させる物体配置処理と、によって配置することを特
徴とする仮想物体の配置方法。1. A method for arranging a plurality of virtual objects in a three-dimensional virtual space constructed in a computer, comprising: for all of the virtual objects, a position in the virtual space, a geometric size of the virtual object; Object information acquisition processing for acquiring a reference point and a reference direction; a coordinate system for arranging the acquired virtual objects, an arrangement area in the virtual space, an arrangement density of the virtual objects, an arrangement number for determining the arrangement number, and an arrangement order; Method determination processing, the grid spacing based on the arrangement density and the number of arrangement of the obtained virtual object and the reference origin of the lattice set in the virtual space and the reference coordinate axis based on the arrangement coordinate system and the reference origin and Grid generation processing for setting grid points to be set along the reference coordinate axis, and for each virtual object according to the arrangement order of the virtual objects,
The closest grid point is obtained, the virtual object is translated to this grid point, and in this movement, when another virtual object already exists at the grid point, the virtual object is moved to the closest grid point. And an object arrangement process of rotating the object so that the directions of the objects are uniformly aligned.
の格子を設定するにおいて、3次元格子は直交座標系を
用いて設定することを特徴とする請求項1記載の仮想物
体の配置方法。2. The virtual object arrangement according to claim 1, wherein in setting the virtual three-dimensional grid in the three-dimensional virtual space, the three-dimensional grid is set using an orthogonal coordinate system. Method.
の格子を設定するにおいて、3次元格子の構造は配置の
対象となる仮想物体の大きさに依存することを特徴とす
る請求項1又は2記載の仮想物体の配置方法。3. The setting of a virtual three-dimensional grid in the three-dimensional virtual space, wherein the structure of the three-dimensional grid depends on the size of a virtual object to be arranged. 3. The method for arranging virtual objects according to 1 or 2.
の格子上に仮想物体を配置するにおいて、配置位置を仮
想物体の大きさにより決定することを特徴とする請求項
1乃至3の何れか1に記載の仮想物体の配置方法。4. The method according to claim 1, wherein in arranging the virtual object on a virtual three-dimensional grid in the three-dimensional virtual space, an arrangement position is determined by a size of the virtual object. A method for arranging a virtual object according to any one of the preceding claims.
の格子上に仮想物体を配置するにおいて、配置位置を仮
想物体の大きさ及び方向により決定することを特徴とす
る請求項1乃至3の何れか1に記載の仮想物体の配置方
法。5. When arranging a virtual object on a virtual three-dimensional grid in the three-dimensional virtual space, an arrangement position is determined by a size and a direction of the virtual object. 3. The method for arranging a virtual object according to any one of 3.
に配置する複数の仮想物体の全てについて、前記仮想空
間における位置と仮想物体の幾何的な大きさと基準点及
び基準となる方向を取得する手順と、 前記情報取得した各仮想物体を配置する座標系と仮想空
間の配置領域と仮想物体の配置密度と配列数及び配列順
序を決定する手順と、 前記情報取得した仮想物体の配置密度や配列数を基にし
た格子間隔と仮想空間内に設定する該格子の基準原点と
前記配置座標系に基づいた基準座標軸及び該基準原点な
らびに基準座標軸に沿って設定する格子点を設定する手
順と、 前記仮想物体の配置順序に従った各仮想物体について、
その最も近い距離にある前記格子点を求め、この格子点
に仮想物体を平行移動し、この移動に際して該格子点に
既に他の仮想物体が存在するときには該格子点から最も
近い格子点に移動し、物体の方向を一様に揃えるために
回転させる手順とを、 コンピュータに実行させるプログラムとして、該コンピ
ュータが読み取り可能な記録媒体に記録したことを特徴
とする仮想物体の配置方法を記録した記録媒体。6. For all of a plurality of virtual objects arranged in a three-dimensional virtual space constructed in a computer, a position in the virtual space, a geometric size of the virtual object, a reference point, and a reference direction are obtained. A procedure for determining the coordinate system for arranging the obtained virtual objects, the arrangement area of the virtual space, the arrangement density of the virtual objects, the arrangement number and the arrangement order, and the arrangement density of the acquired virtual objects. A procedure for setting a grid interval based on the number of arrays and a reference point of the grid to be set in the virtual space, a reference coordinate axis based on the arrangement coordinate system, and a grid point to be set along the reference origin and the reference coordinate axis, For each virtual object according to the arrangement order of the virtual objects,
The grid point at the closest distance is obtained, the virtual object is translated to this grid point, and in this movement, when another virtual object already exists at the grid point, the virtual object is moved to the closest grid point. Recording a method of arranging a virtual object on a computer-readable recording medium as a program for causing a computer to execute the procedure of rotating the object to uniformly align the direction of the object. .
の格子を設定する手順においては、3次元格子は直交座
標系を用いて設定することを特徴とする請求項6記載の
仮想物体の配置方法を記録した記録媒体。7. The virtual object according to claim 6, wherein in the step of setting a virtual three-dimensional grid in the three-dimensional virtual space, the three-dimensional grid is set using an orthogonal coordinate system. Recording medium on which the arrangement method of the information is recorded.
の格子を設定する手順においては、3次元格子の構造は
配置の対象となる仮想物体の大きさに依存することを特
徴とする請求項6又は7記載の仮想物体の配置方法を記
録した記録媒体。8. The method of setting a virtual three-dimensional grid in the three-dimensional virtual space, wherein the structure of the three-dimensional grid depends on the size of a virtual object to be arranged. A recording medium on which the method for arranging virtual objects according to claim 6 or 7 is recorded.
の格子上に仮想物体を配置する手順においては、配置位
置を仮想物体の大きさにより決定することを特徴とする
請求項6乃至8の何れか1に記載の仮想物体の配置方法
を記録した記録媒体。9. The procedure of arranging a virtual object on a virtual three-dimensional grid in the three-dimensional virtual space, wherein the arrangement position is determined by the size of the virtual object. 8. A recording medium recording the virtual object arrangement method according to any one of 8.
元の格子上に仮想物体を配置する手順においては、配置
位置を仮想物体の大きさ及び方向により決定することを
特徴とする請求項6乃至8の何れか1に記載の仮想物体
の配置方法を記録した記録媒体。10. The method of arranging a virtual object on a virtual three-dimensional grid in the three-dimensional virtual space, wherein the arrangement position is determined by the size and direction of the virtual object. A recording medium recording the virtual object arrangement method according to any one of 6 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10122599A JPH11316858A (en) | 1998-05-06 | 1998-05-06 | Arrangement method for virtual object and medium for recording this method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10122599A JPH11316858A (en) | 1998-05-06 | 1998-05-06 | Arrangement method for virtual object and medium for recording this method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH11316858A true JPH11316858A (en) | 1999-11-16 |
Family
ID=14839928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10122599A Pending JPH11316858A (en) | 1998-05-06 | 1998-05-06 | Arrangement method for virtual object and medium for recording this method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH11316858A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006092282A (en) * | 2004-09-24 | 2006-04-06 | Konica Minolta Medical & Graphic Inc | Image processor and program |
KR100919513B1 (en) * | 2007-10-17 | 2009-09-28 | 한국생산기술연구원 | Semantic map for autonomous navigation of robot |
WO2021206447A1 (en) * | 2020-04-08 | 2021-10-14 | 삼성전자 주식회사 | Method and device for generating image for arranging objects |
-
1998
- 1998-05-06 JP JP10122599A patent/JPH11316858A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006092282A (en) * | 2004-09-24 | 2006-04-06 | Konica Minolta Medical & Graphic Inc | Image processor and program |
KR100919513B1 (en) * | 2007-10-17 | 2009-09-28 | 한국생산기술연구원 | Semantic map for autonomous navigation of robot |
WO2021206447A1 (en) * | 2020-04-08 | 2021-10-14 | 삼성전자 주식회사 | Method and device for generating image for arranging objects |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6992005B2 (en) | Performing anti-aliasing operations in computing systems | |
EP0969375A2 (en) | Method for visualizing locality within an address space | |
US9058673B2 (en) | Image mosaicking using a virtual grid | |
CN108492243B (en) | Image rotation device, system and method based on block processing | |
US20120110534A1 (en) | Self-Propelling Decoupling Capacitor Design for Flexible Area Decoupling Capacitor Fill Design Flow | |
JPH11316858A (en) | Arrangement method for virtual object and medium for recording this method | |
US20230145348A1 (en) | Force-directed graph layout | |
US5982382A (en) | Interactive selection of 3-D on-screen objects using active selection entities provided to the user | |
CN106775634B (en) | Display block display method and device | |
US12008707B2 (en) | Highly scalable cluster engine for hosting simulations of objects interacting within a space | |
US6577776B1 (en) | Transforming video images | |
CN102804150A (en) | Data processing device, data processing method, and data sharing system | |
CN101676878B (en) | Flow generator and method for testing performance of graphical processing unit | |
US10916067B1 (en) | Intelligent alignment of graphical elements | |
US20030106036A1 (en) | Wiring route determining apparatus, group determining apparatus, wiring route determining program storing medium and group determining program storing medium | |
CN111950224A (en) | Method, integrated circuit, and integrated circuit device for forming boundary cells | |
CN101620743A (en) | Graphics processing with hidden surface removal | |
US6481002B2 (en) | System and method for compressing LSI mask writing data | |
JP3124852B2 (en) | Data transfer circuit and address array | |
JP3672739B2 (en) | Texture image generator | |
JP4114131B2 (en) | Image processing apparatus and method, and program | |
JP2010134612A (en) | Image processing method and program | |
JP2018151872A (en) | Drawing program, drawing method and drawing device | |
JP3047882B2 (en) | Product placement device, product placement method, and recording medium recording product placement program | |
JP2003263466A (en) | Electronic cad device, layout data preparing method therefor, and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20050614 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050920 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20051214 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20051214 |
|
A977 | Report on retrieval |
Effective date: 20080815 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080819 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081020 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Effective date: 20081118 Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081201 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111219 Year of fee payment: 3 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 3 Free format text: PAYMENT UNTIL: 20111219 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121219 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 5 Free format text: PAYMENT UNTIL: 20131219 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |