Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2663868B2 - Graphic display control method - Google Patents
[go: Go Back, main page]

JP2663868B2 - Graphic display control method - Google Patents

Graphic display control method

Info

Publication number
JP2663868B2
JP2663868B2 JP6174703A JP17470394A JP2663868B2 JP 2663868 B2 JP2663868 B2 JP 2663868B2 JP 6174703 A JP6174703 A JP 6174703A JP 17470394 A JP17470394 A JP 17470394A JP 2663868 B2 JP2663868 B2 JP 2663868B2
Authority
JP
Japan
Prior art keywords
drawing command
scene
display control
control method
unit
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 - Fee Related
Application number
JP6174703A
Other languages
Japanese (ja)
Other versions
JPH0816810A (en
Inventor
祥 渡辺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP6174703A priority Critical patent/JP2663868B2/en
Publication of JPH0816810A publication Critical patent/JPH0816810A/en
Application granted granted Critical
Publication of JP2663868B2 publication Critical patent/JP2663868B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は図形表示制御方式に関
し、特にコンピュータシステムによる情報処理の処理結
果として得られるデータや計測装置や制御機器から取得
されるデータ等を画面上にアニメーションの態様で図形
として表示する制御を行う図形表示制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic display control system, and more particularly, to a graphic display control system for displaying data obtained as a result of information processing by a computer system, data obtained from a measuring device or a control device, etc. The present invention relates to a graphic display control method for performing control for displaying as a graphic.

【0002】[0002]

【従来の技術】近年、CG(Computer Gra
phics)の分野におけるコンピュータアニメーショ
ンの技術の進歩により、上述のような図形表示制御方式
の必要性が高まっている。なお、コンピュータアニメー
ションに関しては、例えば、「CGハンドブック,日本
図学会編,森北出版,1989年5月20日発行」の第
8.4節を参照されたい。
2. Description of the Related Art In recent years, CG (Computer Grass)
Advances in computer animation technology in the field of phis) have increased the need for such graphic display control schemes. For the computer animation, see, for example, Section 8.4 of “CG Handbook, edited by The Japan Society for Zigzag, Morikita Publishing, published May 20, 1989”.

【0003】従来、この種の図形表示制御方式は、図6
に示すような構成によって、図7に示すような処理を実
行していた。
Conventionally, this type of graphic display control system is shown in FIG.
The processing as shown in FIG. 7 has been executed by the configuration as shown in FIG.

【0004】以下に、従来の図形表示制御方式の動作に
ついて説明する。
The operation of the conventional graphic display control system will be described below.

【0005】まず、動きデータ入力部62は、1シーン
分の動きデータを入力して、その動きデータを描画命令
格納部61にセットする(ステップ701)。
First, the motion data input section 62 inputs motion data for one scene and sets the motion data in the drawing command storage section 61 (step 701).

【0006】なお、動きデータとは、時間的に変動する
図形(動的図形)の時間的変化を規定するデータをい
う。動きデータは、例えば、マトリックス(アニメーシ
ョンマトリックス)の形式で定義される。この場合(マ
トリックスの形式で動きデータが定義される場合)に
は、アニメーションの基本的な動き(拡大/縮小,回転
および移動等)を表現する基本マトリックスが定義され
ていることを前提として、1シーン分のアニメーション
情報(例えば、図形をある座標から別の座標に移動する
際の変移量や、図形をある点のまわりに回転する際の回
転角度)がアニメーションマトリックスとして定義され
る(前掲の文献中の第431頁および第432頁等参
照)。
[0006] The motion data refers to data that defines the temporal change of a graphic that fluctuates over time (dynamic graphic). The motion data is defined, for example, in the form of a matrix (animation matrix). In this case (when motion data is defined in the form of a matrix), it is assumed that a basic matrix that expresses basic motions of the animation (enlargement / reduction, rotation, movement, etc.) is defined. Animation information for a scene (for example, a displacement amount when moving a figure from one coordinate to another coordinate or a rotation angle when rotating a figure around a certain point) is defined as an animation matrix (see the above-mentioned document). Pp. 431 and 432, etc.).

【0007】なお、描画命令格納部61は、命令列格納
テーブルと、描画パラメータブロックとから構成されて
いる。命令列格納テーブルは各図形に対応するレコード
を有しており、各レコードはレコード番号,図形名およ
び描画パラメータ格納領域アドレスを含んでいる。描画
パラメータブロックは、各レコードに対応する描画パラ
メータ格納領域を有している。動的図形に対応する描画
パラメータ格納領域には、動きデータをセットするため
のエリアが存在する。
The drawing command storage section 61 is composed of a command string storage table and a drawing parameter block. The instruction string storage table has records corresponding to each figure, and each record includes a record number, a figure name, and a drawing parameter storage area address. The drawing parameter block has a drawing parameter storage area corresponding to each record. In the drawing parameter storage area corresponding to the dynamic graphic, there is an area for setting motion data.

【0008】次に、描画命令実行部63は、現在表示装
置64の画面上に表示されている図形をいったん全て削
除する(ステップ702)。
Next, the drawing command execution unit 63 temporarily deletes all the graphics currently displayed on the screen of the display device 64 (step 702).

【0009】さらに、描画命令実行部63は、次のシー
ンの表示を行うために、描画命令格納部61内の描画命
令を順次に実行する(ステップ703)。ここで、描画
命令の実行の順序は、描画命令格納部61内の命令列格
納テーブルにおける格納順であり、後述する本発明にお
ける「優先順位」といった考え方には準拠していない。
Further, the drawing command execution unit 63 sequentially executes the drawing commands in the drawing command storage unit 61 to display the next scene (step 703). Here, the order of execution of the drawing commands is the order of storage in the command sequence storage table in the drawing command storage unit 61, and does not conform to the concept of “priority” in the present invention described later.

【0010】描画命令実行部63は、1つの描画命令の
実行が終了すると、そのシーンにおける全ての描画命令
の実行が終了したか否かを判定する(描画終了判定を行
う)(ステップ704)。
When the execution of one drawing command is completed, the drawing command execution section 63 determines whether or not the execution of all drawing commands in the scene has been completed (performs drawing completion determination) (step 704).

【0011】描画命令実行部63は、ステップ704で
「全ての描画命令の実行が終了していない(描画未終
了)」と判定した場合には、次の描画命令を実行するた
めに、ステップ703に制御を戻す。
If it is determined in step 704 that the execution of all drawing commands has not been completed (drawing has not been completed), the drawing command execution unit 63 executes step 703 to execute the next drawing command. Return control to

【0012】一方、描画命令実行部63は、ステップ7
04で「全ての描画命令の実行が終了した(描画終
了)」と判定した場合には、動きデータ入力部62に制
御を渡す。制御を渡された動きデータ入力部62は、表
示すべき全てのシーンの表示が終了したか否かを判定す
る(シーン終了判定を行う)(ステップ705)。
On the other hand, the drawing command execution unit 63
If it is determined in 04 that “the execution of all drawing commands has been completed (drawing completed)”, control is passed to the motion data input unit 62. The motion data input unit 62 to which the control has been passed determines whether display of all scenes to be displayed has been completed (performs scene end determination) (step 705).

【0013】動きデータ入力部62は、ステップ705
で「全てのシーンの表示が終了した(全シーン終了)」
と判定した場合には、今回のアニメーション表示の処理
を終了させる。
The motion data input unit 62 executes step 705
To display all scenes (all scenes ended)
If this is determined, the current animation display processing is terminated.

【0014】一方、動きデータ入力部62は、ステップ
705で「表示すべきシーンが残っている(全シーン未
終了)」と判定した場合には、次のシーンにおける1シ
ーン分の「動きデータセット」の処理(ステップ70
1)に制御を戻す。
On the other hand, when the motion data input unit 62 determines in step 705 that “there are still scenes to be displayed (all scenes have not been completed)”, the motion data set for one scene in the next scene (Step 70)
Return control to 1).

【0015】以上の動作説明で明らかなように、従来の
図形表示制御方式では、あるシーンにおける描画処理
(全ての図形の描画命令の実行)が終了するまで、必
ず、ステップ703および704のループが繰り返され
ていた。逆にいうと、ステップ703および704のル
ープが全描画命令について終了すると、その時点で即時
に次のシーンの表示に移行していた。
As is apparent from the above description of the operation, in the conventional graphic display control method, the loop of steps 703 and 704 must be performed until the drawing processing (execution of the drawing command of all figures) in a certain scene is completed. Had been repeated. Conversely, when the loop of steps 703 and 704 has been completed for all drawing commands, the display has immediately shifted to the display of the next scene at that point.

【0016】したがって、従来の図形表示制御方式で
は、アニメーション表示を実行する時のシーンの移行速
度は当該図形表示制御方式が実現されるハードウェア
(当該図形表示制御方式の実行に使用されるハードウェ
ア)の性能(処理速度等)に依存することとなってい
た。例えば、ある図形表示制御方式がハードウェアAで
実現される場合に、1秒間に30シーンの表示が可能で
あったとする。この際に、ハードウェアAよりも処理速
度が10倍遅いハードウェアBで当該図形表示制御方式
が実現されるときには、1秒間に3シーンの表示しかで
きない。また、ハードウェアAよりも処理速度が10倍
速いハードウェアCで当該図形表示制御方式が実現され
るときには、逆に300シーンのアニメーション表示の
実行が1秒間で完了してしまう。
Therefore, in the conventional graphic display control method, the scene transition speed at the time of executing the animation display depends on the hardware that realizes the graphic display control method (the hardware used to execute the graphic display control method). ) Depending on the performance (processing speed, etc.). For example, when a certain graphic display control method is realized by hardware A, it is assumed that 30 scenes can be displayed per second. At this time, when the graphic display control method is realized by hardware B whose processing speed is ten times slower than hardware A, only three scenes can be displayed per second. When the graphic display control method is realized by hardware C whose processing speed is 10 times faster than hardware A, the execution of animation display of 300 scenes is completed in one second.

【0017】[0017]

【発明が解決しようとする課題】上述した従来の図形表
示制御方式では、アニメーション表示を実行する時のシ
ーンの移行速度がハードウェアの性能によって固定的に
決まってしまうので、以下に示すような欠点があった。
In the above-described conventional graphic display control method, the transition speed of the scene when executing the animation display is fixedly determined by the performance of the hardware. was there.

【0018】 当該図形表示制御方式が低速なハード
ウェア上で実現される場合には、各シーンのアニメーシ
ョン表示に要する時間が多大になる。したがって、アニ
メーションの動きが人間の目の許容を越えた遅い動きに
なってしまう。また、例えば、計測装置を使って一定時
間間隔でデータを常時取り込んでそのデータ(計測デー
タ)をアニメーション表示する際には、一定時間内での
描画処理の完了が保証されないので、最悪の場合には計
測データの取込みに失敗することとなる。
When the graphic display control method is realized on low-speed hardware, the time required for displaying an animation of each scene increases. Therefore, the motion of the animation is slower than the human eye allows. In addition, for example, when data is constantly captured using a measuring device at fixed time intervals and the data (measurement data) is displayed as an animation, the completion of the drawing process within a certain time is not guaranteed. Will fail to capture measurement data.

【0019】 当該図形表示制御方式が高速なハード
ウェア上で実現される場合には、アニメーション表示の
速度が人間の目にはとても追いつけない速さとなる。
When the graphic display control method is realized on high-speed hardware, the speed of animation display is too high for human eyes.

【0020】本発明の目的は、上述の点に鑑み、ハード
ウェアの性能に依存しない一定速度でのアニメーション
表示が可能となる図形表示制御方式を提供することにあ
る。
An object of the present invention is to provide a graphic display control method capable of displaying an animation at a constant speed independent of hardware performance in view of the above points.

【0021】[0021]

【課題を解決するための手段】本発明の図形表示制御方
式は、各図形の描画命令を優先順位を設定した上で格納
する描画命令格納部と、各シーンの動きデータを外部の
データ供給元から入力して前記描画命令格納部にセット
する動きデータ入力部と、1シーンに対応する描画処理
の経過時間を監視し、当該経過時間が監視間隔時間を超
過した場合にタイマ割込みを発行するタイマ監視部と、
前記動きデータ入力部により入力された動きデータに基
づいて前記描画命令格納部内の各描画命令を優先順位の
順で実行し、1シーンに対応する全ての描画命令の実行
が終了した場合には処理停止状態にし、前記タイマ監視
部によりタイマ割込みが発行された場合には1シーンに
対応する描画処理を終了させる描画命令実行部と、この
描画命令実行部による描画命令の実行に基づいて画面上
の図形の表示を行う表示装置とを有する。
According to the graphic display control method of the present invention, a drawing command storage unit for storing drawing commands of each figure after setting priorities, and storing motion data of each scene in an external data source. A motion data input unit for inputting data from the CPU and setting it in the drawing command storage unit; and a timer for monitoring an elapsed time of a drawing process corresponding to one scene and issuing a timer interrupt when the elapsed time exceeds a monitoring interval time. A monitoring unit,
Each drawing command in the drawing command storage unit is executed in the order of priority based on the motion data input by the motion data input unit, and processing is performed when execution of all drawing commands corresponding to one scene is completed. A rendering command execution unit for terminating a rendering process and terminating a rendering process corresponding to one scene when a timer interrupt is issued by the timer monitoring unit; A display device for displaying graphics.

【0022】[0022]

【作用】本発明の図形表示制御方式では、描画命令格納
部が各図形の描画命令を優先順位を設定した上で格納
し、動きデータ入力部が各シーンの動きデータを外部の
データ供給元から入力して前記描画命令格納部にセット
し、タイマ監視部が1シーンに対応する描画処理の経過
時間を監視し当該経過時間が監視間隔時間を超過した場
合にタイマ割込みを発行し、表示装置が描画命令実行部
による描画命令の実行に基づいて画面上の図形の表示を
行い、描画命令実行部が以下の〜の処理を行う。 動きデータ入力部により入力された動きデータに基
づいて、描画命令格納部内の各描画命令を優先順位の順
で実行する。 1シーンに対応する全ての描画命令の実行が終了し
た場合に、処理停止状態にする。 タイマ監視部によりタイマ割込みが発行された場合
に、1シーンに対応する描画処理を終了させる。
According to the graphic display control method of the present invention, the drawing command storage unit stores the drawing commands of each figure after setting their priorities, and the motion data input unit transmits the motion data of each scene from an external data source. The timer monitoring unit monitors the elapsed time of the rendering process corresponding to one scene, and issues a timer interrupt when the elapsed time exceeds the monitoring interval time. The drawing on the screen is displayed based on the execution of the drawing command by the drawing command execution unit, and the drawing command execution unit performs the following processes (1) to (4). Each drawing command in the drawing command storage is executed in the order of priority based on the motion data input from the motion data input unit. When the execution of all the drawing commands corresponding to one scene is completed, the processing is stopped. When a timer interrupt is issued by the timer monitoring unit, the drawing process corresponding to one scene is ended.

【0023】[0023]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
Next, the present invention will be described in detail with reference to the drawings.

【0024】図1は、本発明の一実施例に係る図形表示
制御方式の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a graphic display control system according to one embodiment of the present invention.

【0025】本実施例の図形表示制御方式は、描画命令
格納部1と、動きデータ入力部2と、描画命令実行部3
と、タイマ監視部4と、表示装置5とを含んで構成され
ている。
The graphic display control method according to the present embodiment includes a drawing command storage unit 1, a motion data input unit 2, a drawing command execution unit 3,
, A timer monitoring unit 4 and a display device 5.

【0026】図2は、本実施例の図形表示制御方式の処
理を示す流れ図である。この処理は、タイマセットステ
ップ201と、カウンタセットステップ202と、動き
データセットステップ203と、表示図形削除ステップ
204と、描画命令実行ステップ205と、描画終了判
定ステップ206と、処理停止ステップ207と、タイ
マ割込み処理ステップ208と、中断処理ステップ20
9と、シーン終了判定ステップ210とからなる。
FIG. 2 is a flowchart showing the processing of the graphic display control method according to this embodiment. This processing includes a timer setting step 201, a counter setting step 202, a motion data setting step 203, a display graphic deletion step 204, a drawing command execution step 205, a drawing end determination step 206, a processing stop step 207, Timer interrupt processing step 208 and interruption processing step 20
9 and a scene end determination step 210.

【0027】図3は、本実施例の図形表示制御方式にお
ける描画命令格納部1の構成と、その内容の一例とを示
す図である。描画命令格納部1は、命令列格納テーブル
11と、各図形描画命令の内容を記述した描画パラメー
タを格納する描画パラメータ格納領域の集合である描画
パラメータブロック12とから構成されている。
FIG. 3 is a diagram showing the configuration of the drawing command storage unit 1 in the graphic display control system of this embodiment and an example of its contents. The drawing command storage unit 1 includes a command string storage table 11 and a drawing parameter block 12 that is a set of drawing parameter storage areas for storing drawing parameters describing the contents of each figure drawing command.

【0028】命令列格納テーブル11は、各図形につい
て、レコード番号,図形名,優先順位および描画パラメ
ータ格納領域アドレスからなるレコードを有している。
ここで、「優先順位」とは、図形の表示の優先度(当該
図形に対応する描画命令の実行の優先度)を示す情報を
いう(ここでは、値が小さいほど優先度が高いことを示
している)。
The instruction string storage table 11 has a record for each figure, the record including a record number, a figure name, a priority, and a drawing parameter storage area address.
Here, the “priority” refers to information indicating a display priority of a graphic (an execution priority of a drawing command corresponding to the graphic) (here, a smaller value indicates a higher priority). ing).

【0029】描画パラメータブロック12は、位置およ
び形状データを含む描画パラメータ格納領域を有してい
る。なお、ここでは、動的図形(自動車)の「位置」の
エリア内のデータが動きデータに該当する。
The drawing parameter block 12 has a drawing parameter storage area including position and shape data. Here, the data in the area of the “position” of the dynamic graphic (vehicle) corresponds to the motion data.

【0030】図3に示す描画命令格納部1には図4の画
面に対応する情報が設定されており、命令列格納テーブ
ル11は7個のレコード(自動車,道路,家,山,土
地,太陽および木の各図形に対応するレコード)を有し
ている。
Information corresponding to the screen of FIG. 4 is set in the drawing command storage unit 1 shown in FIG. 3, and the command sequence storage table 11 stores seven records (car, road, house, mountain, land, sun). And records corresponding to each figure of the tree).

【0031】図4は、本実施例の図形表示制御方式の制
御によって表示される画面の一例を示す図である。
FIG. 4 is a diagram showing an example of a screen displayed by the control of the graphic display control method according to the present embodiment.

【0032】図5は、本実施例の図形表示制御方式の動
作を説明するための図である。
FIG. 5 is a diagram for explaining the operation of the graphic display control method according to the present embodiment.

【0033】次に、このように構成された本実施例の図
形表示制御方式の動作について説明する。なお、ここで
は、図4に示す画面(自動車,道路,家,山,土地,太
陽および木からなるアニメーション画面)が表示される
場合の動作について説明する。先にも述べたように、こ
のアニメーション画面では、「自動車」が動きのある図
形(動的図形)として扱われる。
Next, the operation of the graphic display control system according to the present embodiment configured as described above will be described. Here, the operation in the case where the screen shown in FIG. 4 (animation screen including cars, roads, houses, mountains, land, the sun, and trees) is displayed will be described. As described above, in this animation screen, "automobile" is treated as a moving figure (dynamic figure).

【0034】アニメーション表示の処理に先立って、あ
らかじめ、描画命令格納部1内の命令列格納テーブル1
1中の各レコードが優先順位によってソートされる。こ
のようなソート処理は、描画命令の実行速度を向上させ
るために行われるものである。ただし、このようなソー
ト処理があらかじめ行われなくても、本発明を実現する
ことは可能である(「優先順位」の情報が各レコード中
に存在しさえすれば、描画命令の実行順序の認識は可能
となるからである)。
Prior to the animation display processing, an instruction string storage table 1 in the drawing instruction storage 1
Each record in 1 is sorted by priority. Such a sort process is performed to improve the execution speed of the drawing command. However, it is possible to realize the present invention even if such sort processing is not performed in advance (as long as the information of “priority” exists in each record, the execution order of the drawing command is recognized. Is possible).

【0035】アニメーション表示の処理が開始される
と、以下のような処理が行われる(図2参照)。
When the animation display processing is started, the following processing is performed (see FIG. 2).

【0036】まず、タイマ監視部4は、1シーンに対応
する描画処理の経過時間を監視するための基準となる時
間(監視間隔時間T)を設定する(タイマセットを行
う)(ステップ201)。本実施例では、1秒間に30
回シーンを更新する場合(1秒間に30シーンを表示す
る場合)を想定し、Tとして33ミリ秒が設定される。
なお、33ミリ秒という値は、あくまでも一例である
が、一般的な目安となる値であると考えられる。
First, the timer monitoring unit 4 sets a reference time (monitoring interval time T) for monitoring the elapsed time of the drawing process corresponding to one scene (performs timer setting) (step 201). In this embodiment, 30 seconds per second
Assuming a case where a scene is updated twice (a case where 30 scenes are displayed per second), 33 ms is set as T.
Note that the value of 33 milliseconds is merely an example, but is considered to be a general guideline.

【0037】また、描画命令実行部3は、動きデータの
入力回数(シーンの更新回数)をカウントするためのシ
ーンカウンタSを初期設定する(カウンタセットを行
う)(ステップ202)。すなわち、Sとして0が設定
される。
Further, the drawing command execution section 3 initializes a scene counter S for counting the number of motion data inputs (the number of scene updates) (performs counter setting) (step 202). That is, 0 is set as S.

【0038】以上のような初期設定が行われていること
を前提として、動きデータ入力部2は、外部のデータ供
給元(例えば、計測装置)から取り込んだ1シーン分の
動きデータを描画命令格納部1内の描画パラメータブロ
ック12にセットする(ステップ203)。すわなち、
この場合には、図形「自動車」の位置データが、描画パ
ラメータブロック12内の「自動車」に対応する描画パ
ラメータ格納領域中の「位置」のエリアにセットされ
る。
Assuming that the above initial settings have been made, the motion data input unit 2 stores the motion data for one scene fetched from an external data source (for example, a measuring device) into a drawing command. It is set in the drawing parameter block 12 in the unit 1 (step 203). That is,
In this case, the position data of the figure “car” is set in the “position” area in the drawing parameter storage area corresponding to “car” in the drawing parameter block 12.

【0039】次に、描画命令実行部3は、現在表示装置
5の画面上に表示されている図形(前シーンの図形)を
いったん全て削除する(ステップ204)。
Next, the drawing command execution unit 3 temporarily deletes all the graphics (graphics of the previous scene) currently displayed on the screen of the display device 5 (step 204).

【0040】また、描画命令実行部3は、描画命令格納
部1から描画命令を1つ読み込んで実行する(ステップ
205)。この描画命令の実行によって、表示装置5の
画面上には、当該描画命令に対応する図形が表示され
る。
The drawing command execution unit 3 reads one drawing command from the drawing command storage unit 1 and executes it (step 205). By executing the drawing command, a graphic corresponding to the drawing command is displayed on the screen of the display device 5.

【0041】次に、描画命令実行部3は、1つの描画命
令の実行が終了すると、そのシーンにおける全ての描画
命令の実行が終了したか否かを判定する(描画終了判定
を行う)(ステップ206)。
Next, when the execution of one drawing command is completed, the drawing command execution unit 3 determines whether or not the execution of all drawing commands in the scene has been completed (performs a drawing completion determination) (step S1). 206).

【0042】描画命令実行部3は、ステップ206で
「全ての描画命令の実行が終了していない(描画未終
了)」と判定した場合には、次の描画命令を実行するた
めに、ステップ205に制御を戻す。
If it is determined in step 206 that the execution of all drawing commands has not been completed (drawing has not been completed), the drawing command execution unit 3 executes step 205 to execute the next drawing command. Return control to

【0043】一方、描画命令実行部3は、ステップ20
6で「全ての描画命令の実行が終了した(描画終了)」
と判定した場合には、1シーン分の描画が完了したとし
て、本実施例の図形表示制御方式を処理停止状態(ステ
ップ205および206によるループを抜けて処理を一
時的に停止させている状態)にする(ステップ20
7)。
On the other hand, the drawing command execution unit 3 determines in step 20
Step 6: "Execution of all drawing commands is completed (drawing completed)"
When it is determined that the drawing for one scene has been completed, the graphic display control method of the present embodiment is in a processing stopped state (a state in which the processing is temporarily stopped after exiting the loop of steps 205 and 206). (Step 20
7).

【0044】ところで、タイマ監視部4は、そのシーン
における描画処理の経過時間を常に監視しており、描画
処理の経過時間が監視間隔時間Tを超過した時に強制的
にタイマ割込み処理を実行する(ステップ208)。す
なわち、上述した1シーン分の描画処理(ステップ20
3〜206)の実行中であっても、処理停止状態(ステ
ップ207)であっても、その時点で、描画命令実行部
3に対してタイマ割込みを発行する。
The timer monitoring unit 4 always monitors the elapsed time of the drawing process in the scene, and forcibly executes the timer interrupt process when the elapsed time of the drawing process exceeds the monitoring interval time T ( Step 208). That is, the above-described drawing processing for one scene (step 20)
3 to 206) or a process stop state (step 207), a timer interrupt is issued to the drawing command execution unit 3 at that time.

【0045】描画命令実行部3は、タイマ監視部4によ
って発行されたタイマ割込みを受けると、そのシーンの
描画処理を終了させ、シーンカウンタSの値に1を加え
る(中断処理を行う)(ステップ209)。
When receiving the timer interrupt issued by the timer monitoring unit 4, the drawing command execution unit 3 ends the drawing process of the scene and adds 1 to the value of the scene counter S (performs the interruption process) (step). 209).

【0046】これによって、描画処理の実行中(ステッ
プ203〜206)であっても、そのシーンの描画処理
は途中で終了することになる。例えば、図4に示す画面
に係るシーンの表示に際して、山を描画した時点で監視
間隔時間Tが経過した場合には、優先順位が1または2
である自動車,道路,家および山だけが表示された状態
で描画処理が終了し、その時点の表示画面は図5に示す
ようになる。
As a result, even if the drawing process is being executed (steps 203 to 206), the drawing process for the scene ends in the middle. For example, when displaying the scene on the screen shown in FIG. 4, if the monitoring interval time T has elapsed at the time when the mountain is drawn, the priority order is 1 or 2
The drawing process ends with only the car, road, house, and mountain being displayed, and the display screen at that time is as shown in FIG.

【0047】次に、動きデータ入力部2は、表示すべき
全てのシーンの表示が終了したか否かを判定する(シー
ン終了判定を行う)(ステップ210)。この判定は、
シーンカウンタSの値が全シーンの数に達しているか否
かの判定によって行われる。
Next, the motion data input unit 2 determines whether display of all scenes to be displayed has been completed (performs a scene end determination) (step 210). This judgment is
This is performed by determining whether or not the value of the scene counter S has reached the number of all scenes.

【0048】動きデータ入力部2は、ステップ210で
「全てのシーンの表示が終了した(全シーン終了)」と
判定した場合には、今回のアニメーション表示の処理を
終了させる。
If it is determined in step 210 that "display of all scenes has been completed (end of all scenes)", the motion data input unit 2 terminates the current animation display processing.

【0049】一方、動きデータ入力部2は、ステップ2
10で「表示すべきシーンが残っている(全シーン未終
了)」と判定した場合には、次のシーンにおける1シー
ン分の「動きデータセット」の処理(ステップ203)
に制御を移し、アニメーション表示の処理を継続させ
る。
On the other hand, the motion data input unit 2
If it is determined in step 10 that "there are scenes to be displayed (all scenes have not been completed)", the process of "motion data set" for one scene in the next scene (step 203)
And control of the animation display is continued.

【0050】以上説明したように、各シーンにおける描
画処理は、全描画命令の実行が完了するにせよ中断する
にせよ、必ず指定された監視間隔時間Tの経過時に終了
することになる。すなわち、本実施例の図形表示制御方
式が低速なハードウェア上で実現される場合には、ステ
ップ209の中断処理で、ステップ205および206
のループの繰返し処理中であってもそのシーンにおける
描画処理を終了させることによって、ハードウェアの性
能にかかわらず一定時間(監視間隔時間T)で次のシー
ンに強制的に移行するように制御される。また、当該図
形表示制御方式が高速なハードウェア上で実現される場
合には、ステップ207の処理停止状態への移行が行わ
れることによって、ハードウェアの性能にかかわらず一
定時間(監視間隔時間T)が経過するまでは次のシーン
に移行しないように制御される。
As described above, the drawing process in each scene always ends when the designated monitoring interval time T has elapsed, whether the execution of all drawing commands is completed or interrupted. That is, when the graphic display control method of this embodiment is realized on low-speed hardware, the interruption processing of step 209 causes the interruption processing of steps 205 and 206 to be performed.
Even during the repetitive processing of the loop, the drawing process in the scene is terminated, so that the control is forcibly shifted to the next scene in a fixed time (monitoring interval time T) regardless of the performance of the hardware. You. Further, when the graphic display control method is realized on high-speed hardware, the transition to the processing stop state in step 207 is performed, so that a fixed time (monitoring interval time T) regardless of the performance of hardware. ) Is controlled so as not to shift to the next scene until elapse.

【0051】[0051]

【発明の効果】以上説明したように本発明は、タイマ監
視部による各シーンにおける描画処理の経過時間の監視
と、各描画命令に対する実行の優先順位の設定とによ
り、ハードウェアの性能に依存しない一定速度(適正な
速度)でのアニメーション表示が可能になるという効果
を有する。
As described above, the present invention does not depend on the performance of hardware by monitoring the elapsed time of the drawing process in each scene by the timer monitoring unit and setting the execution priority for each drawing command. This has the effect that animation display at a constant speed (appropriate speed) becomes possible.

【0052】すなわち、本発明の図形表示制御方式が低
速なハードウェア上で実現される場合には、一定時間
(監視間隔時間)で1シーンの表示を打ち切ることによ
り、アニメーション表示の高速化を実現することができ
る。しかも、「1シーンの表示の打切り」に際して、優
先順位の低い描画命令の実行が省略されるので、重要な
図形が表示された上で上述の「アニメーション表示の高
速化」を実現することができる。
That is, when the graphic display control method of the present invention is realized on low-speed hardware, the display of one scene is stopped at a fixed time (monitoring interval time), thereby realizing high-speed animation display. can do. In addition, at the time of "cutting off the display of one scene", the execution of the drawing command with a low priority is omitted, so that the above-described "speed-up of animation display" can be realized after an important graphic is displayed. .

【0053】また、本発明の図形表示制御方式が高速な
ハードウェア上で実現される場合には、1シーンの描画
処理が監視間隔時間内に終了したときに一時的に処理停
止状態となるので、アニメーション表示の低速化(適正
化または可視化)を実現することができる。
When the graphic display control method of the present invention is realized on high-speed hardware, the processing is temporarily stopped when the rendering processing of one scene is completed within the monitoring interval time. In addition, the speed of animation display can be reduced (optimized or visualized).

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

【図1】本発明の一実施例に係る図形表示制御方式の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a graphic display control method according to an embodiment of the present invention.

【図2】図1に示す図形表示制御方式の処理を示す流れ
図である。
FIG. 2 is a flowchart showing processing of the graphic display control method shown in FIG.

【図3】図1中の描画命令格納部の構成を示す図であ
る。
FIG. 3 is a diagram illustrating a configuration of a drawing command storage unit in FIG. 1;

【図4】図1に示す図形表示制御方式の制御によって表
示される画面の一例を示す図である。
FIG. 4 is a diagram showing an example of a screen displayed by control of the graphic display control method shown in FIG.

【図5】図1に示す図形表示制御方式の動作を説明する
ための図である。
FIG. 5 is a diagram for explaining an operation of the graphic display control method shown in FIG. 1;

【図6】従来の図形表示制御方式の一例の構成を示すブ
ロック図である。
FIG. 6 is a block diagram showing a configuration of an example of a conventional graphic display control method.

【図7】図6に示す図形表示制御方式の処理を示す流れ
図である。
FIG. 7 is a flowchart showing processing of the graphic display control method shown in FIG. 6;

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

1 描画命令格納部 2 動きデータ入力部 3 描画命令実行部 4 タイマ監視部 5 表示装置 11 命令列格納テーブル 12 描画パラメータブロック REFERENCE SIGNS LIST 1 drawing command storage unit 2 motion data input unit 3 drawing command execution unit 4 timer monitoring unit 5 display device 11 command string storage table 12 drawing parameter block

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各図形の描画命令を優先順位を設定した
上で格納する描画命令格納部と、 各シーンの動きデータを外部のデータ供給元から入力し
て前記描画命令格納部にセットする動きデータ入力部
と、 1シーンに対応する描画処理の経過時間を監視し、当該
経過時間が監視間隔時間を超過した場合にタイマ割込み
を発行するタイマ監視部と、 前記動きデータ入力部により入力された動きデータに基
づいて前記描画命令格納部内の各描画命令を優先順位の
順で実行し、1シーンに対応する全ての描画命令の実行
が終了した場合には処理停止状態にし、前記タイマ監視
部によりタイマ割込みが発行された場合には1シーンに
対応する描画処理を終了させる描画命令実行部と、 この描画命令実行部による描画命令の実行に基づいて画
面上の図形の表示を行う表示装置とを有することを特徴
とする図形表示制御方式。
1. A drawing command storage unit for storing a drawing command of each figure after setting a priority, and a motion for inputting motion data of each scene from an external data source and setting the data in the drawing command storage unit A data input unit, a timer monitoring unit that monitors an elapsed time of the drawing process corresponding to one scene, and issues a timer interrupt when the elapsed time exceeds a monitoring interval time; Each drawing command in the drawing command storage unit is executed in the order of priority based on the motion data. When execution of all drawing commands corresponding to one scene is completed, the process is stopped, and the timer monitoring unit sets A drawing command execution unit for terminating a drawing process corresponding to one scene when a timer interrupt is issued; and a graphic on the screen based on execution of the drawing command by the drawing command execution unit. Graphic display control method characterized by having a display device for performing display.
【請求項2】 図形名,優先順位および描画パラメータ
格納領域アドレスを含むレコードからなる命令列格納テ
ーブルと、各図形に対応する描画パラメータ格納領域か
らなる描画パラメータブロックとを備える描画命令格納
部を有することを特徴とする請求項1記載の図形表示制
御方式。
2. A drawing command storage unit including a command string storage table including records including a graphic name, a priority order, and a drawing parameter storage area address, and a drawing parameter block including a drawing parameter storage area corresponding to each figure. 2. The graphic display control method according to claim 1, wherein:
【請求項3】 優先順位によるソート処理があらかじめ
行われたレコード群を格納する描画命令格納部を有する
ことを特徴とする請求項1記載の図形表示制御方式。
3. The graphic display control method according to claim 1, further comprising a drawing command storage unit for storing a group of records that have been sorted in advance by priority.
【請求項4】 タイマ監視部による監視で使用される監
視間隔時間が33ミリ秒であることを特徴とする請求項
1記載の図形表示制御方式。
4. The graphic display control method according to claim 1, wherein a monitoring interval time used for monitoring by the timer monitoring unit is 33 milliseconds.
JP6174703A 1994-07-04 1994-07-04 Graphic display control method Expired - Fee Related JP2663868B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6174703A JP2663868B2 (en) 1994-07-04 1994-07-04 Graphic display control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6174703A JP2663868B2 (en) 1994-07-04 1994-07-04 Graphic display control method

Publications (2)

Publication Number Publication Date
JPH0816810A JPH0816810A (en) 1996-01-19
JP2663868B2 true JP2663868B2 (en) 1997-10-15

Family

ID=15983192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6174703A Expired - Fee Related JP2663868B2 (en) 1994-07-04 1994-07-04 Graphic display control method

Country Status (1)

Country Link
JP (1) JP2663868B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5008714B2 (en) 2009-12-15 2012-08-22 三菱電機株式会社 Image generating apparatus and image generating method
JP2015045730A (en) * 2013-08-28 2015-03-12 株式会社リコー Image display device, image display system, image display control method, and image display control program

Also Published As

Publication number Publication date
JPH0816810A (en) 1996-01-19

Similar Documents

Publication Publication Date Title
JPH0772826B2 (en) Method for operating display device and device for controlling operation of liquid crystal display device
US5027291A (en) Application exit for potentially pickable primitives in a graphics system
JP2663868B2 (en) Graphic display control method
CA2270705A1 (en) Display technique for three dimensional virtual reality
US5621431A (en) Animation system having variable video display rate
US6677955B1 (en) Image processing method and image processing apparatus
JPH06187089A (en) Scroll control method
US12141614B2 (en) Scene entity processing using flattened list of sub-items in computer game
JP2552096B2 (en) Display control device and method thereof
JPH11149283A (en) Multi-display synchronization method
JPH11338456A (en) Map display system and image scroll processing method in it
JPH0535837A (en) Cut data editing method in window system with cut and paste function
JP3207333B2 (en) Programmable controller
JP2682826B2 (en) Graphic display method in graphic processing device
JPH01191269A (en) Image controller
JP2747055B2 (en) Graphic display device
JPH0816809A (en) Drawing system
JP2000194671A (en) Autonomous object control system
JPH11327736A (en) Image processing apparatus and control method thereof, computer readable memory
CN120950164A (en) A method, device, vehicle, and storage medium for controlling a function shortcut bar display.
JPH06259574A (en) Graphic rendering system
KR950001587B1 (en) How to display screen buffer contents in a real text window
JPH0743739B2 (en) Automatic wiring processing execution system
JPH0588662A (en) Re-display system in display function of cad
JPH08286602A (en) Map display device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080620

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090620

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100620

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees