JP2907282B2 - Moving object simulation apparatus and high speed drawing processing method for moving object simulation - Google Patents
Moving object simulation apparatus and high speed drawing processing method for moving object simulationInfo
- Publication number
- JP2907282B2 JP2907282B2 JP26939697A JP26939697A JP2907282B2 JP 2907282 B2 JP2907282 B2 JP 2907282B2 JP 26939697 A JP26939697 A JP 26939697A JP 26939697 A JP26939697 A JP 26939697A JP 2907282 B2 JP2907282 B2 JP 2907282B2
- Authority
- JP
- Japan
- Prior art keywords
- screen display
- time
- display
- moving object
- simulation
- 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.)
- Expired - Lifetime
Links
Landscapes
- Image Generation (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は移動体シミュレーシ
ョン装置および移動体シミュレーションの高速描画処理
方法に関し、特に飛行管制シミュレーションなどの動的
な対象物(以下、移動体という)を一定時間ごとに描画
し直すことによりその動きをシミュレートする移動体シ
ミュレーション装置および移動体シミュレーションの高
速描画処理方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving object simulation apparatus and a high speed drawing method for moving object simulation, and more particularly to a method for drawing a dynamic object (hereinafter referred to as a moving object) such as a flight control simulation at regular intervals. The present invention relates to a moving body simulation apparatus that simulates the movement by correcting the movement and a high-speed drawing processing method of the moving body simulation.
【0002】[0002]
【従来の技術】従来、この種の移動体シミュレーション
の高速描画処理方法では、移動体を違和感なくディスプ
レイ画面に表示するために、高速にアクセス可能な主記
憶部に表示に必要なシミュレーションデータを予め保持
しておき、必要に応じて主記憶部のシミュレーションデ
ータにアクセスしていた。2. Description of the Related Art Conventionally, in this kind of high-speed drawing processing method for a moving object simulation, in order to display a moving object on a display screen without feeling uncomfortable, simulation data necessary for display is stored in a main storage unit which can be accessed at a high speed in advance. The simulation data in the main storage unit is accessed as needed.
【0003】従来の高速描画処理方法の一例が、特開平
1−204189号公報に開示されている。この公報に
開示された高速描画処理方法は、ロボットの動作シミュ
レーションを高速に描画するための方法であり、ロボッ
トの形を構成する多角形を描画するにあたり、頻繁に使
用する描画命令を組み合わせた数パターンの手順にして
主記憶部に保持することにより、描画を行う際に、描画
命令単位でアクセスするよりも手順として保持したもの
をアクセスする方が主記憶部へのアクセス回数が減るの
で、その分高速に描画処理を行うものである。An example of a conventional high-speed drawing processing method is disclosed in Japanese Patent Application Laid-Open No. Hei 1-204189. The high-speed drawing processing method disclosed in this publication is a method for rapidly drawing a motion simulation of a robot. In drawing a polygon that forms the shape of a robot, a number of frequently used drawing commands are combined. By storing the pattern in the main storage unit as a procedure, the number of accesses to the main storage unit is reduced when accessing the data stored as a procedure than when accessing the drawing command unit. The rendering process is performed at a high speed.
【0004】[0004]
【発明が解決しようとする課題】第1の問題点は、従来
の高速描画処理方法では、描画に使用するシミュレーシ
ョンデータが少なく、シミュレーションデータがすべて
主記憶部に保持できるデータ量であることが前提であ
り、描画処理に使用するシミュレーションデータが膨大
なデータ量で主記憶部では保持しきれずデータベースに
より管理しなければならない場合には描画の高速化がで
きないことである。The first problem is that, in the conventional high-speed drawing method, the amount of simulation data used for drawing is small, and all the simulation data has a data amount that can be held in the main storage unit. If the simulation data used for the drawing process has a huge data amount and cannot be held in the main storage unit and must be managed by a database, the speed of drawing cannot be increased.
【0005】本発明の第1の目的は、データベースで管
理されている移動体の表示座標および表示時刻からなる
膨大なシミュレーションデータを使用する場合にも、論
理時刻に従って動的に表示される移動体の描画速度を高
速化する移動体シミュレーション装置を提供することに
ある。A first object of the present invention is to provide a moving object dynamically displayed in accordance with a logical time even when a large amount of simulation data including display coordinates and display time of the moving object managed by a database is used. It is an object of the present invention to provide a moving object simulation apparatus for increasing the drawing speed of a moving object.
【0006】また、本発明の第2の目的は、データベー
スで管理されている表示座標および表示時刻からなる移
動体の膨大なシミュレーションデータを使用する場合に
も、論理時刻に従って動的に表示される移動体の描画速
度を高速化する移動体シミュレーションの高速描画処理
方法を提供することにある。A second object of the present invention is to dynamically display a moving object in accordance with a logical time even when using a large amount of simulation data of a moving object consisting of display coordinates and display time managed in a database. It is an object of the present invention to provide a high-speed drawing processing method for moving body simulation for increasing the drawing speed of a moving body.
【0007】さらに、本発明の第3の目的は、上記移動
体シミュレーションの高速描画処理を実現するプログラ
ムを記録した記録媒体を提供することにある。Further, a third object of the present invention is to provide a recording medium on which a program for realizing the high-speed drawing processing of the moving object simulation is recorded.
【0008】[0008]
【課題を解決するための手段】本発明の移動体シミュレ
ーション装置は、シミュレーションデータを使って移動
体を一定時間ごとに描画し直すことにより移動体の動き
をシミュレートする移動体シミュレーション装置におい
て、移動体の離散的な表示座標および表示時刻からなる
シミュレーションデータを管理するデータベースと、移
動体の画面表示有無の情報,画面表示開始時刻および画
面表示終了時刻からなる表示判定データを移動体ごとに
格納する主記憶部と、一定時間ごとに、前記主記憶部の
移動体の表示判定データを参照し、画面表示有無の情報
が表示有りの場合には論理時刻が画面表示開始時刻と画
面表示終了時刻との間にあるかどうかを判定し、論理時
刻が画面表示開始時刻と画面表示終了時刻との間にあれ
ば前記データベース内のシミュレーションデータにアク
セスして得られた表示座標および表示時刻に基づいて移
動体の表示を行い、論理時刻が画面表示開始時刻と画面
表示終了時刻との間になければ表示されている移動体を
消去して画面表示有無の情報を表示無しにし、画面表示
有無の情報が表示無しの場合には論理時刻が画面表示開
始時刻と画面表示終了時刻との間にあれば前記データベ
ース内のシミュレーションデータにアクセスして得られ
た表示座標および表示時刻に基づいて移動体の表示を行
い、画面表示有無の情報を表示有りにする移動体シミュ
レーション手段とを有する。SUMMARY OF THE INVENTION A moving object simulation apparatus according to the present invention simulates the movement of a moving object by redrawing the moving object at regular time intervals using simulation data. A database for managing simulation data consisting of discrete display coordinates and display times of the body, and display determination data consisting of information on the presence / absence of screen display of the mobile body, a screen display start time, and a screen display end time are stored for each mobile body. The main storage unit and, at regular time intervals, refer to the display determination data of the moving object in the main storage unit, and when the information on the presence or absence of screen display is displayed, the logical time is the screen display start time and the screen display end time. It is determined whether the logical time is between the screen display start time and the screen display end time. The mobile object is displayed based on the display coordinates and display time obtained by accessing the simulation data in the area. If the logical time is not between the screen display start time and the screen display end time, the displayed mobile object To delete the screen display information, and if the screen display information is not displayed, if the logical time is between the screen display start time and the screen display end time, the simulation data in the database is deleted. And a moving body simulation means for displaying the moving body based on the display coordinates and the display time obtained by accessing, and setting the information on the presence / absence of screen display to the presence of display.
【0009】また、本発明の移動体シミュレーションの
高速描画処理方法は、シミュレーションデータを使って
移動体を一定時間ごとに描画し直すことにより移動体の
動きをシミュレートする移動体シミュレーションの描画
処理方法において、一定時間ごとに、主記憶部の移動体
の表示判定データを参照し、画面表示有無の情報が表示
有りであるかどうかを判定する工程と、画面表示有無の
情報が表示有りの場合に論理時刻が画面表示開始時刻と
画面表示終了時刻との間にあればデータベース内のシミ
ュレーションデータにアクセスして得られた表示座標お
よび表示時刻に基づいて移動体の表示を行い、論理時刻
が画面表示開始時刻と画面表示終了時刻との間になけれ
ば表示されている移動体を消去して画面表示有無の情報
を表示無しにする工程と、画面表示有無の情報が表示無
しの場合には論理時刻が画面表示開始時刻と画面表示終
了時刻との間にあればデータベース内のシミュレーショ
ンデータにアクセスして得られた表示座標および表示時
刻で移動体の表示を行い画面表示有無の情報を表示有り
にする工程とを含む。A high-speed drawing method for a moving body simulation according to the present invention is a drawing processing method for a moving body simulation for simulating the movement of a moving body by redrawing the moving body at regular intervals using simulation data. In a step of, at regular time intervals, referring to the display determination data of the moving object in the main storage unit to determine whether the information on screen display is displayed or not; and If the logical time is between the screen display start time and the screen display end time, the moving object is displayed based on the display coordinates and display time obtained by accessing the simulation data in the database, and the logical time is displayed on the screen. If it is not between the start time and the screen display end time, the displayed moving object is erased and the information on the presence or absence of the screen display is turned off. If the logical time is between the screen display start time and the screen display end time when the screen display information is not displayed, the display coordinates and display time obtained by accessing the simulation data in the database And displaying information on the presence / absence of screen display in the presence of display.
【0010】本発明の記録媒体は、コンピュータに、一
定時間ごとに、主記憶部の移動体の表示判定データを参
照し、画面表示有無の情報が表示有りであるかどうかを
判定する手順,画面表示有無の情報が表示有りの場合に
論理時刻が画面表示開始時刻と画面表示終了時刻との間
にあるかどうかを判定し、論理時刻が画面表示開始時刻
と画面表示終了時刻との間にあればデータベース内のシ
ミュレーションデータにアクセスして得られた表示座標
および表示時刻に基づいて移動体の表示を行い、論理時
刻が画面表示開始時刻と画面表示終了時刻との間になけ
れば表示されている移動体を消去して画面表示有無の表
示を表示無しにする手順,ならびに画面表示有無の情報
が表示無しの場合には論理時刻が画面表示開始時刻と画
面表示終了時刻との間にあるかどうかを判定し、論理時
刻が画面表示開始時刻と画面表示終了時刻との間にあれ
ばデータベース内のシミュレーションデータにアクセス
して得られた表示座標および表示時刻で移動体の表示を
行い画面表示有無の情報をオンにする手順を実行させる
ためのプログラムを記録する。According to the recording medium of the present invention, it is possible for a computer to refer to display determination data of a moving object in a main storage unit at regular time intervals to determine whether or not information on screen display is displayed. If the display presence information indicates that the display is present, it is determined whether the logical time is between the screen display start time and the screen display end time, and the logical time is determined between the screen display start time and the screen display end time. For example, a moving object is displayed based on the display coordinates and display time obtained by accessing the simulation data in the database, and is displayed if the logical time is not between the screen display start time and the screen display end time. Procedure for erasing the moving object and turning off the display of screen display, and when the information of screen display is not displayed, the logical time is the screen display start time and screen display end time. It judges whether or not it is in the middle, and if the logical time is between the screen display start time and the screen display end time, the display of the moving object is displayed using the display coordinates and display time obtained by accessing the simulation data in the database. Then, a program for executing a procedure for turning on the information on the presence or absence of screen display is recorded.
【0011】[0011]
【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して詳細に説明する。Embodiments of the present invention will be described below in detail with reference to the drawings.
【0012】図1は、本発明の第1の実施の形態に係る
移動体シミュレーション装置の構成を示すブロック図で
ある。この移動体シミュレーション装置は、データ処理
装置1と、キーボード2と、シミュレーションデータ3
1を格納するデータベース3と、ディスプレイ装置4と
から、その主要部が構成されている。データ処理装置1
は、メインプロセッサ1a,読み出し専用記憶部1b,
主記憶部1c等を含んで構成されており、主記憶部1c
上には移動体シミュレーションプログラム11と、表示
判定データ12とが格納されている。FIG. 1 is a block diagram showing a configuration of a moving object simulation apparatus according to a first embodiment of the present invention. This mobile object simulation device includes a data processing device 1, a keyboard 2, simulation data 3
The main part is composed of the database 3 storing the data 1 and the display device 4. Data processing device 1
Is a main processor 1a, a read-only storage unit 1b,
The main storage unit 1c includes the main storage unit 1c and the like.
Above, a mobile object simulation program 11 and display determination data 12 are stored.
【0013】図2(a)は、ディスプレイ装置4に表示
されている移動体を例示する図であり、#1〜#3は移
動体のシンボルを示す。各移動体#1〜#3は、移動体
名N1〜N3をそれぞれ有する。FIG. 2A is a diagram exemplifying a moving object displayed on the display device 4, and # 1 to # 3 indicate symbols of the moving object. Each of the moving bodies # 1 to # 3 has a moving body name N1 to N3, respectively.
【0014】図2(b)は、データベース3に管理され
ている図2(a)における移動体#1〜#3の離散的な
表示座標および表示時刻からなるシミュレーションデー
タ31を表したものである。このシミュレーションデー
タ31は、移動体名N1の配下にm組の表示座標(X1
1 ,Y11 )および表示時刻T11 〜表示座標(X
1m ,Y1m )および表示時刻T1m が格納され、移動
体名N2の配下にn組の表示座標(X21 ,Y21 )お
よび表示時刻T21 〜表示座標(X2n ,Y2n )およ
び表示時刻T2n が格納され、移動体名N3の配下にk
組の表示座標(X31 ,Y31 )および表示時刻T31
〜表示座標(X3k ,Y3k )および表示時刻T3k が
格納されて構成されている。FIG. 2 (b) shows simulation data 31 consisting of discrete display coordinates and display times of the moving objects # 1 to # 3 in FIG. 2 (a) managed by the database 3. . The simulation data 31 includes m sets of display coordinates (X1
1, Y1 1) and display time T1 1 ~ display coordinates (X
1 m, Y1 m) and display time T1 m is stored, n sets of display coordinates under the mobile name N2 (X2 1, Y2 1) and the display time T2 1 ~ display coordinates (X2 n, Y2 n) and The display time T2 n is stored, and k is stored under the mobile unit name N3.
A set of display coordinates (X3 1 , Y3 1 ) and a display time T3 1
~ Display coordinates (X3 k , Y3 k ) and display time T3 k are stored.
【0015】図2(c)は、図2(b)におけるデータ
ベース3内のシミュレーションデータ31において、移
動体の画面表示フラグ,画面表示開始時刻および画面表
示終了時刻を主記憶部1cに管理した表示判定データ1
2を示す。この表示判定データ12は、移動体名N1の
配下に画面表示フラグF1 ,画面表示開始時刻TS
1(=T11 )および画面表示終了時刻TE1 (=T1
m )が格納され、移動体名N2の配下に画面表示フラグ
F2 ,画面表示開始時刻TS2 (=T21 )および画面
表示終了時刻TE2 (=T2n )が格納され、移動体名
N3の配下に画面表示フラグF3 ,画面表示開始時刻T
S3 (=T31 )および画面表示終了時刻TE3 (=T
3k )が格納されて構成されている。移動体は、画面表
示開始時刻からディスプレイ装置4に表示され、画面表
示終了時刻まで表示される。FIG. 2C shows a display in which the screen display flag, the screen display start time and the screen display end time of the moving object are managed in the main storage unit 1c in the simulation data 31 in the database 3 in FIG. 2B. Judgment data 1
2 is shown. The display determination data 12 includes a screen display flag F 1 and a screen display start time TS under the mobile unit name N1.
1 (= T1 1 ) and the screen display end time TE 1 (= T1
m ) is stored, and a screen display flag F 2 , a screen display start time TS 2 (= T2 1 ), and a screen display end time TE 2 (= T2 n ) are stored under the mobile body name N2. , The screen display flag F 3 and the screen display start time T
S 3 (= T3 1 ) and screen display end time TE 3 (= T3
3 k ) is stored. The moving object is displayed on the display device 4 from the screen display start time and is displayed until the screen display end time.
【0016】図3は、本発明の第1の実施の形態に係る
移動体シミュレーションの高速描画処理方法の手順を示
す流れ図である。図3を参照すると、第1の実施の形態
に係る移動体シミュレーションの高速描画処理方法の手
順は、画面表示フラグ判定ステップS301と、論理時
刻比較ステップS302と、論理時刻比較ステップS3
03と、移動体位置座標更新ステップS304と、移動
体消去ステップS305と、移動体表示ステップS30
6と、画面表示フラグオフステップS307と、画面表
示フラグオンステップS308とからなる。FIG. 3 is a flowchart showing a procedure of a high-speed drawing processing method for moving object simulation according to the first embodiment of the present invention. Referring to FIG. 3, the procedure of the high-speed drawing processing method of the moving object simulation according to the first embodiment includes a screen display flag determining step S301, a logical time comparing step S302, and a logical time comparing step S3.
03, a moving object position coordinate updating step S304, a moving object erasing step S305, and a moving object displaying step S30.
6, a screen display flag off step S307, and a screen display flag on step S308.
【0017】次に、このように構成された第1の実施の
形態に係る移動体シミュレーション装置の動作につい
て、第1の実施の形態に係る移動体シミュレーションの
高速描画処理方法とともに説明する。Next, the operation of the moving object simulation apparatus according to the first embodiment configured as described above will be described together with the high speed drawing processing method for moving object simulation according to the first embodiment.
【0018】まず、データ処理装置1は、図2(b)に
示すような離散的な表示座標および表示時刻を持つ移動
体のシミュレーションデータ31がデータベース3に格
納されているとき、図2(c)に示すような各移動体の
画面表示フラグをオフ(表示無し)に初期化するととも
に、データベース3のシミュレーションデータ31から
先頭の表示時刻を画面表示開始時刻に、末尾の表示時刻
を画面表示終了時刻に設定することにより、主記憶部1
cに表示判定データ12を保持する。First, when the simulation data 31 of a moving object having discrete display coordinates and display times as shown in FIG. ), The screen display flag of each moving object is initialized to off (no display), the first display time is set as the screen display start time from the simulation data 31 of the database 3, and the last display time is set as the screen display end. By setting the time, the main storage unit 1
The display determination data 12 is stored in c.
【0019】次に、データ処理装置1は、一定時間ごと
に移動体を表示する際に、主記憶部1cに記憶されてい
る移動体の画面表示フラグ,画面表示開始時刻および画
面表示終了時刻からなる表示判定データ12にアクセス
し、図3に示す流れ図に従って、移動体のシミュレーシ
ョンデータ31が格納されているデータベース3にアク
セスするか否かの判断を行う。Next, the data processing apparatus 1 uses the screen display flag, screen display start time, and screen display end time of the moving object stored in the main storage unit 1c when displaying the moving object at regular time intervals. The display determination data 12 is accessed, and it is determined whether or not to access the database 3 in which the simulation data 31 of the moving object is stored according to the flowchart shown in FIG.
【0020】詳しくは、画面表示フラグから移動体がす
でに画面に表示されているか否かの判定を行い(ステッ
プS301)、表示されている場合はステップS302
に制御を移し、表示されていない場合にはステップS3
03に制御を移す。More specifically, it is determined from the screen display flag whether or not the moving object is already displayed on the screen (step S301).
Control is transferred to step S3.
Transfer control to 03.
【0021】ステップS302では、移動体の表示判定
を行う時点でのシミュレーションの論理時刻をTとする
と、論理時刻Tと移動体の画面表示開始時刻および画面
表示終了時刻とを比較し、論理時刻Tが画面表示開始時
刻と画面表示終了時刻との間にある場合は、データベー
ス3のシミュレーションデータ31にアクセスして表示
時刻が論理時刻Tである移動体の表示座標を取得し、デ
ィスプレイ装置4の画面上の移動体の位置座標を更新す
る(ステップS304)。In step S302, assuming that the logical time of the simulation at the time of performing the display determination of the moving object is T, the logical time T is compared with the screen display start time and the screen display end time of the mobile object, and the logical time T Is between the screen display start time and the screen display end time, the simulation data 31 in the database 3 is accessed to obtain the display coordinates of the moving object whose display time is the logical time T, and the screen of the display device 4 is displayed. The position coordinates of the upper moving object are updated (step S304).
【0022】ステップS302で論理時刻Tが画面表示
開始時刻と画面表示終了時刻との間にない場合は、表示
されている移動体を消去し(ステップS305)、移動
体の画面表示フラグをオフに設定する(ステップS30
7)。If the logical time T is not between the screen display start time and the screen display end time in step S302, the displayed moving object is deleted (step S305), and the screen display flag of the moving object is turned off. Set (Step S30)
7).
【0023】また、ステップS303では、ステップS
302と同様の判定を行い、論理時刻Tが画面表示開始
時刻と画面表示終了時刻との間にある場合は、データベ
ース3のシミュレーションデータ31にアクセスして移
動体の表示座標を取得し、ディスプレイ装置4の画面上
に新しく移動体を表示し(ステップS306)、移動体
の画面表示フラグをオン(表示有り)にする(ステップ
S308)。In step S303, step S303
If the logical time T is between the screen display start time and the screen display end time, the simulation data 31 of the database 3 is accessed to obtain the display coordinates of the moving object, and the display device A new moving object is displayed on the screen of No. 4 (step S306), and the screen display flag of the moving object is turned on (displayed) (step S308).
【0024】次に、本発明の第2の実施の形態について
図面を参照して詳細に説明する。Next, a second embodiment of the present invention will be described in detail with reference to the drawings.
【0025】図4を参照すると、本発明の第2の実施の
形態は、移動体シミュレーションプログラム11を記録
した記録媒体5を備える。この記録媒体5は、磁気ディ
スク,半導体メモリ,その他の記録媒体であってもよ
い。Referring to FIG. 4, the second embodiment of the present invention includes a recording medium 5 on which a moving object simulation program 11 is recorded. The recording medium 5 may be a magnetic disk, a semiconductor memory, or another recording medium.
【0026】移動体シミュレーションプログラム11
は、記録媒体5からデータ処理装置1に読み込まれ、デ
ータ処理装置1の動作を制御する。移動体シミュレーシ
ョンプログラムの制御によるデータ処理装置1の動作
は、第1の実施の形態に係る移動体シミュレーション装
置の場合と全く同様になるので、その詳しい説明を割愛
する。Mobile object simulation program 11
Is read from the recording medium 5 into the data processing device 1 and controls the operation of the data processing device 1. The operation of the data processing apparatus 1 under the control of the mobile object simulation program is exactly the same as that of the mobile object simulation apparatus according to the first embodiment, and thus the detailed description is omitted.
【0027】[0027]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。Next, embodiments of the present invention will be described with reference to the drawings.
【0028】図5は、第1の実施の形態に係る移動体シ
ミュレーション装置においてディスプレイ装置4に表示
される移動体の軌跡の一例を示す図である。図5におい
て、P1〜P5は移動体の中継ポイントを表す。この中
継ポイントは、それぞれ表示座標および表示時刻を持
ち、中継ポイントP1から移動体の表示が始まり、中継
ポイントP2−P3−P4と移動し、中継ポイントP5
に到達して表示が終了する。いま、図5の移動体の名称
を移動体名N1とすると、シミュレーションデータ31
のデータ構造図は、図6のようになる。図5の中継ポイ
ントP1が、図6の表示座標(X1 ,Y1 )および表示
時刻T1 に、中継ポイントP2が表示座標(X2 ,
Y2 )および表示時刻T2 に、中継ポイントP3が表示
座標(X3 ,Y3 )および表示時刻T3 に、中継ポイン
トP4が表示座標(X4 ,Y4 )および表示時刻T
4 に、中継ポイントP5が表示座標(X5 ,Y5 )およ
び表示時刻T5 にそれぞれ対応する。この移動体のシミ
ュレーションデータ31は、データベース3に管理され
る。また、図5の中継ポイントP1〜P5を管理した移
動体のシミュレーションデータ31とは別に、図6に示
すように現在移動体が画面上に表示されているかどうか
(オンかオフか)を示す画面表示フラグF1 ,画面表示
開始時刻T1 および画面表示終了時刻T5 を、主記憶部
1cに表示判定データ12として管理する。FIG. 5 is a diagram showing an example of the trajectory of the moving object displayed on the display device 4 in the moving object simulation apparatus according to the first embodiment. In FIG. 5, P1 to P5 represent relay points of the moving object. Each of the relay points has display coordinates and a display time, the display of the moving object starts from the relay point P1, moves to the relay points P2-P3-P4, and moves to the relay point P5.
And the display ends. Now, assuming that the name of the moving object in FIG.
Is as shown in FIG. The relay point P1 in FIG. 5 is at the display coordinates (X 1 , Y 1 ) and display time T 1 in FIG. 6, and the relay point P2 is at the display coordinates (X 2 , Y 2 ).
Y 2 ) and display time T 2 , relay point P 3 at display coordinates (X 3 , Y 3 ) and display time T 3 , relay point P 4 at display coordinates (X 4 , Y 4 ) and display time T
4, the relay point P5 is display coordinates (X 5, Y 5) and corresponding respectively to the display time T 5. The simulation data 31 of the moving object is managed in the database 3. In addition to the simulation data 31 of the mobile object managing the relay points P1 to P5 in FIG. 5, a screen indicating whether the mobile object is currently displayed on the screen (on or off) as shown in FIG. The display flag F 1 , the screen display start time T 1, and the screen display end time T 5 are managed as the display determination data 12 in the main storage unit 1c.
【0029】次に、このような第1の実施の形態に係る
移動体シミュレーション装置の一実施例の動作につい
て、図面を参照して説明する。Next, the operation of one example of the mobile object simulation apparatus according to the first embodiment will be described with reference to the drawings.
【0030】まず、主記憶部1cに管理されてある表示
判定データ12の画面表示フラグから移動体が現在画面
に表示されているかどうかを調べる(ステップS30
1)。すでに表示されている場合にはステップS302
へ行き、表示されていない場合にはステップS303へ
行く。First, it is checked whether or not the moving object is currently displayed on the screen from the screen display flag of the display determination data 12 managed in the main storage unit 1c (step S30).
1). If already displayed, step S302
If not, go to step S303.
【0031】ステップS302およびステップS303
では、シミュレーション上の論理時刻Tと表示開始時刻
T1 および表示終了時刻T5 とを比較する。Steps S302 and S303
Then, the simulation logical time T is compared with the display start time T 1 and the display end time T 5 .
【0032】ステップS302で論理時刻Tが画面表示
開始時刻T1 と画面表示終了時刻T5 との間にあれば、
現在表示されている移動体の位置座標を変更する必要が
あるので、データベース3にアクセスし適切な位置座標
を計算し、移動体の位置変更したものをディスプレイ装
置4に描画する(ステップS304)。If the logical time T is between the screen display start time T 1 and the screen display end time T 5 in step S302,
Since it is necessary to change the position coordinates of the currently displayed moving object, the database 3 is accessed to calculate appropriate position coordinates, and the changed position of the moving object is drawn on the display device 4 (step S304).
【0033】ステップS302で論理時刻Tが画面表示
開始時刻T1 と画面表示終了時刻T5 との間にない場合
には、現在表示してある移動体は不必要なので、移動体
の画面からの消去処理を行う(ステップS305)。こ
のとき、移動体のシミュレーションデータ31は必要な
いので、データベース3には一切アクセスしない。ま
た、移動体を消去するので、画面表示フラグをオフにす
る(ステップS307)。If the logical time T is not between the screen display start time T 1 and the screen display end time T 5 in step S 302, the currently displayed moving object is unnecessary, and the moving object is displayed from the screen. An erasing process is performed (step S305). At this time, since the simulation data 31 of the moving object is not required, the database 3 is not accessed at all. Further, since the moving object is deleted, the screen display flag is turned off (step S307).
【0034】ステップS303で論理時刻Tが画面表示
開始時刻T1 と画面表示終了時刻T5 との間にあれば、
新しく画面に移動体を表示させる必要があるので、デー
タベース3にアクセスし適切な位置座標を計算し、移動
体を新規にディスプレイ装置4に描画する(ステップS
306)。また、新規に移動体を描画するので、画面表
示フラグをオンにする(ステップS308)。If the logical time T is between the screen display start time T 1 and the screen display end time T 5 in step S303,
Since it is necessary to newly display the moving object on the screen, the database 3 is accessed, appropriate position coordinates are calculated, and the moving object is newly drawn on the display device 4 (step S).
306). Also, since a new moving object is drawn, the screen display flag is turned on (step S308).
【0035】ステップS302で論理時刻Tが画面表示
開始時刻T1 と画面表示終了時刻T5 との間にない場合
には、何も処理を行う必要はないので、データベース3
にはアクセスしない。これを、登録しているすべての移
動体で行い、本発明の描画処理を終了する。If the logical time T is not between the screen display start time T 1 and the screen display end time T 5 in step S 302, no processing needs to be performed.
Do not access. This is performed for all the registered moving objects, and the drawing processing of the present invention ends.
【0036】[0036]
【発明の効果】以上説明したように、本発明の移動体シ
ュミレーション装置では、データベース内にある移動体
のシミュレーションデータとは別に、主記憶部内に移動
体の画面表示フラグ,画面表示開始時刻および画面表示
終了時刻からなる表示判定データを移動体ごとに用意し
ておき、表示判定データに基づいてデータベースにアク
セスすべき移動体の判定を行うことにより、データベー
スへのアクセスを最小限に抑え、表示更新の際の描画処
理速度を向上できるという効果がある。As described above, in the mobile object simulation apparatus of the present invention, the screen display flag, the screen display start time and the screen display time of the mobile object are stored in the main storage separately from the simulation data of the mobile object in the database. Display judgment data consisting of the display end time is prepared for each moving object, and the judgment of the moving object that should access the database is performed based on the display judgment data, thereby minimizing access to the database and updating the display. In this case, there is an effect that the drawing processing speed can be improved.
【0037】また、本発明の移動体シミュレーションの
高速描画処理方法では、データベースで管理されている
移動体の表示座標および表示時刻の膨大なシミュレーシ
ョンデータとは別に、移動体の画面表示有無の情報,画
面表示開始時刻および画面表示終了時刻からなる表示判
定データをデータベースより高速にアクセス可能な主記
憶部で管理することにより、移動体を表示させようとす
る場合、主記憶部で管理されている表示判定データから
移動体をディスプレイ画面に表示すべきか否かの判定を
行い、表示すべき移動体を指定するため、データベース
に管理されている描画対象外のシミュレーションデータ
に一切アクセスすることがなく、全体的な描画処理速度
を向上させるという効果がある。In the moving object simulation high-speed drawing method according to the present invention, apart from the simulation data of the display coordinates and the display time of the moving object which are managed in the database, information on the presence or absence of the screen display of the moving object, When the mobile object is to be displayed by managing the display determination data including the screen display start time and the screen display end time in the main storage unit which can be accessed faster than the database, the display managed by the main storage unit It determines whether or not to display the moving object on the display screen from the determination data, and specifies the moving object to be displayed.Therefore, there is no access to the simulation data outside the drawing target managed in the database at all. This has the effect of improving the effective drawing processing speed.
【図1】本発明の第1の実施の形態に係る移動体シミュ
レーション装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a moving object simulation apparatus according to a first embodiment of the present invention.
【図2】(a),(b)および(c)は第1の実施の形
態に係る移動体シミュレーション装置における表示,シ
ミュレーションデータおよび表示判定データの一例を示
す図である。FIGS. 2A, 2B, and 2C are diagrams illustrating examples of display, simulation data, and display determination data in the mobile object simulation device according to the first embodiment.
【図3】本発明の第1の実施の形態に係る移動体シミュ
レーションの高速描画処理方法の手順を示す流れ図であ
る。FIG. 3 is a flowchart illustrating a procedure of a high-speed drawing processing method for moving object simulation according to the first embodiment of the present invention.
【図4】本発明の第2の実施の形態に係る移動体シミュ
レーション装置の構成を示すブロック図である。FIG. 4 is a block diagram illustrating a configuration of a moving object simulation apparatus according to a second embodiment of the present invention.
【図5】第1の実施の形態に係る移動体シミュレーショ
ン装置においてディスプレイ装置に表示される移動体の
軌跡の一例を示す図である。FIG. 5 is a diagram illustrating an example of a trajectory of a moving object displayed on a display device in the moving object simulation device according to the first embodiment.
【図6】図5の移動体において離散的な表示座標および
表示時刻のシミュレートデータを管理した実施例を示す
図である。6 is a diagram showing an embodiment in which simulated data of discrete display coordinates and display times is managed in the moving object of FIG. 5;
【図7】図5の移動体において画面表示フラグ,画面表
示開始時刻および画面表示終了時刻を管理した実施例で
ある。FIG. 7 is an embodiment in which a screen display flag, a screen display start time, and a screen display end time are managed in the moving body of FIG. 5;
1 コンピュータ 1a メインプロセッサ 1b 読み出し専用記憶部 1c 主記憶部 2 キーボード 3 データベース 4 ディスプレイ装置 11 移動体シミュレーションプログラム 12 表示判定データ 31 シミュレーションデータ S301 画面表示フラグ判定ステップ S302 論理時刻比較ステップ S303 論理時刻比較ステップ S304 移動体位置座標更新ステップ S305 移動体消去ステップ S306 移動体表示ステップ S307 画面表示フラグオフステップ S308 画面表示フラグオンステップ #1〜#3 移動体 Reference Signs List 1 computer 1a main processor 1b read-only storage unit 1c main storage unit 2 keyboard 3 database 4 display device 11 moving body simulation program 12 display determination data 31 simulation data S301 screen display flag determination step S302 logical time comparison step S303 logical time comparison step S304 Moving body position coordinate updating step S305 Moving body erasing step S306 Moving body display step S307 Screen display flag off step S308 Screen display flag on step # 1 to # 3 Moving body
Claims (5)
を一定時間ごとに描画し直すことにより移動体の動きを
シミュレートする移動体シミュレーション装置におい
て、 移動体の離散的な表示座標および表示時刻からなるシミ
ュレーションデータを管理するデータベースと、 移動体の画面表示有無の情報,画面表示開始時刻および
画面表示終了時刻からなる表示判定データを移動体ごと
に格納する主記憶部と、 一定時間ごとに、前記主記憶部の移動体の表示判定デー
タを参照し、画面表示有無の情報が表示有りの場合には
論理時刻が画面表示開始時刻と画面表示終了時刻との間
にあるかどうかを判定し、論理時刻が画面表示開始時刻
と画面表示終了時刻との間にあれば前記データベース内
のシミュレーションデータにアクセスして得られた表示
座標および表示時刻に基づいて移動体の表示を行い、論
理時刻が画面表示開始時刻と画面表示終了時刻との間に
なければ表示されている移動体を消去して画面表示有無
の情報を表示無しにし、画面表示有無の情報が表示無し
の場合には論理時刻が画面表示開始時刻と画面表示終了
時刻との間にあれば前記データベース内のシミュレーシ
ョンデータにアクセスして得られた表示座標および表示
時刻に基づいて移動体の表示を行い、画面表示有無の情
報を表示有りにする移動体シミュレーション手段とを有
することを特徴とする移動体シミュレーション装置。1. A moving object simulation apparatus for simulating the movement of a moving object by redrawing the moving object at regular time intervals using simulation data. A simulation comprising discrete display coordinates and display time of the moving object. A database for managing data; a main storage unit for storing display determination data including information on presence / absence of screen display of the moving body, a screen display start time and a screen display end time for each moving body; Referring to the display determination data of the moving object of the section, if the information of screen display presence is displayed, it is determined whether the logical time is between the screen display start time and the screen display end time, If there is between the screen display start time and the screen display end time, a table obtained by accessing the simulation data in the database Displays the moving object based on the indicated coordinates and display time, and if the logical time is not between the screen display start time and the screen display end time, deletes the displayed moving object and displays the information on screen display If the logical time is between the screen display start time and the screen display end time when the screen display information is not displayed, the display coordinates and display obtained by accessing the simulation data in the database. A moving object simulation apparatus, comprising: moving object simulation means for displaying a moving object based on time, and setting information on presence / absence of screen display to display.
ス内のシミュレーションデータの先頭の表示時刻であ
り、前記画面表示終了時刻が前記データベース内のシミ
ュレーションデータの末尾の表示時刻である請求項1記
載の移動体シミュレーション装置。2. The movement according to claim 1, wherein the screen display start time is a head display time of the simulation data in the database, and the screen display end time is a tail display time of the simulation data in the database. Body simulation device.
を一定時間ごとに描画し直すことにより移動体の動きを
シミュレートする移動体シミュレーションの描画処理方
法において、 一定時間ごとに、主記憶部の移動体の表示判定データを
参照し、画面表示有無の情報が表示有りであるかどうか
を判定する工程と、 画面表示有無の情報が表示有りの場合に論理時刻が画面
表示開始時刻と画面表示終了時刻との間にあればデータ
ベース内のシミュレーションデータにアクセスして得ら
れた表示座標および表示時刻に基づいて移動体の表示を
行い、論理時刻が画面表示開始時刻と画面表示終了時刻
との間になければ表示されている移動体を消去して画面
表示有無の情報を表示無しにする工程と、 画面表示有無の情報が表示無しの場合には論理時刻が画
面表示開始時刻と画面表示終了時刻との間にあればデー
タベース内のシミュレーションデータにアクセスして得
られた表示座標および表示時刻で移動体の表示を行い画
面表示有無の情報を表示有りにする工程とを含むことを
特徴とする移動体シミュレーションの高速描画処理方
法。3. A drawing processing method of a moving body simulation for simulating the movement of a moving body by redrawing the moving body at regular time intervals using simulation data. Referring to the display determination data of step (a), and determining whether or not the information on the presence or absence of the screen display is present. If the information on the presence or absence of the screen display is present, the logical time is the screen display start time and the screen display end time. If it is between, display the moving object based on the display coordinates and display time obtained by accessing the simulation data in the database, if the logical time is not between the screen display start time and the screen display end time The process of erasing the displayed moving object to make the information of screen display non-display non-display. If the time is between the screen display start time and the screen display end time, a step of displaying the moving object with the display coordinates and the display time obtained by accessing the simulation data in the database and making the information of screen display presence / absence display And a high-speed drawing processing method for moving body simulation.
ス内のシミュレーションデータの先頭の表示時刻であ
り、前記画面表示終了時刻が前記データベース内のシミ
ュレーションデータの末尾の表示時刻である請求項3記
載の移動体シミュレーションの高速描画処理方法。4. The movement according to claim 3, wherein the screen display start time is a head display time of the simulation data in the database, and the screen display end time is a tail display time of the simulation data in the database. High-speed drawing method for body simulation.
憶部の移動体の表示判定データを参照し、画面表示有無
の情報が表示有りであるかどうかを判定する手順,画面
表示有無の情報が表示有りの場合に論理時刻が画面表示
開始時刻と画面表示終了時刻との間にあるかどうかを判
定し、論理時刻が画面表示開始時刻と画面表示終了時刻
との間にあればデータベース内のシミュレーションデー
タにアクセスして得られた表示座標および表示時刻に基
づいて移動体の表示を行い、論理時刻が画面表示開始時
刻と画面表示終了時刻との間になければ表示されている
移動体を消去して画面表示有無の表示を表示無しにする
手順,ならびに画面表示有無の情報が表示無しの場合に
は論理時刻が画面表示開始時刻と画面表示終了時刻との
間にあるかどうかを判定し、論理時刻が画面表示開始時
刻と画面表示終了時刻との間にあればデータベース内の
シミュレーションデータにアクセスして得られた表示座
標および表示時刻で移動体の表示を行い画面表示有無の
情報をオンにする手順を実行させるためのプログラムを
記録した記録媒体。5. A procedure for, at regular intervals, referring to display determination data of a moving object in a main storage unit to determine whether information on screen display is present or not, wherein the information on screen display presence is provided. If there is a display, it is determined whether the logical time is between the screen display start time and the screen display end time. If the logical time is between the screen display start time and the screen display end time, the simulation in the database is performed. The moving object is displayed based on the display coordinates and the display time obtained by accessing the data.If the logical time is not between the screen display start time and the screen display end time, the displayed moving object is deleted. Procedure to turn off the display of the screen display by displaying it, and if the information of the screen display is not displayed, check whether the logical time is between the screen display start time and the screen display end time. If the logical time is between the screen display start time and the screen display end time, the display of the moving object is performed at the display coordinates and the display time obtained by accessing the simulation data in the database, and information on whether or not the screen is displayed. Recording medium for recording a program for executing a procedure for turning on a computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP26939697A JP2907282B2 (en) | 1997-09-16 | 1997-09-16 | Moving object simulation apparatus and high speed drawing processing method for moving object simulation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP26939697A JP2907282B2 (en) | 1997-09-16 | 1997-09-16 | Moving object simulation apparatus and high speed drawing processing method for moving object simulation |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH1195651A JPH1195651A (en) | 1999-04-09 |
| JP2907282B2 true JP2907282B2 (en) | 1999-06-21 |
Family
ID=17471833
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP26939697A Expired - Lifetime JP2907282B2 (en) | 1997-09-16 | 1997-09-16 | Moving object simulation apparatus and high speed drawing processing method for moving object simulation |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2907282B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110599811A (en) * | 2019-08-20 | 2019-12-20 | 李秀儿 | Broadcast television guiding, learning and displaying device |
| CN114494337A (en) * | 2021-12-21 | 2022-05-13 | 上海交通大学 | Quantitative simulation method for motion behavior of frog animals |
-
1997
- 1997-09-16 JP JP26939697A patent/JP2907282B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH1195651A (en) | 1999-04-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5483632A (en) | Method and system of help-information control | |
| US20030020734A1 (en) | Method and apparatus for displaying information elements | |
| CA1327657C (en) | Display with enhanced scrolling capabilities | |
| JP3173067B2 (en) | Graph creation apparatus and method | |
| JP2907282B2 (en) | Moving object simulation apparatus and high speed drawing processing method for moving object simulation | |
| US6677955B1 (en) | Image processing method and image processing apparatus | |
| US5237312A (en) | Display with enhanced scrolling capabilities | |
| JP3200113B2 (en) | Operation simulation apparatus and method | |
| JP2887603B2 (en) | Figure registration control method | |
| JPH11338456A (en) | Map display system and image scroll processing method in it | |
| JPH04128886A (en) | Display image scrolling method and image display device | |
| JP3200115B2 (en) | Operation simulation apparatus and method | |
| JP3781923B2 (en) | Line drawing apparatus, line drawing method, and computer-readable recording medium recording line drawing program | |
| JP3679484B2 (en) | Graphic processing apparatus and method | |
| JPS63120331A (en) | Window opening control method | |
| JPS61180283A (en) | Word processor | |
| JP3200112B2 (en) | Operation simulation apparatus and method | |
| JP2595884B2 (en) | Rubber band frame display device | |
| JP2665206B2 (en) | Front screen drawing processing method | |
| JPH01184525A (en) | Display control system | |
| JPH0550782B2 (en) | ||
| JP2007188338A (en) | Image processing device | |
| JPH0822490A (en) | Layer selection method and layer attribute editing method | |
| JPS6243779A (en) | Template picture drawing device for graphic processing | |
| JPS61284794A (en) | Display controller |