JP4166207B2 - Animation playback device and animation playback program - Google Patents
Animation playback device and animation playback program Download PDFInfo
- Publication number
- JP4166207B2 JP4166207B2 JP2004292911A JP2004292911A JP4166207B2 JP 4166207 B2 JP4166207 B2 JP 4166207B2 JP 2004292911 A JP2004292911 A JP 2004292911A JP 2004292911 A JP2004292911 A JP 2004292911A JP 4166207 B2 JP4166207 B2 JP 4166207B2
- Authority
- JP
- Japan
- Prior art keywords
- animation
- reproduction
- time
- unit
- information
- 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
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
Description
本発明は、アニメーションを再生表示させるアニメーション再生装置及びアニメーション再生プログラムに関する。 The present invention relates to an animation playback apparatus and animation playback program for playing back and displaying animation.
コンピュータを用いたアニメーションの再生は、時系列中の再生に必要なすべてのフレームのフレーム画像データを事前に作成しておいて再生するのではなく、キーとなる時刻におけるフレームいわゆるキーフレームのキーフレーム画像データのみを事前に作成しておき、キーフレーム画像データを基にして、キーフレームとキーフレーム間にあるべきフレームのフレーム画像データを実時間で生成してアニメーションを再生する。
フレーム画像データとは、特定時間における表示部に表示される画像データのことであり、静止画像データである。時間毎に変化するフレーム画像データをつないで表示させることにより、静止画像が動画像となりアニメーションが再生される。
なお、キーフレーム画像データは、キーとなる時刻におけるフレームいわゆるキーフレームの画像データであり、キーフレーム画像データによるアニメーション再生では、アニメーション再生に必要なすべての静止画像データいわゆる必要なすべてのフレーム画像データを事前に作成する必要はない。キーフレーム画像データによるアニメーション再生では、キーフレーム画像データのみを事前に作成しておき、キーフレームとキーフレーム間にあるべきフレームのフレーム画像データを、そのフレーム画像データの前後にあるキーフレーム画像データを基にして、所定の補完演算を実施して作成し表示再生する。
また、キーフレーム画像データは、フレーム画像データと同様に静止画像データであり、再生時刻を特定する情報と再生時刻にフレームに表示される図形を特定する図形情報とを含む情報で実施される場合もある。
Animation playback using a computer does not create and play frame image data of all frames necessary for playback in time series in advance, but rather frames at key times, so-called key frames of key frames Only the image data is created in advance, and based on the key frame image data, the frame image data of the frame that should be between the key frames is generated in real time to reproduce the animation.
The frame image data is image data displayed on the display unit at a specific time, and is still image data. By connecting and displaying frame image data that changes with time, a still image becomes a moving image and an animation is reproduced.
The key frame image data is image data of a so-called key frame at a key time. In animation reproduction using key frame image data, all still image data necessary for animation reproduction, so-called all necessary frame image data. There is no need to create in advance. In animation playback using key frame image data, only the key frame image data is created in advance, and the frame image data of the frame that should be between the key frames is displayed as key frame image data before and after the frame image data. Based on the above, a predetermined complementary operation is performed to create, display and reproduce.
Further, the key frame image data is still image data like the frame image data, and is implemented by information including information for specifying the reproduction time and graphic information for specifying the graphic displayed in the frame at the reproduction time. There is also.
従来のキーフレーム画像情報を用いた方法では以下の(1)から(5)を繰り返すことでアニメーション再生を実現している。
(1)予め複数のキーフレーム情報をメモリ等の記憶部に準備する。
(2)現在の表示時刻を取得する。
(3)現在の表示時刻の前後の2つのキーフレーム画像情報を選択する。
(4)2つのキーフレーム画像情報に含まれる図面情報の間で所定の補完演算を行い、現在の表示時刻に表示されるべき図形情報を作成する。
(5)作成された現在の表示時刻に表示されるべき図形情報をフレーム画像情報として表示する。
しかしながら、従来技術は上記のように構成されており、アニメーション再生において、再生に必要な全てのキーフレーム画像情報を作成し格納しておく必要がある。
このため、アニメーション再生に必要なキーフレーム画像情報を全て作成し記憶格納しておく必要があり、記憶容量が大きくなるという問題点があった。また、特定オブジェクトの再生開始時間の変更等の変更や再生するオブジェクトの追加等の追加が発生した場合、変更する特定オブジェクトに係わる対象時間のキーフレーム画像情報全てを変更する必要があり、また追加するオブジェクトに係わる対象時間のキーフレーム画像情報全てを変更する必要があり、変更や追加が容易でないという問題点があった。
(1) A plurality of key frame information is prepared in advance in a storage unit such as a memory.
(2) The current display time is acquired.
(3) Select two pieces of key frame image information before and after the current display time.
(4) A predetermined complementary operation is performed between the drawing information included in the two key frame image information, and graphic information to be displayed at the current display time is created.
(5) The graphic information to be displayed at the current display time created is displayed as frame image information.
However, the prior art is configured as described above, and it is necessary to create and store all key frame image information necessary for reproduction in animation reproduction.
For this reason, it is necessary to create and store all key frame image information necessary for animation reproduction, resulting in a problem that the storage capacity increases. In addition, when a change such as a change in the playback start time of a specific object or an addition of an object to be played occurs, it is necessary to change all the key frame image information of the target time related to the specific object to be changed. It is necessary to change all the key frame image information of the target time related to the object to be changed, and there is a problem that it is not easy to change or add.
本発明は上記のような問題点を解決するためになされたもので、アニメーションの変更と追加を容易にすることと記憶容量を少なくできるようにすることとを目的とする。また、アニメーション再生において、キーフレームを使用しないでアニメーション再生を実現するアニメーション再生装置あるいはアニメーション再生プログラムを提供する。 The present invention has been made to solve the above problems, and has as its object to facilitate the change and addition of animations and to reduce the storage capacity. Also provided is an animation playback device or an animation playback program for realizing animation playback without using key frames in animation playback.
本発明のアニメーション再生装置は、特定再生時間毎にすくなくとも1種類のオブジェクトを表示する静止画像データの再生を繰り返し、アニメーション再生を行うアニメーション再生装置であって、
アニメーション再生装置は、格納部と、時間管理部と、演出テーブル対象オブジェクト判定部と、オブジェクト位置決定部と、オブジェクト選定部と、拡大縮小設定部と、画像処理テーブル生成部とを備え、
格納部は、上記アニメーション再生をオブジェクト毎に定義するオブジェクト再生定義情報を備えるアニメーション演出テーブルとオブジェクトの画像データとを記憶し、
時間管理部は、上記アニメーション再生における基準時間を設定管理し、
演出テーブル対象オブジェクト判定部は、上記アニメーション演出テーブルのオブジェクト毎に、上記基準時間におけるアニメーション再生の対象となるオブジェクトか否かを判定し、
オブジェクト位置決定部は、上記アニメーション演出テーブルの対象判定オブジェクトの上記オブジェクト再生定義情報に基づいて、上記基準時間における上記対象判定オブジェクトの再生位置を決定し、
オブジェクト選定部は、上記アニメーション演出テーブルの対象判定オブジェクトの上記オブジェクト再生定義情報に基づいて、上記基準時間において再生する上記対象判定オブジェクトのオブジェクトを選定し、
拡大縮小設定部は、上記アニメーション演出テーブルの対象判定オブジェクトの上記オブジェクト再生定義情報に基づいて、上記基準時間における上記対象判定オブジェクトの拡大縮小値を設定し、
画像処理テーブル生成部は、上記オブジェクト位置決定部で決定された再生位置と上記オブジェクト選定部で選定されたオブジェクトと上記拡大縮小設定部で設定された拡大縮小値とにより上記基準時間における画像処理テーブルを生成することを特徴とする。
The animation playback device of the present invention is an animation playback device that repeats playback of still image data that displays at least one type of object for each specific playback time, and performs animation playback.
The animation playback device includes a storage unit, a time management unit, an effect table target object determination unit, an object position determination unit, an object selection unit, an enlargement / reduction setting unit, and an image processing table generation unit,
The storage unit stores an animation presentation table including object reproduction definition information for defining the animation reproduction for each object and image data of the object,
The time management unit sets and manages the reference time for the animation playback,
The effect table target object determination unit determines, for each object in the animation effect table, whether or not the object is an object of animation reproduction at the reference time,
The object position determination unit determines the reproduction position of the target determination object at the reference time based on the object reproduction definition information of the target determination object of the animation effect table,
The object selection unit selects the object of the target determination object to be played back at the reference time based on the object playback definition information of the target determination object of the animation performance table,
The enlargement / reduction setting unit sets an enlargement / reduction value of the target determination object at the reference time based on the object reproduction definition information of the target determination object of the animation effect table,
The image processing table generating unit is configured to generate an image processing table at the reference time based on the reproduction position determined by the object position determining unit, the object selected by the object selecting unit, and the enlargement / reduction value set by the enlargement / reduction setting unit. Is generated.
上記アニメーション再生装置は、さらに、画像処理部と、表示部とを備え、
画像処理部は、上記基準時間における画像処理テーブルに基づいて、選定オブジェクトのオブジェクト画像データを格納部より取得し、取得したオブジェクト画像データを設定拡大縮小値に従い拡大縮小し、拡大縮小された取得オブジェクト画像データを決定再生位置に設定して上記基準時間におけるオブジェクト再生画像データを生成し、上記対象判定オブジェクト毎に生成したオブジェクト再生画像データを順次画像合成して上記対象判定オブジェクト全てのオブジェクト再生画像データを画像合成し、上記基準時間における対象判定オブジェクト全ての画像合成オブジェクト再生画像データを表示部に送信し、
表示部は、画像処理部より送信された上記画像合成オブジェクト再生画像データを表示することを特徴とする。
The animation playback device further includes an image processing unit and a display unit,
The image processing unit acquires the object image data of the selected object from the storage unit based on the image processing table at the reference time, scales the acquired object image data according to the set scaling value, and acquires the scaled acquired object Object reproduction image data at the reference time is generated by setting the image data as the determined reproduction position, and object reproduction image data generated for each target determination object is sequentially image-synthesized to reproduce object reproduction image data of all the target determination objects. , And send the image synthesis object reproduction image data of all the target determination objects in the reference time to the display unit,
The display unit displays the image composite object reproduction image data transmitted from the image processing unit.
上記アニメーション演出テーブルは、再生するオブジェクトの再生開始時間と再生終了時間を示す再生時間情報と、特定再生時間におけるオブジェクトの再生位置を決定するために使用するオブジェクト位置関連情報と、
特定再生時間に再生するオブジェクトを決定するオブジェクト決定情報と、
をオブジェクト毎に備えることを特徴とする。
The animation effect table includes reproduction time information indicating a reproduction start time and a reproduction end time of an object to be reproduced, object position related information used for determining a reproduction position of the object at a specific reproduction time,
Object determination information for determining an object to be played at a specific playback time;
For each object.
上記画像処理テーブルは、再生する特定再生時間を示す時間情報と、特定再生時間に再生されるオブジェクトを特定し取得先を示すオブジェクト取得情報と、上記特定した再生オブジェクトの再生位置を示す位置情報と、上記特定した再生オブジェクトの拡大縮小の度合を示す拡大縮小値情報とを備えることを特徴とする。 The image processing table includes time information indicating a specific reproduction time to be reproduced, object acquisition information indicating an object to be reproduced at the specific reproduction time and indicating an acquisition destination, position information indicating a reproduction position of the identified reproduction object, And enlargement / reduction value information indicating the degree of enlargement / reduction of the specified reproduction object.
本発明に係るアニメーション再生プログラムは、
特定時間毎にすくなくとも1種類のオブジェクトを表示する静止画像データの再生を繰り返し、アニメーション再生を行うアニメーション再生プログラムであって、アニメーション再生を制御するアニメーション演算テーブルを記憶する格納部を有するコンピュータに、以下の処理を実行させるためのアニメーション再生プログラムであることを特徴とする
(1)アニメーション再生の基準時間として使用する基準タイマを初期化する処理、
(2)基準タイマから現在時間を呼び出し設定する処理、
(3)アニメーション演算テーブルにおけるオブジェクト動作開始時間とオブジェクト動作終了時間と設定現在時間とを比較し、オブジェクト毎に設定現在時間がオブジェクト動作開始時間とオブジェクト動作終了時間との範囲内か否か判定する処理、
(4)設定現在時間がオブジェクト動作開始時間とオブジェクト動作終了時間との範囲内でないと判定された場合(9)へ進む処理、
(5)アニメーション演出テーブルのオブジェクト再生定義情報を用いて設定現在時間におけるオブジェクトの再生位置を求め決定する処理、
(6)アニメーション演出テーブルのオブジェクト再生定義情報を用いて設定現在時間におけるオブジェクトを選定する処理、
(7)アニメーション演出テーブルのオブジェクト再生定義情報を用いて設定現在時間におけるオブジェクトの拡大縮小値を設定する処理、
(8)決定再生位置と選定オブジェクトと設定拡大縮小値とを画像処理テーブルに書込み画像処理テーブルを生成する処理、
(9)アニメーション演出テーブルの全てのオブジェクトについて処理が完了したか否かを判定する処理、
(10)(9)において、アニメーション演出テーブルの全てのオブジェクトについて処理が完了していないと判定された場合、(3)に戻る処理、
(11)(9)において、アニメーション演出テーブルの全てのオブジェクトについて処理が完了したと判定された場合、生成画像処理テーブルに基づいて、生成画像処理テーブルの各オブジェクト毎に、選定オブジェクトのオブジェクト画像データを格納部より読込み、設定拡大縮小値に従い読込みオブジェクト画像データを拡大縮小し、決定再生位置に拡大縮小した読込みオブジェクト画像データを設定しオブジェクト再生画像データを生成し、生成画像処理テーブルの各オブジェクト毎のオブジェクト再生画像データを順次画像合成する処理、
(12)画像合成されたオブジェクト再生画像データを表示部で表示させる処理、
(13)設定現在時間とアニメーション再生の終了を示す再生時間と比較して、設定現在時間が再生時間に達していないと判定された場合、(2)に戻る処理。
An animation reproduction program according to the present invention includes:
An animation reproduction program that repeats reproduction of still image data that displays at least one type of object at a specific time and performs animation reproduction, and includes a storage unit that stores an animation calculation table that controls animation reproduction. (1) a process for initializing a reference timer used as a reference time for animation playback, wherein the program is an animation playback program for executing
(2) Calling and setting the current time from the reference timer,
(3) The object motion start time, the object motion end time, and the set current time in the animation calculation table are compared, and it is determined for each object whether the set current time is within the range of the object motion start time and the object motion end time. processing,
(4) Processing to proceed to (9) when it is determined that the set current time is not within the range of the object motion start time and the object motion end time.
(5) Processing for obtaining and determining the reproduction position of the object at the set current time using the object reproduction definition information of the animation effect table;
(6) Processing for selecting an object at the set current time using the object reproduction definition information in the animation effect table;
(7) Processing for setting an object enlargement / reduction value at the set current time using the object reproduction definition information in the animation effect table;
(8) processing for writing the determined reproduction position, the selected object, and the set enlargement / reduction value in the image processing table to generate an image processing table;
(9) Processing for determining whether or not processing has been completed for all objects in the animation performance table;
(10) In (9), if it is determined that the processing has not been completed for all objects in the animation effect table, the processing returns to (3).
(11) When it is determined in (9) that the processing has been completed for all objects in the animation effect table, the object image data of the selected object is determined for each object in the generated image processing table based on the generated image processing table. Is read from the storage unit, the read object image data is enlarged / reduced according to the set enlargement / reduction value, the read object image data enlarged / reduced is set to the determined reproduction position, and the object reproduction image data is generated, for each object of the generated image processing table. Processing to sequentially combine the object playback image data of
(12) Processing for displaying the object reproduction image data, which has been subjected to image synthesis, on the display unit;
(13) A process of returning to (2) when it is determined that the set current time has not reached the playback time compared to the set current time and the playback time indicating the end of animation playback.
本発明により、アニメーションの変更あるいは追加に関して、アニメーション演出テーブルの変更あるいは追加ですむため、少ない変更または追加情報でかつ容易に、アニメーションの変更または追加ができる。 According to the present invention, the animation production table can be changed or added with respect to the change or addition of the animation. Therefore, the animation can be changed or added easily with a small change or additional information.
実施の形態1.
図1〜図26を用いて実施の形態1を説明する。実施の形態1は、次のような実施形態である。すなわち、アニメーション再生に必要な全てのオブジェクトについて、オブジェクト毎に時間、位置、拡大縮小に係わる定義情報を備えたアニメーション演出テーブルを格納部より読み出し、アニメーション演出テーブルを再生する時間(以降、特定再生時間と称する)に基づいて、再生する対象オブジェクトを選択する。選択されたアニメーション演出テーブル内対象オブジェクトのオブジェクト情報を解読し、再生位置、再生オブジェクト、再生時の拡大縮小値を求め、オブジェクト毎の再生情報を作成する。特定再生時間に対する対象オブジェクトにおけるオブジェクト毎の再生情報から、各オブジェクト毎の表示画像を作成し、予め設定した表示画像の重ねあわせ条件に基づいて、特定再生時間に対する対象オブジェクト全てのオブジェクト表示画像を合成することでアニメーション表示画像を作成し、特定再生時間に対するアニメーション表示画像を表示部に送付し表表示する。このため、アニメーションの修正が出た場合でも、アニメーション演出テーブル上の関連するオブジェクトに係わる定義情報を変更するだけで良く、従来のように多数のキーフレーム情報を変更する必要がなくアニメーションの変更修正が容易にできる。また、アニメーションに再生のために準備する情報は、アニメーション演出テーブル及びアニメーション演出テーブル付加情報そしてアニメーション演出テーブルで使用されるオブジェクトのオブジェクト基本情報、すなわちオブジェクト画像データであり、従来のある時間毎に必要とされたキーフレーム画像情報と比べ、少ない情報でアニメーション再生が実現でき、情報に係わる記憶容量は小さくできる。
The first embodiment will be described with reference to FIGS. The first embodiment is the following embodiment. That is, for all objects required for animation reproduction, an animation production table having definition information related to time, position, and enlargement / reduction for each object is read from the storage unit, and the animation production table is reproduced (hereinafter referred to as a specific reproduction time). The target object to be reproduced is selected based on the above. The object information of the target object in the selected animation effect table is decoded, the reproduction position, the reproduction object, and the enlargement / reduction value at the time of reproduction are obtained, and reproduction information for each object is created. Creates a display image for each object from the playback information for each object in the target object for the specific playback time, and synthesizes the object display images of all the target objects for the specific playback time based on preset display image overlay conditions As a result, an animation display image is created, and the animation display image for a specific reproduction time is sent to the display unit and displayed in a table. For this reason, even if the animation is corrected, it is only necessary to change the definition information related to the related object on the animation production table, and there is no need to change a large number of key frame information as in the conventional case. Can be easily done. The information to be prepared for playback in the animation is the animation production table, the animation production table additional information, and the object basic information of the object used in the animation production table, that is, object image data, which is necessary at every conventional time. Compared with the key frame image information, the animation reproduction can be realized with less information, and the storage capacity related to the information can be reduced.
図1は、実施の形態1に係るアニメーション再生装置1の構成を示す図である。
1はアニメーションの再生を実行するアニメーション再生装置、2はアニメーション再生時間を全構成部について統括管理する時間管理部、12はアニメーション再生に係わるオブジェクト毎に定義するオブジェクト再生定義情報、すなわち再生時間、再生位置、再生オブジェクト、再生オブジェクトの拡大縮小に係わる情報を纏めたアニメーション演出テーブルとオブジェクト基本情報とアニメーション再生に係わる情報とを格納する格納部、3は格納部12よりアニメーション演出テーブルを読み出し時間管理部2より示された特定再生時間に従ってアニメーション演出テーブルより特定再生時間に再生すべき対象オブジェクトを判定する演出テーブル対象オブジェクト判定部、4は演出テーブル対象オブジェクト判定部3により対象オブジェクトと判定されたアニメーション演出テーブル内オブジェクト情報の情報形式を解読し情報を正しく利用できるようにする対象オブジェクトの情報形式解読部、5は対象オブジェクトの情報形式解読部4により解読されたオブジェクト情報形式に従ってアニメーション演出テーブルのオブジェクト情報よりオブジェクトの位置あるいは位置座標を決定するオブジェクト位置決定部、6は対象オブジェクトの情報形式解読部4により解読されたオブジェクト情報形式に従ってアニメーション演出テーブルのオブジェクト情報よりオブジェクトを選定するオブジェクト選定部、7は対象オブジェクトの情報形式解読部4により解読されたオブジェクト情報形式に従ってアニメーション演出テーブルのオブジェクト情報よりオブジェクトの拡大縮小値を設定する拡大縮小設定部、8はオブジェクト位置決定部5とオブジェクト選定部6と拡大縮小設定部7とにより求められたオブジェクトの位置、選定オブジェクト、オブジェクトの拡大縮小値に基づいて、特定再生時間に係わる対象オブジェクトのオブジェクト毎に再生位置、選定オブジェクト、選定オブジェクトの拡大縮小値を示す画像処理テーブルを作成する画像処理テーブル生成部、9はアニメーション演出テーブルに記載された特定再生時間における対象オブジェクト情報の処理、すなわち位置決定、オブジェクト選定、拡大縮小設定の処理について対象オブジェクトの全てのオブジェクトの処理が完了したか否かを判定する対象オブジェクト処理完了判定部、10は画像処理テーブルに基づいて、格納部12よりオブジェクト基準情報(画像データ)を読込み、拡大縮小値に従いオブジェクトを拡大縮小し、位置情報に従い表示画像データを生成し、対象オブジェクトの全てのオブジェクトの表示画像データを合成してアニメーション画像を生成する画像処理部、11は画像処理部10により生成された特定再生時間のアニメーション画像を表示する表示部である。
FIG. 1 is a diagram showing a configuration of an
次に動作について説明する。
図2はアニメーション再生装置の処理フローチャートを示す図である。図2を用いて、アニメーション再生装置1がどのようにアニメーション再生処理を実現しているかを説明する。
Next, the operation will be described.
FIG. 2 is a processing flowchart of the animation playback apparatus. With reference to FIG. 2, how the
S(ステップ)1において、アニメーション再生装置1の時間管理部2にて、アニメーション再生の基準時間として使用する基準タイマを初期化する。
S2において、時間管理部2において、基準タイマを呼び出し現在時間を設定する。
S3において、アニメーション演出テーブル対象オブジェクト判定部3にてアニメーション演算テーブル上で示されるオブジェクト毎のオブジェクト動作開始時間であるStart時間とオブジェクト動作終了時間であるEnd時間と時間管理部2の基準タイマの現在時間とを比較する。あるオブジェクト例えばオブジェクトAのStart時間及びEnd時間が 「Start時間≦現在時間<End時間」、すなわち現在時間がStart時間とEnd時間の範囲内であれば、オブジェクトAは動作すべき時間帯にいると判断し対象オブジェクトと判定する。オブジェクトAの現在時間が「Start時間≦現在時間<End時間」の範囲外、すなわち現在時間がStart時間とEnd時間の範囲外にあれば、オブジェクトAが動作すべき時間帯ではないと判断し、オブジェクトAは再生すべき対象オブジェクトではないと判定する。
In S (step) 1, the
In S2, the
In S3, the start time that is the object operation start time and the end time that is the object operation end time for each object shown on the animation calculation table in the animation effect table target
S3にてアニメーション演出テーブル対象オブジェクト判定部3があるオブジェクト例えばオブジェクトAを対象オブジェクトではないと判定した場合、S9に行く。
S3にてアニメーション演出テーブル対象オブジェクト判定部3があるオブジェクト例えばオブジェクトAを対象オブジェクトと判定した場合、S4において、対象オブジェクトの情報形式解読部4が、アニメーション演出テーブルのオブジェクトAのオブジェクト情報内にある基本動作識別情報を解読し、どこにどの情報がどのようなデータ形式であるかを示すオブジェクトAのオブジェクト情報形式を明確にする。
If it is determined in S3 that the animation effect table target
When it is determined in S3 that the animation effect table target
S5において、S4にて明確化されたあるオブジェクト例えばオブジェクトAのオブジェクト情報形式に基づき、アニメーション演出テーブルのオブジェクトAのオブジェクト情報を用いてオブジェクト位置決定部5が現在時間におけるオブジェクトAの位置を計算等で求め設定あるいは決定する。
In S5, the object
S6において、S4にて明確化されたあるオブジェクト例えばオブジェクトAのオブジェクト情報形式に基づき、アニメーション演出テーブルのオブジェクトAのオブジェクト情報を用いてオブジェクト選定部6が現在時間におけるオブジェクトを選定し決定する。
In S6, based on the object information format of a certain object clarified in S4, for example, the object A, the
S7において、S4にて明確化されたあるオブジェクト例えばオブジェクトAのオブジェクト情報形式に基づき、オブジェクトAのオブジェクト情報を用いて拡大縮小設定部7が現在時間におけるS6で選定されたオブジェクトの拡大縮小値を設定する。
In S7, based on the object information format of a certain object clarified in S4, for example, object A, the
S8において、S5、S6,S7にて設定あるいは決定されたあるオブジェクト例えばオブジェクトAに係わる位置情報、選定されたオブジェクト情報、選定されたオブジェクトの拡大縮小値情報を、現在時間における画像処理テーブルにオブジェクトAの情報として画像処理テーブル生成部8が書込み追加し生成する。
なお、対象オブジェクトについて、例えばオブジェクトA,B,C,Dというように順次、画像処理テーブルに追加されていく。
In S8, the position information, the selected object information, and the enlargement / reduction value information of the selected object set or determined in S5, S6, and S7 are stored in the image processing table at the current time. As the information of A, the image processing
The target objects are sequentially added to the image processing table, for example, objects A, B, C, and D.
S9において、現在時間におけるアニメーション演出テーブル内オブジェクト全数について処理が完了したかを対象オブジェクト処理完了判定部9が判定する。
In S9, the target object processing
S9においてアニメーション演出テーブル内オブジェクト全数について処理が完了していないと判定された場合、S3に戻る。
なお、対象オブジェクトについて、S3からS9を繰り返すことにより、S8において例えばオブジェクトA,B,C,Dというように順次に、対象オブジェクトのオブジェクト毎の位置情報、選定オブジェクト情報、拡大縮小値情報が、画像処理テーブルに追加される。
If it is determined in S9 that the processing has not been completed for all the objects in the animation effect table, the process returns to S3.
By repeating S3 to S9 for the target object, the position information, the selected object information, and the enlargement / reduction value information for each object of the target object are sequentially obtained in S8, for example, objects A, B, C, and D. Added to the image processing table.
S9においてアニメーション演出テーブル内のオブジェクト全数について処理が完了したと判定された場合、S10において、現在時間におけるS8にて生成された画像処理テーブルに基づいて、画像処理部10が、画像処理テーブルの各オブジェクト毎に、格納部12よりオブジェクト画像データ等のオブジェクト基準情報を読込み、拡大縮小値に従いオブジェクトを拡大縮小し、位置情報に従い表示画像データを生成する。同様に、画像処理テーブルの全てのオブジェクトについて順次に表示画像データを生成し、生成された表示画像データを順次に画像合成して、時間管理部2の基準タイマの現在時間におけるアニメーション画像データを生成する。
When it is determined in S9 that the processing has been completed for all the objects in the animation effect table, in S10, the
S11において、S10にて生成された、現在時間における、アニメーション画像データを画像処理部10が表示部11に送信し表示部11がアニメーション画像データを表示する。
In S11, the
S12において、現在時間と、アニメーション演出テーブルの再生時間とを比較して、現在時間が再生時間に満たなければS2に戻る。
S12において、現在時間と、アニメーション演出テーブルの再生時間とを比較して、現在時間が再生時間に達しいている場合、処理を終了する。
なお、再生時間は、アニメーション再生を終了する時間を示しており、アニメーション演出テーブルに設定された最も遅いEnd時間としてもよいし、アニメーション演出テーブルに再生時間を別途設定できるように汎用的に設定できてもよい。
また、基準タイマの現在時間については、上記特定再生時間としてもよく、同様に用いて良い。
In S12, the current time is compared with the reproduction time of the animation effect table. If the current time does not satisfy the reproduction time, the process returns to S2.
In S12, the current time is compared with the reproduction time of the animation effect table, and if the current time has reached the reproduction time, the process ends.
Note that the playback time indicates the time at which animation playback ends, and may be the latest End time set in the animation performance table, or it can be set for general use so that the playback time can be set separately in the animation performance table. May be.
Further, the current time of the reference timer may be the specific reproduction time or may be used in the same manner.
次に、オブジェクト単位に動作時間、すなわちStart時間とEnd時間、再生位置情報、選択オブジェクト情報、拡大縮小値情報等を定義することでアニメーション再生を実現できるようにしたアニメーション演出テーブルの一例を説明する。
図3はアニメーション演出テーブルの項目構成を示す図であり、図4はアニメーション演出テーブルの項目を説明したアニメーション演出テーブル項目説明図である。
Next, an example of an animation effect table in which animation playback can be realized by defining operation time, that is, Start time and End time, playback position information, selected object information, enlargement / reduction value information, etc. for each object will be described. .
FIG. 3 is a diagram showing an item structure of the animation effect table, and FIG. 4 is an animation effect table item explanatory diagram explaining items of the animation effect table.
アニメーション演出テーブルは、アニメーション基本動作の識別情報を示す基本動作識別情報、オブジェクト動作の開始時間の指定を行うStart時間、オブジェクト動作の終了時間の指定を行うEnd時間、オブジェクトを平行移動させる場合の基準座標、例えば(0,0)からのX軸の増分X値を示す基準X、オブジェクトを平行移動させる場合の基準座標、例えば(0,0)からのY軸の増分Y値を示す基準Y、オブジェクトの動作を指定時の固有情報を示す動作固有情報、、オブジェクトの種別を指定時の固有情報を示すオブジェクト種別固有情報、計算用の作業領域を示す基本動作用ワークの項目を備える。動作固有情報は例えば静止では始点座標になり、オブジェクト種別固有情報は表示切替オブジェクトの場合表示切替テーブルポインタになる。なお、基準X,基準Yについては、2次元の場合を示しているが、3次元でもn次元でも増やしてもかまわない。さらにアニメーション演出テーブルに作業領域として基本動作用ワークを設定したが、アニメーション演出テーブル上にもつ必要はなく、別途一時的あるいは専用的な作業領域をそなえてもよい。
また、動作として静止、直線移動、折線移動を示したがその他動作、例えば静止折線移動、ROUND移動、写像すなわちXY写像、円移動、楕円移動、ジグザク移動等を新たに加えたり、また現動作と変更してもよい。
さらに、オブジェクト種別として、単一オブジェクト、表示切替オブジェクト、拡大縮小オブジェクトを示したがその他のオブジェクト種別、例えば複数画像の表示を加えたり、または現オブジェクト種別と変更してもよい。
The animation effect table includes basic motion identification information indicating identification information of the basic motion of the animation, a start time for designating the start time of the object motion, an end time for designating the end time of the object motion, and a reference for moving the object in parallel. A reference X indicating an X-axis increment X value from (0, 0), for example, a reference coordinate when the object is translated, for example a reference Y indicating an Y-axis increment Y value from (0, 0), It includes items of operation unique information indicating unique information when designating an object operation, object type unique information indicating unique information when designating an object type, and a work for basic operation indicating a work area for calculation. For example, the motion-specific information is the start point coordinates when stationary, and the object-type specific information is a display switching table pointer in the case of a display switching object. The reference X and reference Y are two-dimensional, but they may be increased in three dimensions or n dimensions. Furthermore, the basic operation work is set as the work area in the animation effect table, but it is not necessary to have the work on the animation effect table, and a temporary or dedicated work area may be provided separately.
In addition, although the operations shown as stationary, linear movement, and broken line movement are shown, other movements such as stationary broken line movement, ROUND movement, mapping, that is, XY mapping, circular movement, elliptical movement, zigzag movement, etc. are newly added, and It may be changed.
Furthermore, although the single object, the display switching object, and the enlargement / reduction object are shown as the object type, other object types, for example, display of a plurality of images may be added, or may be changed to the current object type.
なお、図5は、アニメーション演出テーブルにおける基本動作識別情報により、動作固有情報、オブジェクト種別固有情報、基本動作用ワークがどのようなデータ形式でなるか示すアニメーション演出テーブルのデータ形式指示図である。アニメーション演出テーブルにおいては、基本動作識別情報、すなわち動作・オブジェクト種別により動作固有情報、オブジェクト種別固有情報、基本動作用ワークのデータ形式が決まる。
例えば、基本動作識別情報が静止・単一オブジェクトの場合、動作固有情報は始点座標を示し、オブジェクト種別は単一オブジェクト情報を示す。
また、基本動作識別情報が直線移動・表示切替オブジェクトの場合、動作固有情報は始点座標、終点座標、始点から終点までの直線の移動時間を所定時間のカウント数で示した直線カウント時間を含むことを示し、オブジェクト種別はオブジェクトの切替え内容、すなわち切り替わるオブジェクトと表示時間を所定時間のカウント数で示したカウント時間、を示す表示切り替えテーブルのアドレス情報の表示切替テーブルポインタを示し、基本動作ワーク用は、直線カウントワーク値、表示切替テーブルインデックス値、表示切替カウントワーク値を含むことを示す。ここで、直線カウントワーク値はStart時間が設定され現在時間との差分を求め現在時間における位置座標を計算するのに用いられるものである。なお、1秒が60カウントというように秒数ではなくカウント数で表示されてもよい。
表示切替テーブルインデックス値は、表示切替テーブルにおけるテーブルの列番号を示すものである。表示切替カウントワーク値は初期値として例えばStart時間が設定され、表示切替テーブルの表示切替カウント時間が順次加算されて設定され、現在時間との差分から表示切替テーブルのどのオブジェクト情報が現在時間における表示オブジェクト情報かを決めるために用いられる。
FIG. 5 is a data format instruction diagram of the animation effect table showing the data format of the motion unique information, the object type specific information, and the basic motion work according to the basic motion identification information in the animation effect table. In the animation effect table, the motion specific information, the object type specific information, and the data format of the basic motion work are determined by the basic motion identification information, that is, the motion / object type.
For example, when the basic motion identification information is a static / single object, the motion unique information indicates a start point coordinate, and the object type indicates single object information.
In addition, when the basic motion identification information is a straight line movement / display switching object, the motion specific information includes a start point coordinate, an end point coordinate, and a straight line count time indicating the moving time of the straight line from the start point to the end point in a predetermined number of counts. The object type indicates the display switching table pointer of the address information of the display switching table indicating the switching contents of the object, that is, the object to be switched and the counting time indicating the display time by the count number of the predetermined time. , Line count work value, display switching table index value, and display switching count work value. Here, the linear count work value is used to calculate a position coordinate at the current time by setting a start time and obtaining a difference from the current time. Note that one second may be displayed as a count instead of a second, such as 60 counts.
The display switching table index value indicates the column number of the table in the display switching table. The display switching count work value is set, for example, as a start time as an initial value, and the display switching count time in the display switching table is sequentially added and set, and which object information in the display switching table is displayed at the current time from the difference from the current time. Used to determine object information.
図6は図5のアニメーション演出テーブルのデータ形式を拡張したデータ形式を示す図である。アニメーション演出テーブルにおける基本動作識別情報における「動作」と「オブジェクト種別」との組み合わせをさらに多くできるようにした一例を示している。拡張として、基本動作識別情報につき、「静止・表示切替・拡大縮小オブジェクト」、「直線移動・表示切替・拡大縮小オブジェクト」、「折線移動・表示切替・拡大縮小オブジェクト」の組み合わせを示しているが、更に拡張は可能であり、「動作」と「オブジェクト種別」を更に追加することで更なる組み合わせを実現できる。 FIG. 6 is a diagram showing a data format obtained by extending the data format of the animation effect table of FIG. An example is shown in which the number of combinations of “motion” and “object type” in the basic motion identification information in the animation performance table can be increased. As an extension, for the basic motion identification information, a combination of “stationary / display switching / enlarging / reducing object”, “straight line moving / display switching / enlarging / reducing object”, and “folding line moving / display switching / enlarging / reducing object” is shown. Further expansion is possible, and further combinations can be realized by further adding “action” and “object type”.
図7は基本識別情報における識別番号と内容との対応の一例を示す図である。
アニメーション演出テーブルの基本動作識別情報は、文字情報、数字、アルファベット等識別できるものであればなんでもよい。なお、一例として、識別番号を使用する場合を説明する。
識別番号たとえば「001」を「静止・単一オブジェクト」に対応させ、アニメーション演出テーブルの基本識別情報「静止・単一オブジェクト」には「001」が設定される。アニメーション演出テーブルの基本識別情報に基づいて、対象オブジェクトの情報形式解読部4にて、図6のアニメーション演出テーブルのデータ形式指示図に示されるデータ形式を解読する場合は、基本識別情報の識別番号を図7の基本識別情報における識別番号と内容との対応図の変換表等を予め設定しておき、例えば「001」は「静止・単一オブジェクト」としてデータ形式を解読することになる。
FIG. 7 is a diagram showing an example of correspondence between identification numbers and contents in basic identification information.
The basic motion identification information of the animation effect table may be anything that can identify character information, numbers, alphabets, and the like. As an example, a case where an identification number is used will be described.
An identification number such as “001” is associated with “still / single object”, and “001” is set in the basic identification information “still / single object” of the animation effect table. When the data format shown in the data format instruction diagram of the animation presentation table in FIG. 6 is decoded by the information
図8は図7の基本識別情報における識別番号と内容との対応図を拡張した一例を示す図である。「010」と「静止・表示切替・拡大縮小オブジェクト」、「011」と「直線移動・表示切替・拡大縮小オブジェクト」、「012」と「折線移動・表示切替・拡大縮小オブジェクト」とを図7に追加した一例を示す。ここでは、3項を追加しているが、「動作」と「オブジェクト種別」の組み合わせにおいて、必要に応じていくつ追加してもよい。 FIG. 8 is a diagram showing an example of an expanded correspondence diagram between identification numbers and contents in the basic identification information of FIG. FIG. 7 shows “010” and “stationary / display switching / enlarging / reducing object”, “011” and “linear movement / display switching / enlarging / reducing object”, and “012” and “folding line moving / display switching / enlarging / reducing object”. An example added to is shown below. Here, three terms are added, but any number of combinations of “operation” and “object type” may be added as necessary.
図9は折線テーブルの一例を示す図である。折線テーブルはテーブルの列番号を示すインデックスと各インデックスに対応した位置座標と折線カウント時間よりなる。例えばインデックス1については、位置1から位置2、すなわちインデックス2の位置情報まで折線カウント時間1でオブジェクトを均等移動させるという動作を示す。折線テーブルとすなわち、折線テーブルは折線を用いてオブジェクトの移動を定義したものである。例えば、図5のアニメーション演出テーブルのデータ形式指示図における基本動作識別情報「折線移動・単一オブジェクト」において、動作固有情報が「折線テーブルポインタ」であり、「折線テーブルポインタ」が示す格納先に折線テーブルがあり、オブジェクト種別固有情報の「単一オブジェクト情報」に示される単一オブジェクトが折線テーブルに従って折線移動することを示す。
FIG. 9 is a diagram showing an example of a broken line table. The broken line table includes an index indicating a column number of the table, position coordinates corresponding to each index, and a broken line count time. For example, with respect to the
図10は表示切替テーブルの一例を示す図である。表示切替テーブルはテーブルの列番号を示すインデックスと各インデックスに対応したオブジェクト情報と表示切替カウント時間よりなる。オブジェクト情報は表示するオブジェクトを特定できる情報であり、表示切替カウント時間はオブジェクト情報を表示する時間を示す。 FIG. 10 is a diagram illustrating an example of the display switching table. The display switching table includes an index indicating a column number of the table, object information corresponding to each index, and a display switching count time. The object information is information that can specify the object to be displayed, and the display switching count time indicates the time for displaying the object information.
図11は拡大縮小テーブルの一例を示す図である。拡大縮小テーブルはテーブルの列番号を示すインデックスと各インデックスに対応した拡大縮小値と拡大縮小カウント時間よりなる。拡大縮小値は等倍、2倍、4倍、1/2倍等の倍数を示し、拡大縮小カウント値は拡大縮小させる時間を示す。例えばインデックス1の場合、拡大縮小値1から拡大縮小値2まで拡大縮小カウント値1でオブジェクトを均等変化させることを示す。 FIG. 11 shows an example of the enlargement / reduction table. The enlargement / reduction table includes an index indicating a column number of the table, an enlargement / reduction value corresponding to each index, and an enlargement / reduction count time. The enlargement / reduction value indicates a multiple such as 1 ×, 2 ×, 4 ×, or 1/2 ×, and the enlargement / reduction count value indicates the time for enlargement / reduction. For example, an index of 1 indicates that the object is uniformly changed with an enlargement / reduction count value of 1 from an enlargement / reduction value of 1 to an enlargement / reduction value of 2.
図9、図10、図11の各テーブルで指示された動作指示情報等に従い、特定再生時間におけるオブジェクトの位置決定、オブジェクトの選定、選定されたオブジェクトの拡大縮小値設定を行う。
なお、図9、図10、図11の各テーブルにおいて、ダミーのインデックスを加えているが、動作定義で必要ない場合は無くとも良い。
According to the operation instruction information instructed in the tables of FIGS. 9, 10, and 11, the position of the object at the specific reproduction time, the selection of the object, and the enlargement / reduction value setting of the selected object are performed.
Although a dummy index is added to each table in FIGS. 9, 10, and 11, it may not be necessary if it is not necessary in the operation definition.
図12は図1のオブジェクト位置決定部5の内部構成を示す図である。
オブジェクト位置決定部5はアニメーション演出テーブルの情報を用いて特定再生時間におけるオブジェクトの位置座標を求める。
FIG. 12 is a diagram showing an internal configuration of the object
The object
図1のオブジェクト位置決定部5は、特定再生時間における対象オブジェクトの位置座標を計算する位置計算部122とアニメーション演出テーブルから対象オブジェクトの位置計算に必要なパラメータを読込む演出テーブル位置計算パラメータ読込部121を備え、位置計算部122には、動作別に静止動作に係わる位置を計算する静止位置計算部1221と、直線移動動作に係わる位置座標を計算する直線移動位置計算部1222と、折線移動動作に係わる位置座標を計算する折線移動位置計算部1223が備わる。なお、動作に関して、静止、直線移動、折線移動の3種につき説明したが、動作の種類をふやしてもよく、より汎用的に対象オブジェクトの位置計算を行えるようにしてもよい。
The object
次にオブジェクト位置決定部5の動作について説明する。
図17は対象オブジェクトの位置計算処理を示すフローチャートである。
Next, the operation of the object
FIG. 17 is a flowchart showing the target object position calculation processing.
S171において、アニメーション演出テーブルの基本動作識別情報に従い、オブジェクトの表示位置設定に必要なパラメータをアニメーション演出テーブルより読込む。具体的には演出テーブル位置計算パラメータ読込部121がアニメーション演出テーブルより対象オブジェクトの位置計算に必要なパラメータを読込む。 In S171, parameters necessary for setting the display position of the object are read from the animation effect table according to the basic motion identification information of the animation effect table. Specifically, the effect table position calculation parameter reading unit 121 reads parameters necessary for calculating the position of the target object from the animation effect table.
S172において、アニメーション演出テーブルの基本動作識別情報に従い、動作で静止、直線、折線の3種に分け、予め設定した位置計算式とS171で読込んだパラメータに基づいて位置座標を計算し設定する。具体的には、位置計算部122において、動作に応じて、静止ならば静止位置計算部1221、直線ならば直線位置計算部1222、折線ならば折線位置計算部1223が選択され、演出テーブル位置計算パラメータ読込部121が読込んだ位置計算に必要なパラメータを用いて計算し位置座標を設定する。 In S172, according to the basic motion identification information in the animation effect table, the motion is divided into three types, stationary, straight line, and broken line, and the position coordinates are calculated and set based on the preset position calculation formula and the parameters read in S171. Specifically, the position calculation unit 122 selects the stationary position calculation unit 1221 if it is stationary, the straight line position calculation unit 1222 if it is a straight line, or the broken line position calculation unit 1223 if it is a broken line, depending on the operation. Calculation is performed using parameters necessary for position calculation read by the parameter reading unit 121, and position coordinates are set.
動作が静止の場合、例えば一例として以下の計算式により表示位置が求められる。
静止表示位置=始点+基準位置。
すなわち、表示位置X座標=始点のX座標+基準X。
表示位置Y座標=始点のY座標+基準Y。
When the operation is stationary, for example, the display position is obtained by the following calculation formula as an example.
Still display position = start point + reference position.
That is, the display position X coordinate = start point X coordinate + reference X.
Display position Y coordinate = starting Y coordinate + reference Y
動作が直線の場合、例えば一例として以下の計算式により表示位置が求められる。
直線表示位置=始点座標+(終点座標−始点座標)× (現在時間 − Start時間)/ 直線カウント時間。
すなわち、表示位置X座標=始点のX座標+(終点のX座標−始点のX座標)× (現在時間 − Start時間)/ 直線カウント時間。
表示位置Y座標=始点のY座標+(終点のY座標−始点のY座標)× (現在時間 − Start時間)/ 直線カウント時間。
When the movement is a straight line, for example, the display position is obtained by the following calculation formula as an example.
Straight line display position = start point coordinate + (end point coordinate−start point coordinate) × (current time−start time) / line count time.
That is, display position X coordinate = X coordinate of start point + (X coordinate of end point−X coordinate of start point) × (current time−Start time) / Line count time.
Display position Y coordinate = Y coordinate of start point + (Y coordinate of end point−Y coordinate of start point) × (Current time−Start time) / Line count time.
動作が折線の場合、例えば一例として以下の計算式により表示位置が求められる。
折線表示位置=位置i+((位置i+1)−位置i)×(現在時間−折線カウントワーク値)/折線カウント時間i + 基準位置。
すなわち、表示位置X座標=位置iのX座標 +((位置i+1)のX座標 − 位置iのX座標)×(現在時間−折線カウントワーク値)/折線カウント時間i + 基準X。
表示位置Y座標=位置iのY座標 +((位置i+1)のY座標 − 位置iのY座標)×(現在時間−折線カウントワーク値)/折線カウント時間i + 基準Y。
なお、位置iと折線カウント時間iとは図9の折線テーブルで示されるインデックスiにおける位置座標と折線カウント時間である。また、折線カウントワーク値とはStart時間に折線テーブルの折線カウント時間を折線カウント時間1から折線カウント時間i−1迄順次加算したものを加えた値である。さらに、上記計算式は、現在時間とStart時間の差分時間を求め、差分時間と折線テーブルの折線カウント時間を折線カウント時間1から順次加算したものと差分時間との差を比較し、折線カウント時間1から順次加算したものが折線カウント時間i時点で差分時間より大きくなったとの設定である。
When the operation is a broken line, for example, the display position is obtained by the following calculation formula as an example.
Polyline display position = Position i + ((Position i + 1) −Position i) × (Current time−Polyline count work value) / Polyline count time i + Reference position.
That is, display position X coordinate = X coordinate of position i + (X coordinate of (position i + 1) −X coordinate of position i) × (current time−polygon count work value) / polygon line count time i + reference X.
Display position Y coordinate = Y coordinate of position i + (Y coordinate of (position i + 1) −Y coordinate of position i) × (current time−polygon count work value) / polygon line count time i + reference Y.
The position i and the broken line count time i are the position coordinates and the broken line count time at the index i shown in the broken line table of FIG. The broken line count work value is a value obtained by adding a value obtained by sequentially adding the broken line count time of the broken line table from the broken
図13は図1のオブジェクト選定部6の内部構成を示す図である。
オブジェクト選定部6はアニメーション演出テーブルの対象オブジェクト情報を用いて特定再生時間におけるオブジェクトの選定を行う。
FIG. 13 is a diagram showing an internal configuration of the
The
オブジェクト選定部6は、アニメーション演出テーブルから対象オブジェクトのオブジェクト選定に必要なパラメータを読込む演出テーブルオブジェクト選定パラメータ読込部131と、演出テーブルオブジェクト選定パラメータ読込部131より読込まれたパラメータを用いて特定再生時間における対象オブジェクトのオブジェクト種別が表示切替オブジェクトかいなか判定する表示切替判定部132と表示切替判定部132の判定に基づいて対象オブジェクトのオブジェクトを決定するオブジェクト決定部133を備える。
The
次にオブジェクト選定部6の動作について説明する。
図18はオブジェクト選定の処理フローチャートを示す図である。
Next, the operation of the
FIG. 18 is a diagram showing a process flowchart of object selection.
S181において、アニメーション演出テーブルの基本動作識別情報に基づいたデータ形式に従い、アニメーション演出テーブルからオブジェクト選定に必要な情報を読込みオブジェクトを決定する。
具体的には、アニメーション演出テーブルより、オブジェクト選定に必要な基本識別情報、オブジェクト種別固有情報、基本動作用ワークを演出テーブルオブジェクト選定パラメータ読込部131が読込み、表示切替判定部132において読込んだ基本識別情報、オブジェクト種別固有情報、基本動作用ワークを用いて、特定再生時間における対象オブジェクトのオブジェクト種別が表示切替オブジェクトかいなかを判定する。オブジェクト種別が表示切替オブジェクトと判定された場合、オブジェクト種別固有情報、基本動作用ワークのパラメータを用いてオブジェクト決定部133がオブジェクトを選定し決定する。オブジェクト種別が表示切替オブジェクトではないと判定された場合、オブジェクト種別固有情報のパラメータを用いてオブジェクト決定部133がオブジェクトを選定し決定する。
In S181, according to the data format based on the basic motion identification information of the animation effect table, information necessary for object selection is read from the animation effect table and an object is determined.
Specifically, the basic identification information necessary for object selection, the object type specific information, and the basic operation work are read from the animation presentation table by the presentation table object selection parameter reading unit 131 and read by the display switching determination unit 132. Using the identification information, the object type specific information, and the basic operation work, it is determined whether the object type of the target object at the specific reproduction time is a display switching object. When it is determined that the object type is a display switching object, the object determining unit 133 selects and determines the object using the object type specific information and the basic operation work parameter. When it is determined that the object type is not a display switching object, the object determination unit 133 selects and determines the object using the parameter of the object type specific information.
図14は図1の拡大縮小設定部7の内部構成を示す図である。
拡大縮小設定部7はアニメーション演出テーブルの対象オブジェクト情報を用いて特定再生時間におけるオブジェクトの拡大縮小値の決定を行う。
拡大縮小設定部7は、アニメーション演出テーブルから対象オブジェクトの拡大縮小値設定に必要なパラメータを読込む演出テーブル拡大縮小パラメータ読込部141と、読込んだパラメータを用いてオブジェクトの拡大縮小値を決定する拡大縮小値決定部142とを備える。
FIG. 14 is a diagram showing an internal configuration of the enlargement /
The enlargement /
The enlargement /
次に拡大縮小設定部7の動作について説明する。
図19はオブジェクトの拡大縮小値決定の処理フローチャートを示す図である。
Next, the operation of the enlargement /
FIG. 19 is a diagram showing a processing flowchart for determining the enlargement / reduction value of an object.
S191において、アニメーション演出テーブルの基本動作識別情報に従い、オブジェクトの拡大縮小値設定に必要なパラメータをアニメーション演出テーブルより読込む。具体的には、拡大縮小値決定に必要な基本識別情報、オブジェクト種別固有情報、基本動作用ワークをアニメーション演出テーブルより演出テーブル拡大縮小設定パラメータ読込部141が読込む。 In S191, parameters necessary for setting the enlargement / reduction value of the object are read from the animation effect table according to the basic motion identification information of the animation effect table. Specifically, the effect table enlargement / reduction setting parameter reading unit 141 reads basic identification information, object type specific information, and basic operation work necessary for determining the enlargement / reduction value from the animation effect table.
S192において、アニメーション演出テーブルの基本動作識別情報に従い、読込んだ拡大縮小値設定に必要なパラメータを用いて、オブジェクトの拡大縮小値を設定する。具体的には、拡大縮小値決定部142において、S191で読込んだ基本識別情報、オブジェクト種別固有情報、基本動作用ワークのパラメータを用いてオブジェクトの拡大縮小値を決定する。なお、拡大縮小値に係わる情報がなければ、拡大縮小値は等倍すなわち1倍として設定される。 In S192, an object enlargement / reduction value is set according to the basic action identification information of the animation effect table using the parameters necessary for setting the read enlargement / reduction value. Specifically, the enlargement / reduction value determination unit 142 determines the object enlargement / reduction value using the basic identification information, the object type specific information, and the basic operation work parameters read in S191. If there is no information related to the enlargement / reduction value, the enlargement / reduction value is set to the same magnification, that is, 1 time.
図15は図1の画像処理テーブル生成部8の内部構成を示す図である。
画像処理テーブル生成部8は、時間管理部2で設定された現在時間を画像処理テーブルの時間欄に書き込む時間情報書込部151と、オブジェクト位置決定部5で設定された対象オブジェクトのオブジェクト位置情報を画像処理テーブルの位置欄に書込む位置情報書込部152と、オブジェクト選定部6で決定されたオブジェクト決定情報をオブジェクト欄に書込むオブジェクト決定情報書込部153と、拡大縮小設定部7で設定された対象オブジェクトの拡大縮小値情報を画像処理テーブルの拡大縮小値欄に書込む拡大縮小値書込部154とを備える。なお、時間情報、オブジェクト位置情報、オブジェクト決定情報、拡大縮小値情報をまとめて書込む1つの書込部であっても良く、時間管理部2、オブジェクト位置決定部5、オブジェクト選定部6、拡大縮小設定部7が予め設定した格納場所にある画像処理テーブルに各々設定した情報を直接書込んでもよい。また、全ての対象オブジェクトに係わる画像処理テーブルの生成が完了したかを判定する生成完了判定部等を備えてもよい。
FIG. 15 is a diagram showing an internal configuration of the image processing
The image processing
次に画像処理テーブル生成部8の動作について説明する。
図20はオブジェクトの画像処理テーブル生成部8の処理フローチャートを示す図である。
Next, the operation of the image processing
FIG. 20 is a diagram showing a processing flowchart of the object image processing
S201において、現在時間における対象オブジェクトに係わる設定された位置情報、決定されたオブジェクト情報、設定された拡大縮小値情報を画像処理テーブルに書込む。具体的には、時間管理部2で設定された現在時間と、オブジェクト位置決定部5で設定された対象オブジェクトのオブジェクト位置情報と、オブジェクト選定部6で決定されたオブジェクト決定情報と、拡大縮小設定部7で設定された対象オブジェクトの拡大縮小値情報とをそれぞれ時間情報書込部151、位置情報書込部152、オブジェクト決定情報書込部153、拡大縮小値書込部154とが画像処理テーブルに書込み、画像処理テーブルを生成する。なお、画像処理テーブルには現在時間に表示対象となるアニメーション演出テーブルの対象オブジェクト全てに係わるオブジェクト位置情報、オブジェクト決定情報、拡大縮小値情報が書込れ生成される。なお、画像処理テーブル生成部8において現在時間における表示対象となる全てのオブジェクトの情報が画像処理テーブルに書込まれたかの判定を行っていないが、判定を行っても構わない。
In step S201, the set position information related to the target object at the current time, the determined object information, and the set enlargement / reduction value information are written into the image processing table. Specifically, the current time set by the
図16は図1の画像処理部10の内部構成を示す図である。
画像処理部10は画像処理テーブル生成部8で生成された画像処理テーブルにおける、特定再生時間における再生すべきオブジェクトの位置座標、決定されたオブジェクト、オブジェクトの拡大縮小値を読込む画像処理テーブル読込部161と、画像処理テーブル読込部161が読込んだ決定されたオブジェクトに基づいて格納部12よりオブジェクトの画像データを取得する画像データ取得部162と、画像処理テーブル読込部161が読込んだオブジェクトの拡大縮小値と予め設定されたアルゴリズムに基づいて画像データ取得部162が取得した拡大縮小値の倍率にオブジェクトの画像データを拡大縮小しオブジェクトの新たな画像データを生成する拡大縮小処理部163と、拡大縮小処理部163より対象オブジェクト毎に生成された全てのオブジェクトの新たな画像データを、予め設定した組み合わせ条件に従い、特定再生時間における1再生画像データに合成する画像合成部164とを備える。
FIG. 16 is a diagram showing an internal configuration of the
The
次に画像処理部10の動作について説明する。
図21は画像処理部の処理フローチャートを示す図である。
S211において、画像処理テーブル読込部161が画像処理テーブル生成部8で生成された画像処理テーブルにおける、特定再生時間における再生すべきオブジェクトを位置座標、決定されたオブジェクト、オブジェクトの拡大縮小値を読込む。
S212において、画像データ取得部162が読込んだ画像処理テーブルにおける決定されたオブジェクト情報に従い格納部12よりオブジェクトの画像データを取得する。
S213において、拡大縮小処理部163が読込まれたオブジェクトの拡大縮小値と予め設定されたアルゴリズムに基づいて拡大縮小値の倍率にオブジェクトの画像データを拡大縮小しオブジェクトの新たな画像データを生成する。
S214において、画像合成部164がS204で生成したオブジェクトの新たな画像データを、オブジェクトの位置座標に、予め設定した組み合わせ条件に従い、1画像データに画像を合成する。
S215において、画像合成部164が画像処理テーブルにおけるすべての対象オブジェクトの画像合成を完了したか判定する。
S215の判定において、全ての対象オブジェクトの画像合成を完了したと判定した場合、S216において、S214において画像合成された画像データを表示部11に送信する。
S215の判定において、全ての対象オブジェクトの画像合成を完了していないと判定した場合、S212に戻る。
Next, the operation of the
FIG. 21 is a diagram illustrating a processing flowchart of the image processing unit.
In step S <b> 211, the image processing table reading unit 161 reads the position coordinates, the determined object, and the enlargement / reduction value of the object in the image processing table generated by the image processing
In step S212, the image data of the object is acquired from the storage unit 12 according to the object information determined in the image processing table read by the image data acquisition unit 162.
In S213, the enlargement / reduction processing unit 163 generates new image data of the object by scaling the object image data to the magnification of the enlargement / reduction value based on the read enlargement / reduction value of the object and a preset algorithm.
In S214, the
In step S215, the
If it is determined in S215 that the image synthesis of all target objects has been completed, the image data synthesized in S214 is transmitted to the display unit 11 in S216.
If it is determined in S215 that the image composition of all target objects has not been completed, the process returns to S212.
図22はアニメーション再生のため対象オブジェクトに係わる情報設定をしたアニメーション演出テーブルの一例を示す図である。 FIG. 22 is a diagram showing an example of an animation effect table in which information related to a target object is set for reproducing an animation.
また、図23は図22で設定したアニメーション演出テーブルに基づいて、再生がどのようになるかの概要な再生イメージを示した図である。 FIG. 23 is a diagram showing an outline reproduction image of how reproduction is performed based on the animation effect table set in FIG.
次に図22で設定したアニメーション演出テーブルに基づいて、再生がどのようになるかを説明する。なお、アニメーション演出テーブルにおけるオブジェクト数は8種類あるので、AからHのアルファベットで識別して説明する。 Next, how playback is performed will be described based on the animation effect table set in FIG. Since there are eight types of objects in the animation effect table, description will be made by identifying with alphabets A to H.
先ずオブジェクトAについて、基本動作識別は静止・単一オブジェクトであり、オブジェクト種別固有情報よりオブジェクトは富士山画像(正確には、富士山画像の格納先情報)で、動作固有情報よりA始点、例えば(10,0)座標に、Start時間及びEnd時間より、初めから10秒間が示されており、表示部11において、初めの0秒から10秒の間、富士山画像がA始点の(10,0)座標に表示されること、すなわちアニメーションが再生されることを示ている。なお、基準X、基準Yが「0」であるので、A始点の座標変換はない。 First, with respect to object A, the basic motion identification is a static / single object, and the object is Mount Fuji image (more precisely, the storage location information of Mount Fuji image) from the object type specific information, and the start point A, for example (10 , 0) coordinates indicate 10 seconds from the start time and the start time, and the display unit 11 displays the first 10 seconds from 0 seconds to the (10, 0) coordinates of the Mt. Is displayed, that is, the animation is reproduced. Since the reference X and the reference Y are “0”, there is no coordinate conversion of the A start point.
オブジェクトBにおいて、基本動作識別は直線移動・単一オブジェクトであり、オブジェクト種別固有情報よりオブジェクトは丸画像で、但し正確には丸画像の格納先情報で、動作固有情報よりB始点、例えば(0,260)座標からB終点、例えば(80,180)座標まで均等移動し移動時間は2秒間、Start時間及びEnd時間より、初めの0秒から2秒間が示されており、表示部において、初めから2秒の間、丸画像が(0,260)座標から(80,180)座標迄均等移動することを示している。なお、始点座標で示されるとおり、(0,260)座標は、本実施一例では(0,0)から(320,240)座標範囲としたので、表示部の実際に表示される座標範囲を超えているが、始点そして終点座標は表示座標範囲を超えていてもよい。 In object B, the basic motion identification is linear movement / single object, and the object is a round image based on the object type specific information, but more precisely it is the storage destination information of the round image. 260) to the B end point, for example, the (80,180) coordinate, the moving time is 2 seconds, and the start time and the end time indicate the first 0 seconds to 2 seconds. It is shown that the circular image moves uniformly from the (0,260) coordinate to the (80,180) coordinate for 2 seconds from the beginning. As indicated by the start point coordinates, the (0,260) coordinates are in the range of (0,0) to (320,240) in this embodiment, and thus exceed the coordinate range actually displayed on the display unit. However, the start point and end point coordinates may exceed the display coordinate range.
オブジェクトCにおいて、基本動作識別は折線移動・単一オブジェクトであり、オブジェクト種別固有情報よりオブジェクトは丸画像で、但し正確には丸画像の格納先情報で、動作固有情報より折線テーブルCポインタで示される折線テーブルCに従って折線移動し、Start時間及びEnd時間より、初めの0秒から2秒後に開始し、初めの0秒から7秒後迄の5秒間、表示部で再生表示されることを示している。なお、折線テーブルCは、位置C1から位置C2まで均等移動し移動時間は1秒間を60カウントとして表した時の20カウント間すなわち20/60秒間であり、位置C2から位置C3、位置C3から位置C4、位置C4から位置C5、位置C5から位置C6、位置C6から位置C1へとそれぞれ均等移動をし、移動時間は20カウント間になることを示している。又初めの0秒から2秒後に開始し、初めの0秒から7秒後の5秒間再生される間に、丸画像が、図23上の頂点C1から頂点C6に係わる六角形を示す図上をC1、C2、C3、C4、C5、C6そしてC1と移動するようにして右周りに2.5周しており最後は位置C4に移動する。 In object C, the basic motion identification is a broken line movement / single object, and the object is a circle image from the object type specific information, but more precisely it is the storage destination information of the circle image, and is indicated by the broken line table C pointer from the operation specific information. The broken line moves according to the broken line table C, and starts from the first 0 seconds to 2 seconds from the start time and the end time, and is displayed on the display unit for 5 seconds from the first 0 seconds to 7 seconds later. ing. The broken line table C is moved uniformly from the position C1 to the position C2, and the moving time is 20 counts when 1 second is expressed as 60 counts, that is, 20/60 seconds, from the position C2 to the position C3, and from the position C3 to the position C3. C4, position C4 to position C5, position C5 to position C6, position C6 to position C1, respectively, and the movement time is between 20 counts. In addition, while the image is started after 2 seconds from the first 0 seconds and reproduced for 5 seconds after the first 0 seconds to 7 seconds, the round image shows a hexagon related to the vertex C1 to the vertex C6 on FIG. Is moved to C1, C2, C3, C4, C5, C6, and C1 by 2.5 turns clockwise, and finally moves to position C4.
オブジェクトDにおいて、基本動作識別は直線移動・単一オブジェクトであり、オブジェクト種別固有情報よりオブジェクトは丸画像で、正確には丸画像の格納先情報で、動作固有情報よりD始点、すなわち折線テーブルCの位置C4座標、からD終点まで均等移動し移動時間は1秒間であることを示している。
オブジェクトEにおいて、Start時間、End時間そして基準X、基準Yは異なるが、再生時間の2秒間も含むその他はオブジェクトBと同じである。
同様にオブジェクトFにおいて、Start時間、End時間そして基準X、基準Yは異なるが、再生時間の5秒間も含むその他はオブジェクトCと同じである。
さらにオブジェクトGにおいて、Start時間、End時間そして基準X、基準Yは異なるが再生時間の1秒間も含むその他はオブジェクトDと同じである。
オブジェクトE,F,GはオブジェクトC,D,Fの画像を座標(140,−40)の位置だけ平行移動し、再生動作は同じだが、開始時間、終了時間が違うという表示を示すものである。
In the object D, the basic motion identification is linear movement / single object, the object is a round image from the object type specific information, more precisely the storage destination information of the round image, and the D start point from the motion specific information, that is, the broken line table C It is shown that the movement time is 1 second with uniform movement from the position C4 coordinate to the D end point.
In the object E, the Start time, the End time, the reference X, and the reference Y are different, but the same as the object B except that the playback time includes 2 seconds.
Similarly, in the object F, the Start time, the End time, the reference X, and the reference Y are different, but the same as the object C except that the reproduction time includes 5 seconds.
Further, the object G is the same as the object D except that the start time, the end time, the reference X, and the reference Y are different, but includes one second of the reproduction time.
Objects E, F, and G move the images of the objects C, D, and F by the position of coordinates (140, −40), and display that the playback operation is the same but the start time and end time are different. .
オブジェクトHにおいて、基本動作識別は直線移動・単一オブジェクトであり、オブジェクト種別固有情報よりオブジェクトは三角画像で、正確には三角画像の格納先情報で、動作固有情報よりH始点からH終点まで均等移動し移動時間は5秒間であることを示している。なお、始点、終点が表示部の表示範囲内に必ず入っている必要はない。
また、図23のアニメーション演出テーブル再生イメージ図において、表示範囲を座標(0,0)から(320,240)間としているが、表示範囲は大きくても小さくてもよく、いかようにでも変更できてよい。
In object H, the basic motion identification is linear movement / single object, and the object is a triangular image based on the object type specific information, more precisely the storage location information of the triangular image, and the motion specific information is equally from the H start point to the H end point. It shows that the movement time is 5 seconds. Note that the start point and end point are not necessarily within the display range of the display unit.
Further, in the animation effect table reproduction image diagram of FIG. 23, the display range is between coordinates (0, 0) to (320, 240), but the display range may be large or small and can be changed in any way. Good.
また、オブジェクトA,B,C,D,E,F,G,Hの表示時の重ねあわせに関して、オブジェクトA,B,C,D,E,F,G,Hの順に表示を見る側に近い配置となるように設定しても良いし、配置を都度設定してもよいし、予め設定していてもよい等汎用的にいかようにでも設定できるようにしてもよい。 In addition, regarding the overlay when displaying objects A, B, C, D, E, F, G, and H, it is closer to viewing the display in the order of objects A, B, C, D, E, F, G, and H. It may be set so as to be arranged, the arrangement may be set each time, or may be set in any general manner such as being set in advance.
なお、図22のアニメーション演出テーブルのオブジェクトA,B,C,D,E,F,G,Hは、現在時間に基づいて、アニメーションの再生が実施される。以下に具体的にどのように処理されるか説明する。
現在時間が5秒である場合、再生されるオブジェクトは各オブジェクトのStart時間とEnd時間からオブジェクトA,C,F,Hである。すなわち、Start時間≦現在時間=5秒<End時間に該当するStart時間とEnd時間を有する対象オブジェクトがなんであるか演出テーブル対象オブジェクト判定部3で判定し再生対象オブジェクトがオブジェクトA,C,F,Hと判定することになる。対象オブジェクトの情報形式解読部4がオブジェクトAの基本動作識別情報に基づいて、オブジェクトAのデータ形式の解読を実施し、データ形式に従って、次にオブジェクトの表示位置の設定をオブジェクト位置決定部5において実施する。オブジェクトAの場合は、動作は静止であるため、表示位置の予め設定された計算式により表示位置が求められる。
オブジェクトAの現在時間5秒の場合の表示位置は、X座標=A始点のX座標、Y座標=A始点のY座標となる。次に、オブジェクト選定部6がオブジェクトAのオブジェクト種別固有情報より富士山画像に係わる格納先情報を得てオブジェクトを決定する。さらに拡大縮小設定部7において、オブジェクトAの拡大縮小値を設定するが、拡大縮小値に係わるパラメータがないので、等倍を設定する。画像処理テーブル生成部8において、現在時間5秒におけるオブジェクトAに係わる位置座標 (A始点のX座標,A始点のY座標)とオブジェクト決定された富士山画像の格納先情報と拡大縮小値の等倍値が画像処理テーブルに設定される。
同様にして、現在時間が5秒におけるオブジェクトCの場合は、対象オブジェクトの情報形式解読部4のデータ形式解読後、オブジェクト位置決定部5がオブジェクトの表示位置の設定し、動作は折線移動であるため、表示位置の予め設定された計算式により表示位置が求められ、オブジェクトCの現在時間5秒の場合の表示位置は、折線テーブルCで示される位置C4となる。
Note that the objects A, B, C, D, E, F, G, and H in the animation effect table in FIG. 22 are reproduced based on the current time. The specific processing will be described below.
When the current time is 5 seconds, the objects to be reproduced are the objects A, C, F, and H from the Start time and End time of each object. That is, Start time ≦ Current time = 5 seconds <End time corresponding to Start time and End time is determined by the effect table target
The display position of the object A when the current time is 5 seconds is X coordinate = X coordinate of the A start point, and Y coordinate = Y coordinate of the A start point. Next, the
Similarly, in the case of the object C at the current time of 5 seconds, after the data format is decoded by the information
次に、オブジェクト選定部6がオブジェクトCのオブジェクト種別固有情報より丸画像に係わる格納先情報を得てオブジェクトを決定する。さらに拡大縮小設定部7において、オブジェクトCの拡大縮小値を設定するが、拡大縮小値に係わるパラメータがないので、等倍を設定する。画像処理テーブル生成部8において、現在時間5秒におけるオブジェクトCに係わる位置C4座標とオブジェクト決定された丸画像の格納先情報と拡大縮小値の等倍値が画像処理テーブルに設定される。
オブジェクトFにおいて、オブジェクトFはオブジェクトCの開始時間の1秒後にし、基準座標を(0,0)から(140,−40)に変更し、オブジェクトCの開始位置を(140,−40)平行移動したものである。
Next, the
In object F, object F is 1 second after the start time of object C, the reference coordinates are changed from (0, 0) to (140, −40), and the start position of object C is (140, −40) parallel. It has been moved.
現在時間が5秒におけるオブジェクトFの場合は、対象オブジェクトの情報形式解読部4のデータ形式解読後、オブジェクト位置決定部5がオブジェクトの表示位置の設定し、動作は折線移動であるため、表示位置の予め設定された計算式により表示位置が求められ、オブジェクトFの現在時間5秒の場合の表示位置は、折線テーブルCで示される位置C1座標+(140,−40)となる。次に、オブジェクト選定部6がオブジェクトFのオブジェクト種別固有情報より丸画像に係わる格納先情報を得てオブジェクトを決定し、さらに拡大縮小設定部7において、オブジェクトFの拡大縮小値を設定する。なお、拡大縮小値に係わるパラメータがないので、等倍を設定する。画像処理テーブル生成部8において、現在時間5秒におけるオブジェクトFに係わる位置のC1座標+(140,−40)とオブジェクト決定された丸画像の格納先情報と拡大縮小値の等倍値が画像処理テーブルに設定される。
In the case of the object F at the current time of 5 seconds, after the data format is decoded by the information
現在時間が5秒におけるオブジェクトHの場合は、対象オブジェクトの情報形式解読部4のデータ形式解読後、オブジェクト位置決定部5がオブジェクトの表示位置の設定し、動作は直線移動であるため、表示位置の予め設定された計算式により表示位置が求められ、オブジェクトHの現在時間5秒の場合の表示位置は、H始点座標+(H終点座標−H始点座標)× (現在時間 − Start時間)/ 直線カウント時間により、H始点座標+(H終点座標−H始点座標)× 1/5となる。
次に、オブジェクト選定部6がオブジェクトHのオブジェクト種別固有情報より三角画像に係わる格納先情報を得てオブジェクトを決定し、さらに拡大縮小設定部7において、オブジェクトHの拡大縮小値を設定する。なお、拡大縮小値に係わるパラメータがないので、等倍を設定する。画像処理テーブル生成部8において、現在時間5秒におけるオブジェクトHに係わる位置座標のH始点座標+(H終点座標−H始点座標)× 1/5 とオブジェクト決定された三角画像の格納先情報と拡大縮小値の等倍値が画像処理テーブルに設定される。なお、画像処理テーブルの設定に際しては、画像処理テーブル生成部8が現在時間に基づいて、オブジェクトA,C,F,H毎にオブジェクト位置決定部5、オブジェクト選定部6、拡大縮小設定部7で設定されたオブジェクト位置情報、オブジェクト決定情報、拡大縮小値情報そして現在時間を画像処理テーブル生成部8における位置情報書込部152、オブジェクト決定情報書込部153、拡大縮小値書込部154、時間情報書込部151が画像処理テーブルに書込み、画像処理テーブルを生成する。
In the case of the object H at the current time of 5 seconds, after the data format is decoded by the information
Next, the
以上のようにして求められた現在時間5秒の画像処理テーブルはオブジェクトA,C,F,Hの情報を備えるものである。 The image processing table having the current time of 5 seconds obtained as described above includes information on the objects A, C, F, and H.
図24は現在時間5秒時の画像処理テーブルの一例を示す図である。
画像処理テーブルは時間すなわちカウント値を基準に、対象オブジェクトの位置座標、オブジェクト格納先情報、拡大縮小値を設定し、特定再生時間におけるオブジェクト再生に係わる必要情報を備えるものである。ここではオブジェクトA,C,F,Hの特定再生時間における画像処理テーブルに従い画像処理部10が表示部11で表示させる画像を作成合成し、表示部11に送信することになる。なお、オブジェクト格納先情報については、一例ではオブジェクトIDとしたが格納先情報を示すポインタ等であってもよく別途格納先アドレスとの対応を示すファイル等参照してもよく、オブジェクトの格納先がわかる情報であればなんでも良い。
FIG. 24 is a diagram showing an example of an image processing table at the current time of 5 seconds.
The image processing table sets the position coordinates of the target object, the object storage location information, and the enlargement / reduction value based on the time, that is, the count value, and includes necessary information related to the object reproduction at the specific reproduction time. Here, an image to be displayed on the display unit 11 by the
図25は現在時間5秒時の表示画像イメージを示す図である。
画像処理部10における画像処理テーブル読込部161が「現在時間5秒時の画像処理テーブル」からオブジェクト位置情報、オブジェクト決定情報、オブジェクト拡大縮小値を読込み、まず画像データ取得部162が読込まれたオブジェクト決定情報に従いオブジェクトAのオブジェクト画像データを格納部12より取得する。拡大縮小処理部163が読込まれたオブジェクトの拡大縮小値と予め設定されたアルゴリズムに基づいて拡大縮小値の倍率にオブジェクトの画像データを拡大縮小しオブジェクトの新たな画像データを生成する。オブジェクトAの場合、拡大縮小値設定がないので等倍としてそのまま画像データ取得部162が取得したオブジェクトAの画像データを設定する。次に画像合成部164が読込んだオブジェクト位置情報に従いオブジェクトAの位置座標にオブジェクトAの画像を組み込む。オブジェクトCも同様に処理され、次にオブジェクトF、オブジェクトHと同様に画像処理部10にて処理が進む。画像合成部164においてオブジェクトの合成が完了したと判定された場合、表示部11に送信され、表示部11で現在時間5秒時の表示画像が表示される。、なお、画像合成部164におけるオブジェクトA、C,F,Hの画像合成に際し予め組み合わせを設定しておく。組み合わせは、例えばオブジェクトA,C,F,Hの順に手前に見えるというように設定されるが立体感をより鮮明にする等のため汎用的に設定できてよい。
FIG. 25 is a diagram showing a display image image at the current time of 5 seconds.
The image processing table reading unit 161 in the
図26は、実施の形態1におけるアニメーション再生装置のハードウェア構成図の一例である。
図26において、アニメーション再生装置1は、プログラムを実行するCPU(Central Processing Unit)261を備えている。CPU261は、メモリバスコントローラ262を介してRAM264、グラフィックコントローラ265、グラフィックコントローラ265を介してCRT表示装置266、そしてメモリバスコントローラ262とI/Oバスコントローラ263を介して、ROM267、磁気ディスク装置269、K/B2681、マウス2682、FDD(Flexible Disk Drive)2685、CDD2686、プリンタ装置2687と接続されている。なお、アニメーション再生装置において、K/B2681、マウス2682、FDD(Flexible Disk Drive)2685、CDD2686、プリンタ装置2687については、必ずしも付加されなくても構わない。また、ROM267はアニメーション再生装置1の例えば電源起動時にROM267に記憶された初期プログラムをRAM264にロードし、初期プログラムをCPU261が実行することで、磁気ディスク装置269に格納されたOS2691をRAM264にロードし、磁気ディスク装置269に格納されたプログラム群2692にあるアニメーション再生用プログラムを実行できる状態にする。しかし、特にデータ等の書き換えが必要なければ、ROM267に磁気ディスク装置269に記憶された内容を記憶してもよく、その場合、磁気ディスク装置269は不要となるのでなくても構わない。さらに、グラフィックコントローラ265は、CPU261で処理が代用できればなくてよい。
FIG. 26 is an example of a hardware configuration diagram of the animation playback device in the first embodiment.
In FIG. 26, the
RAMは、揮発性メモリの一例である。ROM、FDD、CDD、磁気ディスク装置、光ディスク装置は、不揮発性メモリの一例である。これらは、記憶装置あるいは記憶部の一例である。
また、CRT表示装置は表示部の一例であり、LCD表示装置等であってよく表示できるものであれば何でも構わない。
磁気ディスク装置269には、オペレーティングシステム(OS)2691、プログラム群2692、ファイル群2693、データ群2694が記憶されている。プログラム群2692は、CPU261、OS2691、により実行される。データ群2694はプログラム群2692あるいはOS2691の実行時に使用される。
さらに、LAN(Local Area NetWorK)2684等の通信回線を備え、通信回線を使用して、サーバ等からデータ、ファイル、プログラムを取得あるいはサーバ等へ画像合成部で生成した再生画像データを含むデータ、ファイル、プログラムを送信しても良い。
The RAM is an example of a volatile memory. ROM, FDD, CDD, magnetic disk device, and optical disk device are examples of nonvolatile memory. These are examples of a storage device or a storage unit.
A CRT display device is an example of a display unit, and any LCD display device or the like can be used as long as it can be displayed.
The
Furthermore, a communication line such as a LAN (Local Area Network) 2684 is provided, and data including a reproduced image data acquired by a server or the like by using the communication line is acquired from a server, etc. Files and programs may be sent.
上記プログラム群2692には、実施の形態の説明において「〜部」として説明する機能を実行するプログラムが記憶されている。プログラムは、CPU261により読み出され実行される。
ファイル群2693には、実施の形態の説明において、「〜テーブル」、「〜の判定結果」として説明するものが、「〜ファイル」として記憶されている。
データ群には、以下に述べる実施の説明において、「〜データ」として説明してあるもの、また処理フローチャートの矢印の部分は主としてデータの入出力を示し、そのデータの入出力のためにデータは、RAM、磁気ディスク装置269に記憶される。あるいは、信号線やその他の伝送媒体により伝送される。なお、FD(Flexible Disk)、光ディスク、CD(コンパクトディスク)、MD(ミニディスク)、DVD(Digital Versatile Disk)等のその他の記録媒体に記録されても構わない。
The
In the
In the description of the implementation described below, the data group is described as “to data”, and the arrow portion of the processing flowchart mainly indicates data input / output. , RAM, and
また、実施の形態の説明において「〜部」として説明するものは、ROM267に記憶されたファームウェアで実現されていても構わない。或いは、ソフトウェアのみ、或いは、ハードウェアのみ、或いは、ソフトウェアとハードウェアとの組み合わせ、さらには、ファームウェアとの組み合わせで実施されても構わない。
Also, what is described as “˜unit” in the description of the embodiment may be realized by firmware stored in the
さらに、実施の形態を実施するプログラムは、また、RAM264、ROM267、磁気ディスク装置269に記憶されるあるいは記憶されている。しかし、FD(Flexible Disk)、光ディスク、CD(コンパクトディスク)、MD(ミニディスク)、DVD(Digital Versatile Disk)等のその他の記録媒体による記録装置を用いて記憶されても構わない。
Further, the program for carrying out the embodiment is also stored in or stored in the
以上のように構成されるので、実施の形態1に係わるアニメーション再生装置1は、アニメーションの変更に際しては、キーフレーム情報をすべて変更すること等なく、アニメーション再生テーブルの変更対象オブジェクト情報を変更あるいは新たな対象オブジェクト情報の追加をすればよく、すくない変更情報でアニメーションを容易に変更できる。すなわち、アニメーション再生テーブルの列単位での変更追加ですみ、変更情報が少なく容易にアニメーションが変更できる。
Since it is configured as described above, the
また、実施の形態1に係わるアニメーション再生装置1は、アニメーション演出テーブルにおいて、動作時間を自由に定義できるので、オブジェクト動作の回数、例えば丸画像が六角形を1周する回数などを自由に設定できる。
In addition, since the
さらに、実施の形態1に係わるアニメーション再生装置1は、アニメーション演出テーブルにおいて、基準座標を自由に定義できるので、オブジェクト動作を座標をずらして簡単に定義設定ができる。
Furthermore, since the
1 アニメーション再生装置、2 時間管理部、3 演出テーブル対象オブジェクト判定部、4 対象オブジェクトの情報形式解読部、5 オブジェクト位置決定部、6 オブジェクト選定部、7 拡大縮小設定部、8 画像処理テーブル生成部、9 対象オブジェクト処理完了判定部、10 画像処理部、11 表示部又は表示装置、12 格納部、121 演出テーブル位置計算パラメータ読込み部、122 位置計算部、131 演出テーブルオブジェクト選定パラメータ読込部、132 表示切替判定部、133 オブジェクト決定部、141 演出テーブル拡大縮小パラメータ読込部、142 拡大縮小値決定部、151 時間情報書込部、152 位置情報書込部、153 オブジェクト決定情報書込部、154 拡大縮小値書込部、161 画像処理テーブル読込部、162 画像データ取得部、163 拡大縮小処理部、164 画像合成部、261 CPU、262 メモリバスコントローラ、263 I/Oバスコントローラ、264 RAM、265 グラフィックコントローラ、266 CRT、267 ROM、269 磁気ディスク装置。
DESCRIPTION OF
Claims (5)
アニメーション再生装置は、格納部と、時間管理部と、演出テーブル対象オブジェクト判定部と、オブジェクト位置決定部と、オブジェクト選定部と、拡大縮小設定部と、画像処理テーブル生成部とを備え、
格納部は、上記アニメーション再生をオブジェクト毎に定義するオブジェクト再生定義情報を備えるアニメーション演出テーブルとオブジェクトの画像データとを記憶し、
時間管理部は、上記アニメーション再生における基準時間を設定管理し、
演出テーブル対象オブジェクト判定部は、上記アニメーション演出テーブルのオブジェクト毎に、上記基準時間におけるアニメーション再生の対象となるオブジェクトか否かを判定し、
オブジェクト位置決定部は、上記アニメーション演出テーブルの対象判定オブジェクトの上記オブジェクト再生定義情報に基づいて、上記基準時間における上記対象判定オブジェクトの再生位置を決定し、
オブジェクト選定部は、上記アニメーション演出テーブルの対象判定オブジェクトの上記オブジェクト再生定義情報に基づいて、上記基準時間において再生する上記対象判定オブジェクトのオブジェクトを選定し、
拡大縮小設定部は、上記アニメーション演出テーブルの対象判定オブジェクトの上記オブジェクト再生定義情報に基づいて、上記基準時間における上記対象判定オブジェクトの拡大縮小値を設定し、
画像処理テーブル生成部は、上記オブジェクト位置決定部で決定された再生位置と上記オブジェクト選定部で選定されたオブジェクトと上記拡大縮小設定部で設定された拡大縮小値とにより上記基準時間における画像処理テーブルを生成することを特徴とするアニメーション再生装置。 An animation playback device that repeats playback of still image data that displays at least one type of object for each specific playback time and performs animation playback,
The animation playback device includes a storage unit, a time management unit, an effect table target object determination unit, an object position determination unit, an object selection unit, an enlargement / reduction setting unit, and an image processing table generation unit,
The storage unit stores an animation presentation table including object reproduction definition information for defining the animation reproduction for each object and image data of the object,
The time management unit sets and manages the reference time for the animation playback,
The effect table target object determination unit determines, for each object in the animation effect table, whether or not the object is an object of animation reproduction at the reference time,
The object position determination unit determines the reproduction position of the target determination object at the reference time based on the object reproduction definition information of the target determination object of the animation effect table,
The object selection unit selects the object of the target determination object to be played back at the reference time based on the object playback definition information of the target determination object of the animation performance table,
The enlargement / reduction setting unit sets an enlargement / reduction value of the target determination object at the reference time based on the object reproduction definition information of the target determination object of the animation effect table,
The image processing table generating unit is configured to generate an image processing table at the reference time based on the reproduction position determined by the object position determining unit, the object selected by the object selecting unit, and the enlargement / reduction value set by the enlargement / reduction setting unit. An animation reproducing apparatus characterized by generating
画像処理部は、上記基準時間における画像処理テーブルに基づいて、選定オブジェクトのオブジェクト画像データを格納部より取得し、取得したオブジェクト画像データを設定拡大縮小値に従い拡大縮小し、拡大縮小された取得オブジェクト画像データを決定再生位置に設定して上記基準時間におけるオブジェクト再生画像データを生成し、上記対象判定オブジェクト毎に生成したオブジェクト再生画像データを順次画像合成して上記対象判定オブジェクト全てのオブジェクト再生画像データを画像合成し、上記基準時間における対象判定オブジェクト全ての画像合成オブジェクト再生画像データを表示部に送信し、
表示部は、画像処理部より送信された上記画像合成オブジェクト再生画像データを表示することを特徴とする請求項1記載のアニメーション再生装置。 The animation playback device further includes an image processing unit and a display unit,
The image processing unit acquires the object image data of the selected object from the storage unit based on the image processing table at the reference time, scales the acquired object image data according to the set scaling value, and acquires the scaled acquired object Object reproduction image data at the reference time is generated by setting the image data as the determined reproduction position, and object reproduction image data generated for each target determination object is sequentially image-synthesized to reproduce object reproduction image data of all the target determination objects. , And send the image synthesis object reproduction image data of all the target determination objects in the reference time to the display unit,
2. The animation reproduction apparatus according to claim 1, wherein the display unit displays the image composite object reproduction image data transmitted from the image processing unit.
特定再生時間に再生するオブジェクトを決定するオブジェクト決定情報と、
をオブジェクト毎に備えることを特徴とする請求項1記載のアニメーション再生装置。 The animation effect table includes reproduction time information indicating a reproduction start time and a reproduction end time of an object to be reproduced, object position related information used for determining a reproduction position of the object at a specific reproduction time,
Object determination information for determining an object to be played at a specific playback time;
The animation reproduction apparatus according to claim 1, further comprising: for each object.
(1)アニメーション再生の基準時間として使用する基準タイマを初期化する処理、
(2)基準タイマから現在時間を呼び出し設定する処理、
(3)アニメーション演算テーブルにおけるオブジェクト動作開始時間とオブジェクト動作終了時間と設定現在時間とを比較し、オブジェクト毎に設定現在時間がオブジェクト動作開始時間とオブジェクト動作終了時間との範囲内か否か判定する処理、
(4)設定現在時間がオブジェクト動作開始時間とオブジェクト動作終了時間との範囲内でないと判定された場合(9)へ進む処理、
(5)アニメーション演出テーブルのオブジェクト再生定義情報を用いて設定現在時間におけるオブジェクトの再生位置を求め決定する処理、
(6)アニメーション演出テーブルのオブジェクト再生定義情報を用いて設定現在時間におけるオブジェクトを選定する処理、
(7)アニメーション演出テーブルのオブジェクト再生定義情報を用いて設定現在時間におけるオブジェクトの拡大縮小値を設定する処理、
(8)決定再生位置と選定オブジェクトと設定拡大縮小値とを画像処理テーブルに書込み画像処理テーブルを生成する処理、
(9)アニメーション演出テーブルの全てのオブジェクトについて処理が完了したか否かを判定する処理、
(10)(9)において、アニメーション演出テーブルの全てのオブジェクトについて処理が完了していないと判定された場合、(3)に戻る処理、
(11)(9)において、アニメーション演出テーブルの全てのオブジェクトについて処理が完了したと判定された場合、生成画像処理テーブルに基づいて、生成画像処理テーブルの各オブジェクト毎に、選定オブジェクトのオブジェクト画像データを格納部より読込み、設定拡大縮小値に従い読込みオブジェクト画像データを拡大縮小し、決定再生位置に拡大縮小した読込みオブジェクト画像データを設定しオブジェクト再生画像データを生成し、生成画像処理テーブルの各オブジェクト毎のオブジェクト再生画像データを順次画像合成する処理、
(12)画像合成されたオブジェクト再生画像データを表示部で表示させる処理、
(13)設定現在時間とアニメーション再生の終了を示す再生時間と比較して、設定現在時間が再生時間に達していないと判定された場合、(2)に戻る処理。 An animation reproduction program that repeats reproduction of still image data that displays at least one type of object at a specific time and performs animation reproduction, and includes a storage unit that stores an animation calculation table that controls animation reproduction. (1) a process for initializing a reference timer used as a reference time for animation playback;
(2) Calling and setting the current time from the reference timer,
(3) The object motion start time, the object motion end time, and the set current time in the animation calculation table are compared, and it is determined for each object whether the set current time is within the range of the object motion start time and the object motion end time. processing,
(4) Processing to proceed to (9) when it is determined that the set current time is not within the range of the object motion start time and the object motion end time.
(5) Processing for obtaining and determining the reproduction position of the object at the set current time using the object reproduction definition information of the animation effect table;
(6) Processing for selecting an object at the set current time using the object reproduction definition information in the animation effect table;
(7) Processing for setting an object enlargement / reduction value at the set current time using the object reproduction definition information in the animation effect table;
(8) processing for writing the determined reproduction position, the selected object, and the set enlargement / reduction value in the image processing table to generate an image processing table;
(9) Processing for determining whether or not processing has been completed for all objects in the animation performance table;
(10) In (9), if it is determined that the processing has not been completed for all objects in the animation effect table, the processing returns to (3).
(11) When it is determined in (9) that the processing has been completed for all objects in the animation effect table, the object image data of the selected object is determined for each object in the generated image processing table based on the generated image processing table. Is read from the storage unit, the read object image data is enlarged / reduced according to the set enlargement / reduction value, the read object image data enlarged / reduced is set to the determined reproduction position, and the object reproduction image data is generated, for each object of the generated image processing table. Processing to sequentially combine the object playback image data of
(12) Processing for displaying the object reproduction image data, which has been subjected to image synthesis, on the display unit;
(13) A process of returning to (2) when it is determined that the set current time has not reached the playback time compared to the set current time and the playback time indicating the end of animation playback.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004292911A JP4166207B2 (en) | 2004-10-05 | 2004-10-05 | Animation playback device and animation playback program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004292911A JP4166207B2 (en) | 2004-10-05 | 2004-10-05 | Animation playback device and animation playback program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006107132A JP2006107132A (en) | 2006-04-20 |
JP4166207B2 true JP4166207B2 (en) | 2008-10-15 |
Family
ID=36376799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004292911A Expired - Fee Related JP4166207B2 (en) | 2004-10-05 | 2004-10-05 | Animation playback device and animation playback program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4166207B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5008714B2 (en) | 2009-12-15 | 2012-08-22 | 三菱電機株式会社 | Image generating apparatus and image generating method |
US10834587B2 (en) * | 2014-09-22 | 2020-11-10 | American Greetings Corporation | Live greetings |
WO2016092704A1 (en) * | 2014-12-12 | 2016-06-16 | 三菱電機株式会社 | Information processing device, motion video play method, and motion video play program |
-
2004
- 2004-10-05 JP JP2004292911A patent/JP4166207B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006107132A (en) | 2006-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7325535B2 (en) | Animation rendering method, apparatus, computer readable storage medium, and computer equipment | |
CN103026386B (en) | The data structure of image processing apparatus, image display device, image processing method and image file | |
US20060143020A1 (en) | Device capable of easily creating and editing a content which can be viewed in three dimensional way | |
JP2008158765A (en) | Information processing device, information processing method, and program for executing it by computer | |
JP5028263B2 (en) | Presentation display device, computer control method and program | |
JP2005267655A (en) | Content reproduction device, method, and program, recording medium with content reproduction program recorded, and portable communication terminal | |
JP2007058614A (en) | Slide-show generation device, data-generation device for slide show, their control methods, and their control programs | |
JP4166207B2 (en) | Animation playback device and animation playback program | |
CN111402369A (en) | Interactive advertisement processing method and device, terminal equipment and storage medium | |
JPH10275244A (en) | Animation display method and computer readable recording medium recording animation display program | |
JP2004206447A (en) | Two-dimensional encoding device, and two-dimensional code reproducing unit | |
JP2004021149A (en) | Image processing apparatus and image processing method | |
JP2005229501A (en) | Information processing apparatus, method, program and storage medium | |
JP5432933B2 (en) | Manga display method, program, and electronic device | |
JP4637199B2 (en) | Image processing apparatus, image processing method, and program | |
JP4760390B2 (en) | Image processing device | |
JP4489661B2 (en) | Slide show generating apparatus, control method therefor, and control program therefor | |
JP5712386B2 (en) | Image display processing method and image display processing apparatus | |
US20230252596A1 (en) | Image processing system and method | |
US20230252693A1 (en) | Image processing system and method | |
JP3730639B2 (en) | Multimedia presentation method and system, multimedia data creation method and system | |
JP4561811B2 (en) | Information processing apparatus and method | |
JP4010913B2 (en) | Triangular mesh data generation method | |
JP5752323B2 (en) | Display device and computer | |
JP2003281568A (en) | Image processor and processing method, storage medium and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080715 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080722 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080729 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110808 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110808 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140808 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |