JPH08221601A - Line-of-view editing device - Google Patents

Line-of-view editing device

Info

Publication number
JPH08221601A
JPH08221601A JP7021465A JP2146595A JPH08221601A JP H08221601 A JPH08221601 A JP H08221601A JP 7021465 A JP7021465 A JP 7021465A JP 2146595 A JP2146595 A JP 2146595A JP H08221601 A JPH08221601 A JP H08221601A
Authority
JP
Japan
Prior art keywords
line
sight
moving
viewpoint
movement
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.)
Withdrawn
Application number
JP7021465A
Other languages
Japanese (ja)
Inventor
Kazuhiko Mizusawa
和彦 水澤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7021465A priority Critical patent/JPH08221601A/en
Publication of JPH08221601A publication Critical patent/JPH08221601A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE: To generate a perspective similar to actually viewing as to a line-of- view editing device which performs a viewing point and gazing point editing processing required to generate a perspective of a three-dimensional structure generated by a three-dimensional CAD system. CONSTITUTION: This device is equipped with a means 110 which sets a moving vector, a means 111 which moves a viewing point as mush as the moving vector, a means 112 which moves a gazing point as much as the moving vector, or with the means 110 which sets the moving vector, the means which moves the viewing point at much as the moving vector, the means which move the gazing point as much as the moving vector, a means which moves the gazing point after movement around the viewing point after movement as much as a specified angle of rotation in a specified rotational direction, and a means which updates the moving vector by moving it as much as the specified angle of rotation in the specified rotational direction.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、3次元CADシステム
で作成された3次元構造物の透視図を作成するために必
要となる視点及び注視点の編集処理を実行する視線編集
装置に関し、特に、人間の見るものに近い透視図の作成
を実現する視線編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a line-of-sight editing apparatus for executing editing processing of a viewpoint and a gazing point necessary for creating a perspective view of a three-dimensional structure created by a three-dimensional CAD system, The present invention relates to a line-of-sight editing device that realizes creation of a perspective view that is close to what humans see.

【0002】3次元CGシステムでは、3次元CADシ
ステムで作成された3次元構造物に対して、人間の目の
位置に対応する視点と、人間の見ている物体位置に対応
する注視点とを設定して、その視点からその注視点を見
るときの3次元構造物の透視図を作成していく処理を実
行する。3次元CGシステムを構成する視線編集装置
は、この視点及び注視点の座標位置を編集していくこと
で視線の編集処理を実行するものであるが、この編集処
理にあたっては、人間の見るものに近い透視図の作成が
実現される構成を構築していく必要がある。
In the three-dimensional CG system, a three-dimensional structure created by the three-dimensional CAD system is provided with a viewpoint corresponding to the position of the human eye and a gazing point corresponding to the position of the object seen by the human. A process of setting and creating a perspective view of a three-dimensional structure when viewing the gazing point from the viewpoint is executed. The line-of-sight editing device that constitutes the three-dimensional CG system executes the line-of-sight editing process by editing the coordinate positions of the viewpoint and the gazing point. It is necessary to build a configuration that enables the creation of near perspective views.

【0003】[0003]

【従来の技術】3次元CGシステムにおける視線の変更
形態として、人間の歩行に合わせて、視点を前進させた
り後退させたりするものがある。また、建物に沿って歩
行しコーナーを曲がるときのような場合に合わせて、視
線を回転させるものがある。
2. Description of the Related Art As a modification of the line of sight in a three-dimensional CG system, there is a method of moving the viewpoint forward or backward in accordance with the walking of a person. In addition, there is one that rotates the line of sight in accordance with a case where a person walks along a building and turns a corner.

【0004】従来の視線編集装置では、視点を前進させ
たり後退させたりする場合には、視点から注視点に向か
う方向に、視点を前進させたり後退させたりするという
方法を採っていた。
In the conventional line-of-sight editing apparatus, when advancing or retreating the viewpoint, the method of advancing or retracting the viewpoint in the direction from the viewpoint to the gazing point has been adopted.

【0005】また、建物に沿って歩行しコーナーを曲が
るときのような場合には、建物コーナー位置で視点を固
定させて、その固定させた視点の周りに注視点を回転さ
せることで視線を回転させるという方法を採っていた。
Further, when walking along a building and turning a corner, the viewpoint is fixed at the building corner position, and the gazing point is rotated around the fixed viewpoint to rotate the line of sight. The method of letting it was adopted.

【0006】[0006]

【発明が解決しようとする課題】実際に人間が歩行する
場合には、視線を前方やや下向に向けて前進する。しか
しながら、従来技術のような視点の前進方法を用いてい
ると、このような場合、図11に示すように視点の位置
が下がってしまい、実際の人間の視線の動きとは異なる
不自然な動きになるという問題点があった。
When a human actually walks, he or she moves forward with his or her line of sight slightly forward. However, if the method of advancing the viewpoint as in the conventional technique is used, in such a case, the position of the viewpoint is lowered as shown in FIG. 11, and an unnatural movement different from the actual movement of the line of sight of the human being. There was a problem that became.

【0007】また、従来技術のような建物コーナーでの
視線の回転方法を用いていると、図12に示すように、
建物のコーナー位置で立ち止まり身体の向きを変えて再
び歩き始めるといった、実際の人間の視線の動きとは異
なる不自然な動きになるという問題点があった。
Further, when the method of rotating the line of sight at a building corner as in the prior art is used, as shown in FIG.
There was a problem that the movement was unnatural, different from the actual movement of the human line of sight, such as stopping at the corner of the building, changing the direction of the body and starting walking again.

【0008】これから、従来の視線編集装置に従ってい
ると、3次元CGシステムで、人間の見るものに近い透
視図を作成できないという問題点があった。本発明はか
かる事情に鑑みてなされたものであって、3次元CAD
システムで作成された3次元構造物の透視図を作成する
ために必要となる視点及び注視点の編集処理を実行する
ときにあって、人間の見るものに近い透視図の作成を実
現する新たな視線編集装置の提供を目的とする。
Therefore, if the conventional line-of-sight editing apparatus is used, there is a problem that a perspective view close to what a human sees cannot be created by the three-dimensional CG system. The present invention has been made in view of such circumstances, and three-dimensional CAD
A new way to create perspective views that are close to what humans see when performing the editing process of viewpoints and gazing points that are necessary to create perspective views of 3D structures created by the system. An object is to provide a line-of-sight editing device.

【0009】[0009]

【課題を解決するための手段】図1及び図2に本発明の
原理構成を図示する。図中、1は3次元CGシステムで
あって、3次元CADシステムで作成された3次元構造
物の構造データを管理するCADデータ管理装置10
と、本発明により構成されて、CADデータ管理装置1
0に管理される3次元構造物の透視図を作成するために
必要となる視点及び注視点の編集処理を実行する視線編
集装置11と、視線編集装置11で設定される視点及び
注視点から、3次元構造物の透視図を作成してディスプ
レイ12に描画する描画装置13とを備える。
1 and 2 show the principle configuration of the present invention. In the figure, reference numeral 1 denotes a three-dimensional CG system, which is a CAD data management device 10 for managing structural data of a three-dimensional structure created by the three-dimensional CAD system.
And a CAD data management device 1 configured according to the present invention.
From the line-of-sight editing device 11 that executes the editing process of the viewpoint and the gazing point necessary for creating the perspective view of the three-dimensional structure managed by 0, and the viewpoint and the gazing point set by the gaze editing device 11, A drawing device 13 for creating a perspective view of a three-dimensional structure and drawing it on the display 12.

【0010】図1に原理構成を図示する視線編集装置1
1は、移動方向及び移動量という属性を持つ移動ベクト
ルを設定する設定手段110と、視線移動モードが指定
されるときに、視点を移動ベクトル分だけ移動する視点
移動手段111と、視線移動モードが指定されるとき
に、注視点を移動ベクトル分だけ移動する注視点移動手
段112とを備える。
A line-of-sight editing apparatus 1 whose principle configuration is shown in FIG.
Reference numeral 1 denotes a setting means 110 for setting a movement vector having attributes of a movement direction and a movement amount, a viewpoint movement means 111 for moving a viewpoint by the movement vector when a sight line movement mode is designated, and a sight line movement mode. At the time of designation, the gazing point moving means 112 for moving the gazing point by the movement vector is provided.

【0011】一方、図2に原理構成を図示する視線編集
装置11は、移動方向及び移動量という属性を持つ移動
ベクトルを設定する設定手段110と、視線回転モード
が指定されるときに、視点を移動ベクトル分だけ移動す
る視点移動手段113と、視線回転モードが指定される
ときに、注視点を移動ベクトル分だけ移動する注視点移
動手段114と、視線回転モードが指定されるときに、
視点移動手段113の求めた移動後の視点を中心にし
て、注視点移動手段114の求めた移動後の注視点を指
定される回転方向に指定される回転角度分移動する注視
点回転手段115と、視線回転モードが指定されるとき
に、移動ベクトルを指定される回転方向に指定される回
転角度分移動することで更新する移動ベクトル更新手段
116とを備える。
On the other hand, the line-of-sight editing apparatus 11 whose principle structure is shown in FIG. 2 sets the viewpoint when the line-of-sight rotation mode is designated with the setting means 110 for setting the movement vector having the attributes of the movement direction and the movement amount. When the viewpoint moving means 113 that moves by the moving vector and the line-of-sight rotation mode are designated, the gazing point moving means 114 that moves the gazing point by the amount of the moving vector and when the line-of-sight rotation mode is designated,
A gazing point rotating means 115 for moving the gazing point after moving obtained by the gazing point moving means 114 by a rotation angle designated in a designated rotation direction around the viewpoint obtained by the viewpoint moving means 113 as a center. And a movement vector updating means 116 for updating the movement vector by moving the movement vector in the designated rotation direction by the designated rotation angle when the line-of-sight rotation mode is designated.

【0012】[0012]

【作用】図1に原理構成を図示する視線編集装置11で
は、視線移動モードが指定されると、視点移動手段11
1は、視点を設定手段110の設定する移動ベクトル分
だけ移動し、注視点移動手段112は、注視点を設定手
段110の設定する移動ベクトル分だけ移動する。ここ
で、視点及び注視点の移動方向として、前進と後退とい
う2種類を用意する場合には、視点移動手段111及び
注視点移動手段112は、前進の視線移動モードが指定
されるときには、移動ベクトルの持つ移動方向に移動処
理を実行し、後退の視線移動モードが指定されるときに
は、その移動方向の逆方向に移動処理を実行する。
In the line-of-sight editing apparatus 11 whose principle configuration is shown in FIG. 1, when the line-of-sight movement mode is designated, the viewpoint moving means 11
1 moves the viewpoint by the moving vector set by the setting means 110, and the gazing point moving means 112 moves the gazing point by the moving vector set by the setting means 110. Here, when preparing two types of moving directions of the viewpoint and the gazing point, that is, forward and backward, the viewpoint moving means 111 and the gazing point moving means 112 move the moving vector when the forward line-of-sight moving mode is designated. The movement processing is executed in the movement direction of the, and when the backward line-of-sight movement mode is designated, the movement processing is executed in the direction opposite to the movement direction.

【0013】この視点及び注視点の編集処理に従って、
常に同じ方向を見ながら移動することが可能になるの
で、図3に示すように、視線を前方やや下向に向けて前
進するときの人間の視線の動きを正確にシミュレートで
きるようになる。
According to the editing process of the viewpoint and the gazing point,
Since it is possible to move while always looking at the same direction, it is possible to accurately simulate the movement of the human line of sight when moving forward with the line of sight slightly downward, as shown in FIG.

【0014】一方、図2に原理構成を図示する視線編集
装置11では、視線回転モードが指定されると、視点移
動手段113は、視点を設定手段110の設定する移動
ベクトル分だけ移動し、注視点移動手段114は、注視
点を設定手段110の設定する移動ベクトル分だけ移動
する。そして、注視点回転手段115は、視点移動手段
113の求めた移動後の視点を中心にして、注視点移動
手段114の求めた移動後の注視点を指定される回転方
向に指定される回転角度分移動し、移動ベクトル更新手
段116は、移動ベクトルを指定される回転方向に指定
される回転角度分移動することで更新する。
On the other hand, in the line-of-sight editing apparatus 11 whose principle configuration is shown in FIG. 2, when the line-of-sight rotation mode is designated, the viewpoint moving means 113 moves the viewpoint by the movement vector set by the setting means 110, The viewpoint moving means 114 moves the gazing point by the movement vector set by the setting means 110. Then, the gazing point rotation means 115 rotates the designated gazing point obtained by the gazing point moving means 114 in the designated rotation direction with the moving point obtained by the gazing point moving means 113 as the center. Then, the movement vector updating unit 116 updates the movement vector by moving the movement vector by the designated rotation angle in the designated rotation direction.

【0015】この視点及び注視点の編集処理に従って、
建物に沿って歩行しコーナーを曲がるときの人間の視線
の動きを正確にシミュレートできるようになる。すなわ
ち、建物に沿って移動しながら視線の向きを変えるとい
う人間の視線の動きを正確にシミュレートできるように
なるのである。
According to the editing process of the viewpoint and the gazing point,
It becomes possible to accurately simulate the movement of the human line of sight when walking along a building and turning a corner. That is, it becomes possible to accurately simulate the movement of the human line of sight, which changes the direction of the line of sight while moving along the building.

【0016】具体的に説明すると、図4に示すように、
図1の視線編集装置11に従ってA地点からB地点に視
点及び注視点を移動させると、視線回転モードに従い、
移動ベクトルを使ってB地点からC地点に視点を移動さ
せるとともに、回転操作により注視点を回転させる。回
転方向が右で、回転角度が45度に指定されているとき
には、C地点の視点を中心にして、注視点を右に45度
回転させる。このとき、移動ベクトルも図中のに示す
ように45度回転させる。
More specifically, as shown in FIG.
When the viewpoint and the gazing point are moved from the point A to the point B according to the line-of-sight editing device 11 of FIG.
The viewpoint is moved from the point B to the point C using the movement vector, and the gazing point is rotated by the rotation operation. When the rotation direction is right and the rotation angle is designated as 45 degrees, the gazing point is rotated 45 degrees to the right around the viewpoint at the point C. At this time, the movement vector is also rotated by 45 degrees as indicated by in the figure.

【0017】続いて、視線回転モードに従い、更新され
た移動ベクトルを使ってC地点からD地点に視点を移動
させるとともに、回転操作により注視点を回転させる。
回転方向が右で、回転角度が45度に指定されていると
きには、D地点の視点を中心にして、注視点を右に45
度回転させる。このとき、移動ベクトルも図中のに示
すように45度回転させる。続いて、図1の視線編集装
置11に従ってD地点からE地点に視点及び注視点を移
動させるのである。
Subsequently, according to the line-of-sight rotation mode, the viewpoint is moved from the point C to the point D using the updated movement vector, and the gazing point is rotated by the rotating operation.
When the rotation direction is right and the rotation angle is specified to be 45 degrees, the gazing point is rotated to the right 45 with the viewpoint at the point D as the center.
Rotate it once. At this time, the movement vector is also rotated by 45 degrees as indicated by in the figure. Subsequently, the viewpoint and the gazing point are moved from the point D to the point E according to the line-of-sight editing apparatus 11 of FIG.

【0018】このようにして、本発明の視線編集装置1
1によれば、3次元CADシステムで作成された3次元
構造物の透視図を作成するために必要となる視点及び注
視点を、人間の視線の動きに合ったものに編集できるよ
うになることから、人間の見るものに近い透視図の作成
を実現できるようになる。
In this way, the line-of-sight editing apparatus 1 of the present invention
According to 1, it becomes possible to edit the viewpoint and the gazing point necessary for creating the perspective view of the three-dimensional structure created by the three-dimensional CAD system so as to be suitable for the movement of the human line of sight. This makes it possible to create perspective views that are close to what humans see.

【0019】[0019]

【実施例】以下、実施例に従って本発明を詳細に説明す
る。図5に、本発明を使用する3次元CGシステム1の
システム構成を図示する。
EXAMPLES The present invention will be described in detail below with reference to examples. FIG. 5 illustrates the system configuration of the three-dimensional CG system 1 using the present invention.

【0020】この3次元CGシステム1は、3次元デー
タ作成プログラム20と、視線編集プログラム21と、
VTR制御プログラム22とを展開することでアニメー
ションを作成するものであって、3次元データ作成プロ
グラム20が、ユーザとの対話処理に従って3次元構造
物の構造データ(部品サイズ、形、色、材質、配置等)
を作成すると、視線編集プログラム21が、ユーザとの
対話処理に従って視点及び注視点の座標位置を順次変更
して、その視点からその注視点を見るときの3次元構造
物の透視図を作成してCRTに表示し、VTR制御プロ
グラム22が、それらの作成された透視図をVTRに録
画することでアニメーションを作成するのである。
The three-dimensional CG system 1 includes a three-dimensional data creating program 20, a line-of-sight editing program 21,
An animation is created by expanding the VTR control program 22, and the three-dimensional data creation program 20 uses the three-dimensional structure creation data (part size, shape, color, material, Placement etc.)
When the line of sight is created, the line-of-sight editing program 21 sequentially changes the coordinate positions of the viewpoint and the gazing point in accordance with the interactive processing with the user, and creates a perspective view of the three-dimensional structure when the gazing point is viewed from the viewpoint. It is displayed on the CRT, and the VTR control program 22 creates an animation by recording the created perspective views on the VTR.

【0021】図6に、この視線編集プログラム21の実
行処理の全体構成を図示する。この図に示すように、視
線編集プログラム21は、視線変更パラメータ設定処理
と、視線の直線移動処理と、視線の回転処理という3つ
の処理モードを持って、それらの処理モードに従って、
視点及び注視点の座標位置を設定すると、描画処理に入
って、その視点からその注視点を見るときの3次元構造
物の透視図を作成してCRTに表示していく処理を実行
する。
FIG. 6 shows the overall structure of the execution processing of the line-of-sight editing program 21. As shown in this figure, the line-of-sight editing program 21 has three process modes of a line-of-sight change parameter setting process, a line-of-sight linear movement process, and a line-of-sight rotation process.
When the coordinate positions of the viewpoint and the gazing point are set, a drawing process is performed, and a perspective view of the three-dimensional structure when the gazing point is viewed from the viewpoint is created and displayed on the CRT.

【0022】図7に、視線変更パラメータ設定処理での
処理フローの一実施例、図8に、視線の直線移動処理で
の処理フローの一実施例、図9に、視線の回転処理での
処理フローの一実施例を図示する。次に、これらの処理
フローに従って、本発明を詳細に説明する。
FIG. 7 shows an example of a processing flow in the line-of-sight changing parameter setting process, FIG. 8 shows an example of a process flow in the line-of-sight linear movement process, and FIG. 9 shows a process in the line-of-sight rotation process. 1 illustrates an example of a flow. Next, the present invention will be described in detail according to these processing flows.

【0023】視線編集プログラム21は、視線変更パラ
メータ設定処理の処理モードでは、視点及び注視点の初
期座標位置を設定するとともに、視線の直線移動処理及
び回転処理の処理モードで必要となる移動ベクトルを設
定し、更に、視線の回転処理の処理モードで必要となる
回転角度及び回転方向を設定する。
In the processing mode of the line-of-sight changing parameter setting process, the line-of-sight editing program 21 sets the initial coordinate positions of the viewpoint and the gazing point, and also sets the movement vector required in the processing modes of the line-of-sight linear movement processing and rotation processing. Further, the rotation angle and the rotation direction required in the processing mode of the rotation processing of the line of sight are set.

【0024】すなわち、視線編集プログラム21は、ユ
ーザから視線変更パラメータ設定処理モードが指定され
ると、図7の処理フローに示すように、先ず最初に、ス
テップ1で、ユーザから視線の設定要求があるのか否か
を判断して、視線の設定要求があることを判断するとき
には、ステップ2に進んで、ユーザと対話することで、
視点及び注視点の座標位置を設定することで視線を設定
する。一方、視線の設定要求がないことを判断するとき
には、ステップ2の処理を省略して、前に設定されてい
る視点及び注視点の座標位置の指す視線を用いることを
決定する。
That is, when the user sets the line-of-sight changing parameter setting processing mode, the line-of-sight editing program 21 first requests a line-of-sight setting request from the user in step 1 as shown in the processing flow of FIG. When it is determined whether or not there is a line-of-sight setting request, the process proceeds to step 2, and by interacting with the user,
The line of sight is set by setting the coordinate positions of the viewpoint and the gazing point. On the other hand, when determining that there is no line-of-sight setting request, the process of step 2 is omitted and it is determined to use the line-of-sight indicated by the coordinate positions of the previously set viewpoint and gazing point.

【0025】続いて、ステップ3に進んで、ユーザから
移動ベクトルの設定要求があるのか否かを判断して、移
動ベクトルの設定要求があることを判断するときには、
ステップ4に進んで、ユーザと対話することで、移動ベ
クトルの方向及び大きさを設定する。一方、移動ベクト
ルの設定要求がないことを判断するときに、ステップ4
の処理を省略して、前に設定されている移動ベクトルを
用いることを決定する。
Then, in step 3, it is judged whether or not there is a movement vector setting request from the user, and when it is judged that there is a movement vector setting request,
By proceeding to step 4 and interacting with the user, the direction and magnitude of the movement vector are set. On the other hand, when it is determined that there is no movement vector setting request, step 4
It is decided to use the previously set movement vector by omitting the processing of.

【0026】続いて、ステップ5に進んで、ユーザから
回転方向及び回転角度の設定要求があるのか否かを判断
して、回転方向及び回転角度の設定要求があることを判
断するときには、ステップ6に進んで、ユーザと対話す
ることで、回転方向及び回転角度を設定する。一方、回
転方向及び回転角度の設定要求がないことを判断すると
きには、ステップ6の処理を省略して、前に設定されて
いる回転方向及び回転角度を用いることを決定する。
Then, the process proceeds to step 5, where it is judged whether or not there is a setting request of the rotation direction and the rotation angle from the user, and when it is judged that there is a setting request of the rotation direction and the rotation angle, step 6 is executed. Then, the user interacts with the user to set the rotation direction and the rotation angle. On the other hand, when determining that there is no request for setting the rotation direction and the rotation angle, the process of step 6 is omitted, and it is determined to use the rotation direction and the rotation angle that are set in advance.

【0027】このようにして、視線編集プログラム21
は、ユーザから視線変更パラメータ設定処理モードが指
定されると、視点及び注視点の初期座標位置と、移動ベ
クトルと、回転角度及び回転方向とを設定するのであ
る。
In this way, the line-of-sight editing program 21
When the user designates the line-of-sight changing parameter setting processing mode, the initial coordinate positions of the viewpoint and the gazing point, the movement vector, the rotation angle, and the rotation direction are set.

【0028】一方、視線編集プログラム21は、視線の
直線移動処理モードでは、設定された移動ベクトルを用
いて、視点及び注視点の直線移動処理を実行する。すな
わち、視線編集プログラム21は、ユーザから視線の直
線移動処理モードが指定されると、図8の処理フローに
示すように、先ず最初に、ステップ1で、現時点での視
点の座標位置を(xe,ye,ze)、設定されている移動ベ
クトルを(xm,ym,zm)で表すならば、 xe'=xe +xm, ye'=ye +ym, ze'=ze +z
m, の変換式に従って、新たな視点の座標位置(xe', y
e', ze') を求める。
On the other hand, the line-of-sight editing program 21 executes the line-of-sight and line-of-sight line linear movement processing using the set movement vector in the line-of-sight linear movement processing mode. That is, when the user designates the line-of-sight linear movement processing mode, the line-of-sight editing program 21 first sets the coordinate position of the current viewpoint (xe) in step 1 as shown in the processing flow. , ye, ze), and if the set movement vector is represented by (xm, ym, zm), xe '= xe + xm, ye' = ye + ym, ze '= ze + z
According to the conversion formula of m, the coordinate position (xe ', y of the new viewpoint
e ', ze').

【0029】続いて、ステップ2で、現時点での注視点
の座標位置を(xo,yo,zo)、設定されている移動ベク
トルを(xm,ym,zm)で表すならば、 xo'=xo +xm, yo'=yo +ym, zo'=zo +z
m, の変換式に従って、新たな注視点の座標位置(xo', y
o', zo') を求める。
Then, in step 2, if the coordinate position of the point of interest at the present time is represented by (xo, yo, zo) and the set movement vector is represented by (xm, ym, zm), then xo '= xo + Xm, yo '= yo + ym, zo' = zo + z
The coordinate position (x o ', y
o ', zo') is calculated.

【0030】このようにして、視線編集プログラム21
は、ユーザから視線の直線移動処理モードが指定される
と、視点及び注視点を移動ベクトル分だけ移動する処理
を実行するのである。
In this way, the line-of-sight editing program 21
When the user specifies the line-of-sight linear movement processing mode, the processing for moving the viewpoint and the gazing point by the movement vector is executed.

【0031】この視点及び注視点の編集処理に従って、
図3で説明したように、視線を前方やや下向に向けて前
進するときの人間の視線の動きを正確にシミュレートで
きるようになる。
According to the editing process of the viewpoint and the gazing point,
As described with reference to FIG. 3, it becomes possible to accurately simulate the movement of the human line of sight when moving forward with the line of sight slightly downward.

【0032】一方、視線編集プログラム21は、視線の
回転処理モードでは、設定された移動ベクトルと、設定
された回転方向及び回転角度とを用いて、視線の回転処
理を実行する。
On the other hand, in the line-of-sight rotation processing mode, the line-of-sight editing program 21 executes the line-of-sight rotation process using the set movement vector and the set rotation direction and rotation angle.

【0033】すなわち、視線編集プログラム21は、ユ
ーザから視線の回転処理モードが指定されると、図9の
処理フローに示すように、先ず最初に、ステップ1で、
現時点での視点の座標位置を(xe,ye,ze)、設定され
ている移動ベクトルを(xm,ym,zm)で表すならば、 xe'=xe +xm, ye'=ye +ym, ze'=ze +z
m, の変換式に従って、視点の座標位置を移動ベクトル分移
動するときの座標位置(xe', ye', ze') を求める。
この座標位置(xe', ye', ze') が新たな視点の座標
位置となる。
That is, when the user designates the rotation processing mode of the line of sight, the line-of-sight editing program 21 first, in step 1, as shown in the processing flow of FIG.
If the current coordinate position of the viewpoint is represented by (xe, ye, ze) and the set movement vector is represented by (xm, ym, zm), then xe '= xe + xm, ye' = ye + ym, ze '= ze + z
The coordinate position (xe ', ye', ze ') when the coordinate position of the viewpoint is moved by the movement vector is obtained according to the conversion formula of m ,.
This coordinate position (xe ', ye', ze ') becomes the coordinate position of the new viewpoint.

【0034】続いて、ステップ2で、現時点での注視点
の座標位置を(xo,yo,zo)、設定されている移動ベク
トルを(xm,ym,zm)で表すならば、 Xo =xo +xm, Yo =yo +ym, Zo =zo +z
m, の変換式に従って、注視点の座標位置を移動ベクトル分
移動するときの座標位置(Xo , Yo , Zo ) を求め
る。
Then, in step 2, if the current coordinate position of the point of interest is represented by (xo, yo, zo) and the set movement vector is represented by (xm, ym, zm), then Xo = xo + xm , Yo = yo + ym, Zo = zo + z
The coordinate position (Xo, Yo, Zo) when the coordinate position of the gazing point is moved by the movement vector is obtained according to the conversion formula of m ,.

【0035】続いて、ステップ3で、設定されている回
転方向をd、設定されている回転角度をθ(回転方向d
は、回転角度θの正負を指定する)で表すならば、
Then, in step 3, the set rotation direction is d, and the set rotation angle is θ (rotation direction d
Represents the positive / negative of the rotation angle θ),

【0036】[0036]

【数1】 [Equation 1]

【0037】の変換式に従って、ステップ1で求めた移
動後の視点を中心にして、ステップ2で求めた移動後の
注視点を回転角度θ分、回転方向dに回転することで、
新たな注視点の座標位置(xo', yo', zo') を求め
る。ここで、〔数1〕式中の「K(θ,d)」は、
In accordance with the conversion formula of (1), the moving gazing point obtained in step 1 is rotated around the moving point obtained in step 1 by the rotation angle θ in the rotation direction d.
The coordinate position (xo ', yo', zo ') of the new gazing point is calculated. Here, “K (θ, d)” in the formula [1] is

【0038】[0038]

【数2】 [Equation 2]

【0039】で表されるものである。続いて、ステップ
4で、移動ベクトルを(xm,ym,zm)、設定されている
回転方向をd、設定されている回転角度をθ(回転方向
dは、回転角度θの正負を指定する)で表すならば、
It is represented by Subsequently, in step 4, the movement vector is (xm, ym, zm), the set rotation direction is d, and the set rotation angle is θ (the rotation direction d designates positive or negative of the rotation angle θ). If expressed by

【0040】[0040]

【数3】 (Equation 3)

【0041】の変換式に従って、移動ベクトルを原点を
中心にして回転角度θ分、回転方向dに回転すること
で、新たな移動ベクトル(xm', ym', zm') を求め
る。ここで、〔数3〕式中の「K(θ,d)」は上述の
ものである。
A new movement vector (xm ', ym', zm ') is obtained by rotating the movement vector in the rotation direction d by the rotation angle .theta. Here, “K (θ, d)” in the formula [3] is as described above.

【0042】このようにして、視線編集プログラム21
は、ユーザから視線の回転処理モードが指定されると、
視点及び注視点を移動ベクトル分だけ移動した後、移動
後の視点を中心にして、移動後の注視点を設定される回
転方向に設定される回転角度分移動するとともに、移動
ベクトルを設定される回転方向に設定される回転角度分
移動するのである。
In this way, the line-of-sight editing program 21
When the rotation processing mode of the line of sight is specified by the user,
After moving the viewpoint and the gazing point by the moving vector, the moving point is moved around the moving point by the rotation angle set in the set rotation direction and the moving vector is set. It moves by the rotation angle set in the rotation direction.

【0043】この視点及び注視点の編集処理に従って、
図4で説明したように、建物に沿って歩行しコーナーを
曲がるときの人間の視線の動きを正確にシミュレートで
きるようになる。
According to the editing process of the viewpoint and the gazing point,
As described with reference to FIG. 4, it becomes possible to accurately simulate the movement of the human line of sight when walking along a building and turning a corner.

【0044】図10に、この編集処理を実行するために
視線編集プログラム21が開設するディスプレイ画面の
画面構成の一実施例を図示する。この実施例では、視線
編集プログラム21は、ディスプレイ画面のα領域に3
次元構造物の上面図を表示し、β領域に3次元構造物の
正面図を表示する構成を採って、この2つの図面中に、
現時点の視点及び注視点を表示する構成を採るととも
に、γ領域に、その視点からその注視点を見るときの3
次元構造物の透視図を表示する構成を採り、そして、δ
領域に、操作ボタンを表示する構成を採っている。
FIG. 10 shows an embodiment of the screen configuration of the display screen opened by the line-of-sight editing program 21 for executing this editing process. In this embodiment, the line-of-sight editing program 21 displays 3 in the α area of the display screen.
The top view of the three-dimensional structure is displayed, and the front view of the three-dimensional structure is displayed in the β region. In these two drawings,
It has a structure that displays the current viewpoint and the point of gaze, and when viewing the point of gaze from that point in the γ area, 3
Adopt a configuration to display a perspective view of a three-dimensional structure, and δ
The configuration is such that operation buttons are displayed in the area.

【0045】この画面構成に従い、ユーザは、δ領域の
に展開される視点設定ボタンを操作することで、視点
の座標位置を設定し、注視点設定ボタンを操作すること
で、注視点の座標位置を設定し、移動ベクトル設定ボタ
ンを操作することで、移動ベクトルを設定する。そし
て、δ領域のに展開される変更角設定ボタンを操作す
ることで、回転角度を設定し、移動量設定ボタンを操作
することで、視線方向の移動量を設定する。
According to this screen configuration, the user operates the viewpoint setting button developed in the δ area to set the coordinate position of the viewpoint, and operates the gazing point setting button to operate the coordinate position of the gazing point. And the movement vector setting button is operated to set the movement vector. Then, the rotation angle is set by operating the change angle setting button developed in the δ area, and the movement amount in the line-of-sight direction is set by operating the movement amount setting button.

【0046】この設定処理が終了すると、ユーザは、図
8の処理フローに従う本発明の視線の直線移動処理を実
行するときには、δ領域のに展開される視線移動ボタ
ンを操作する。この操作が実行されると、視線編集プロ
グラム21は、図8の処理フローに従って、視点及び注
視点を移動ベクトル分移動していくことになる。なお、
視点及び注視点を移動ベクトル分移動させる移動モード
とは別に、移動ベクトルの逆方向に移動ベクトル分移動
させる移動モードを設けるときには、δ領域のに展開
される前進ボタンと後退ボタンとを有効とする構成を採
って、この内のどちらが操作されるのかに従って、視点
及び注視点を移動する構成を採ることになる。
When this setting process is completed, the user operates the line-of-sight movement button developed in the δ area when executing the line-of-sight linear movement process of the present invention according to the process flow of FIG. When this operation is executed, the line-of-sight editing program 21 moves the viewpoint and the gazing point by the movement vector according to the processing flow of FIG. In addition,
In addition to the movement mode for moving the viewpoint and the gazing point by the movement vector, when the movement mode for moving the movement vector in the opposite direction of the movement vector is provided, the forward button and the backward button developed in the δ area are enabled. The configuration is adopted and the viewpoint and the gazing point are moved according to which of these is operated.

【0047】また、ユーザは、図9の処理フローに従う
本発明の視線の回転処理を実行するときには、δ領域の
に展開される視線回転ボタンを操作した後、δ領域の
に展開される4つの回転方向ボタン(上下左右方向の
内の1つが選択できる)の内のいずれか1つを操作す
る。この操作が実行されると、視線編集プログラム21
は、図9の処理フローに従って、移動ベクトルとδ領域
のに設定される変更角とを使って視線を回転していく
ことになる。
Further, when the user executes the line-of-sight rotation processing of the present invention according to the processing flow of FIG. 9, after operating the line-of-sight rotation button developed in the δ area, four of the four lines developed in the δ area are displayed. Operate any one of the rotation direction buttons (one of the up, down, left and right directions can be selected). When this operation is executed, the line-of-sight editing program 21
In accordance with the processing flow of FIG. 9, the line of sight is rotated using the movement vector and the change angle set in the δ area.

【0048】また、ユーザは、従来技術のように、視点
を注視点方向に前進移動させるときには、δ領域のに
展開される前進ボタンを操作し、後退移動させるときに
は、δ領域のに展開される後退ボタンを操作する。こ
の操作が実行されると、視線編集プログラム21は、δ
領域のの領域に設定される移動量分、視点を注視点方
向に前進あるいは後退していくことになる。
Further, as in the prior art, when the user moves the viewpoint forward in the direction of the gazing point, the user operates the forward button expanded in the δ area, and when moving backward, the user expands in the δ area. Operate the reverse button. When this operation is executed, the line-of-sight editing program 21 displays δ
The viewpoint is moved forward or backward in the gazing direction by the amount of movement set in the area.

【0049】また、ユーザは、従来技術のように、注視
点を中心にして視点を回転させるときには、δ領域の
に展開される視点回転ボタンを操作した後、δ領域の
に展開される4つの回転方向ボタンの内のいずれか1つ
を操作する。この操作が実行されると、視線編集プログ
ラム21は、δ領域のに設定される変更角分、視点を
回転していくことになる。
When rotating the viewpoint around the gazing point as in the prior art, the user operates the viewpoint rotation button expanded in the δ area, and then the four expanded in the δ area. Operate any one of the rotation direction buttons. When this operation is executed, the line-of-sight editing program 21 rotates the viewpoint by the change angle set in the δ area.

【0050】また、ユーザは、従来技術のように、視点
を中心にして注視点を回転させるときには、δ領域の
に展開される注視点回転ボタンを操作した後、δ領域の
に展開される4つの回転方向ボタンの内のいずれか1
つを操作する。この操作が実行されると、視線編集プロ
グラム21は、δ領域のに設定される変更角分、注視
点を回転していくことになる。
When rotating the gazing point around the viewpoint as in the prior art, the user operates the gazing point rotation button developed in the δ area and then expands in the δ area. One of two rotation direction buttons
Operate one. When this operation is executed, the line-of-sight editing program 21 rotates the gazing point by the change angle set in the δ area.

【0051】[0051]

【発明の効果】以上説明したように、本発明によれば、
3次元CADシステムで作成された3次元構造物の透視
図を作成するために必要となる視点及び注視点を、人間
の視線の動きに合ったものに編集きるようになることか
ら、人間の見るものに近い透視図の作成を実現できるよ
うになる。
As described above, according to the present invention,
Since the viewpoint and gazing point necessary for creating a perspective view of a three-dimensional structure created by a three-dimensional CAD system can be edited to match the movement of the human eye, You will be able to create perspective views that are close to things.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明の原理構成図である。FIG. 2 is a principle configuration diagram of the present invention.

【図3】本発明の視線移動処理の説明図である。FIG. 3 is an explanatory diagram of a line-of-sight movement process of the present invention.

【図4】本発明の視線回転処理の説明図である。FIG. 4 is an explanatory diagram of a line-of-sight rotation process of the present invention.

【図5】本発明を使用する3次元CGシステムのシステ
ム構成図である。
FIG. 5 is a system configuration diagram of a three-dimensional CG system using the present invention.

【図6】視線編集プログラムの実行処理の説明図であ
る。
FIG. 6 is an explanatory diagram of execution processing of a line-of-sight editing program.

【図7】視線変更パラメータ設定処理の処理フローであ
る。
FIG. 7 is a process flow of a line-of-sight change parameter setting process.

【図8】視線の直線移動処理の処理フローである。FIG. 8 is a processing flow of a line-of-sight linear movement processing.

【図9】視線の回転処理の処理フローである。FIG. 9 is a process flow of a line-of-sight rotation process.

【図10】視線編集プログラムが開設するディスプレイ
画面の画面構成の一実施例である。
FIG. 10 is an example of a screen configuration of a display screen opened by the line-of-sight editing program.

【図11】従来技術の説明図である。FIG. 11 is an explanatory diagram of a conventional technique.

【図12】従来技術の説明図である。FIG. 12 is an explanatory diagram of a conventional technique.

【符号の説明】[Explanation of symbols]

1 3次元CGシステム 10 CADデータ管理装置 11 視線編集装置 12 ディスプレイ 13 描画装置 110 設定手段 111 視点移動手段 112 注視点移動手段 113 視点移動手段 114 注視点移動手段 115 注視点回転手段 116 移動ベクトル更新手段 1 3D CG system 10 CAD data management device 11 line-of-sight editing device 12 display 13 drawing device 110 setting means 111 viewpoint moving means 112 gazing point moving means 113 viewpoint moving means 114 gazing point moving means 115 gazing point rotating means 116 moving vector updating means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 3次元CADシステムで作成された3次
元構造物の透視図を作成するために必要となる視点及び
注視点の編集処理を実行する視線編集装置において、 移動方向及び移動量という属性を持つ移動ベクトルを設
定する設定手段と、 視線移動モードが指定されるときに、視点を上記移動ベ
クトル分だけ移動する視点移動手段と、 視線移動モードが指定されるときに、注視点を上記移動
ベクトル分だけ移動する注視点移動手段とを備えること
を、 特徴とする視線編集装置。
1. In a line-of-sight editing apparatus that executes a process of editing a viewpoint and a gaze point necessary for creating a perspective view of a three-dimensional structure created by a three-dimensional CAD system, attributes of a moving direction and a moving amount. And a viewpoint moving means for moving the viewpoint by the above-mentioned movement vector when the line-of-sight moving mode is specified, and a moving point for moving the gaze point when the line-of-sight moving mode is specified. A line-of-sight editing apparatus characterized in that it is provided with a gazing point moving means for moving by a vector.
【請求項2】 請求項1記載の視線編集装置において、 視線移動モードとして、前進の視線移動モードと、後退
の視線移動モードという2つを用意する構成を採って、 視点移動手段及び注視点移動手段は、前進の視線移動モ
ードが指定されるときには、移動ベクトルの持つ移動方
向に移動処理を実行し、後退の視線移動モードが指定さ
れるときには、該移動方向の逆方向に移動処理を実行す
るよう処理することを、 特徴とする視線編集装置。
2. The line-of-sight editing apparatus according to claim 1, wherein the line-of-sight movement mode includes a forward line-of-sight movement mode and a backward line-of-sight movement mode. The means executes the moving process in the moving direction of the moving vector when the forward line-of-sight moving mode is designated, and executes the moving process in the direction opposite to the moving direction when the backward line-of-sight moving mode is designated. A line-of-sight editing device characterized by processing as described above.
【請求項3】 3次元CADシステムで作成された3次
元構造物の透視図を作成するために必要となる視点及び
注視点の編集処理を実行する視線編集装置において、 移動方向及び移動量という属性を持つ移動ベクトルを設
定する設定手段と、 視線回転モードが指定されるときに、視点を上記移動ベ
クトル分だけ移動する視点移動手段と、 視線回転モードが指定されるときに、注視点を上記移動
ベクトル分だけ移動する注視点移動手段と、 視線回転モードが指定されるときに、上記視点移動手段
の求めた移動後の視点を中心にして、上記注視点移動手
段の求めた移動後の注視点を指定される回転方向に指定
される回転角度分移動する注視点回転手段とを備えるこ
とを、 特徴とする視線編集装置。
3. A line-of-sight editing apparatus that executes a process of editing a viewpoint and a gaze point necessary for creating a perspective view of a three-dimensional structure created by a three-dimensional CAD system, attributes of a moving direction and a moving amount. Setting means for setting a movement vector having a point, and a viewpoint moving means for moving the viewpoint by the above-mentioned movement vector when the line-of-sight rotation mode is specified When the gaze point moving means that moves by a vector and the line-of-sight rotation mode are specified, the gaze point after the movement obtained by the gaze point moving means is centered around the gaze point after the movement obtained by the gaze point moving means. A line-of-sight editing apparatus comprising: a gaze point rotation unit that moves the designated rotation direction by a designated rotation angle.
【請求項4】 請求項3記載の視線編集装置において、 視線回転モードが指定されるときに、移動ベクトルを指
定される回転方向に指定される回転角度分移動すること
で更新する移動ベクトル更新手段を備えることを、 特徴とする視線編集装置。
4. The line-of-sight editing apparatus according to claim 3, wherein when the line-of-sight rotation mode is designated, the movement vector is updated by moving the movement vector by a designated rotation angle in a designated rotation direction. A line-of-sight editing device characterized by comprising.
JP7021465A 1995-02-09 1995-02-09 Line-of-view editing device Withdrawn JPH08221601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7021465A JPH08221601A (en) 1995-02-09 1995-02-09 Line-of-view editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7021465A JPH08221601A (en) 1995-02-09 1995-02-09 Line-of-view editing device

Publications (1)

Publication Number Publication Date
JPH08221601A true JPH08221601A (en) 1996-08-30

Family

ID=12055742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7021465A Withdrawn JPH08221601A (en) 1995-02-09 1995-02-09 Line-of-view editing device

Country Status (1)

Country Link
JP (1) JPH08221601A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009259283A (en) * 2009-08-05 2009-11-05 Panasonic Electric Works Co Ltd Interior simulation system
CN109614692A (en) * 2018-12-10 2019-04-12 武大吉奥信息技术有限公司 A kind of novel trivector acquisition and edit methods and device based on oblique model

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009259283A (en) * 2009-08-05 2009-11-05 Panasonic Electric Works Co Ltd Interior simulation system
CN109614692A (en) * 2018-12-10 2019-04-12 武大吉奥信息技术有限公司 A kind of novel trivector acquisition and edit methods and device based on oblique model

Similar Documents

Publication Publication Date Title
CN116324680A (en) Method for manipulating objects in an environment
KR20020089460A (en) Animation creation program
KR100383704B1 (en) Storage medium for storing animation data, image processing method using same, and storage medium storing image processing programs
JPH05290146A (en) Graphics display method and device for rotating object in three-dimensional space
JP2001503896A (en) Virtual mobile device and related method
JP4739430B2 (en) 3D design support device and program
JPH10261108A (en) Control solution for resolution face of inverse movement chain
CN109847352A (en) The display control method of control icons, display equipment and storage medium in game
US6714198B2 (en) Program and apparatus for displaying graphical objects
JP2001195611A (en) Method for displaying object in virtual three- dimensional space and medium stored with display program
JPH0744143A (en) Information processor
JP2005527870A (en) Method and system for interacting with a three-dimensional computer model
JP2001216015A (en) Operation teaching device for robot
JPH08221601A (en) Line-of-view editing device
JP2001325615A (en) Device and method for processing three-dimensional model and program providing medium
JP2001195608A (en) Three-dimensional display method for cg
CA2200278A1 (en) Virtual environment navigation and interaction apparatus
JP4521101B2 (en) Display control apparatus and method, and computer-readable recording medium recording display control program
JP2004171168A (en) Image simulation program
JP3983707B2 (en) 3D space graphic processing apparatus and 3D space graphic processing method
JPH1099322A (en) Method and device for constituting three-dimensional image
JP3361437B2 (en) 3D CG animation creation apparatus and creation method
JP3356552B2 (en) Three-dimensional image processing apparatus and three-dimensional image processing method
JPH1166351A (en) Method and device for controlling object operation inside three-dimensional virtual space and recording medium recording object operation control program
JP2001209826A (en) Method and device for editing virtual space, computer program storage medium and virtual reality presenting device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020507