JP3678609B2 - Drawing device - Google Patents
Drawing device Download PDFInfo
- Publication number
- JP3678609B2 JP3678609B2 JP18099199A JP18099199A JP3678609B2 JP 3678609 B2 JP3678609 B2 JP 3678609B2 JP 18099199 A JP18099199 A JP 18099199A JP 18099199 A JP18099199 A JP 18099199A JP 3678609 B2 JP3678609 B2 JP 3678609B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- unit
- frame
- frame number
- switching
- 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
- 230000007704 transition Effects 0.000 claims description 132
- 238000004364 calculation method Methods 0.000 claims description 87
- 238000013500 data storage Methods 0.000 claims description 77
- 238000009877 rendering Methods 0.000 claims description 25
- 238000010586 diagram Methods 0.000 description 22
- 238000000034 method Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 239000000463 material Substances 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000007562 laser obscuration time method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
- Image Generation (AREA)
- Studio Circuits (AREA)
Description
【0001】
【発明が属する技術分野】
本発明は、動画と3次元グラフィック編集分野における、カメラデータを生成し、動画を貼り付ける3次元形状データの頂点データの輝度データを変更する描画装置に関するものである。
【0002】
【従来の技術】
近年、描画装置は、3次元グラフィックと動画とをそれぞれ単独で描画するばかりでなく、両方の素材を同時に描画することが可能になっている。
以下、図10を参照しながら、上記従来の描画装置の一例について説明する。図10は、従来の描画装置の構成図である。
【0003】
従来の描画装置は、図10に示すように、圧縮動画データを保存する圧縮動画データ保存部1と、圧縮動画データ保存部1より圧縮動画データを取得し、このデータをデコード方式に従ってデコードし描画フレーム番号に対応する動画データを生成する動画デコード部2と、フレーム番号から動画デコード部2の出力先を切り替える第1のスイッチ3と、第1のスイッチ3から出力された動画デコード部2の動画データを記憶するテクスチャバッファ部4と、3次元グラフィックデータを保存する3DCGデータ保存部5と、後述する描画フレーム補間生成部により生成される、描画するフレームのカメラデータおよび描画フレーム番号と、3DCGデータ保存部5に記憶された3次元グラフィックデータに基づき、描画フレーム番号における3次元シーン表示データを生成する3Dシーンレンダリング部6と、フレーム番号に基づき、第1のスイッチ3から出力された動画デコード部2の動画データと3Dシーンレンダリング部6より生成された3次元シーン表示データのいずれかを出力させる第2のスイッチ14と、第2のスイッチ14より出力された表示データを格納するビデオメモリ部15とを具備し、
さらに各描画フレーム番号に対応するカメラデータを生成する描画フレーム補間生成部110と、カメラキーフレームのデータ、および動画と3次元グラフィックの表示を切替える切替フレーム番号を保存するシナリオデータ保存部111とを具備している。
【0004】
上記シナリオデータ保存部111には、動画を貼り付ける面にズームインし、動画と3次元グラフィックの表示を切替える前記切替フレーム番号において、動画のみの表示と切替わるシーンのシナリオが保存されている。
以上のように構成された描画装置について、以下その動作について説明する。まず、描画フレーム補間生成部110において、シナリオデータ保存部111に保存されたカメラキーフレームデータに基づいて各描画フレーム番号に対応するカメラデータが生成され、続いて動画デコード部2において、圧縮動画データ保存部1に保存された動画データがデコード方式に従ってデコードされ、描画フレーム番号に対応する動画データが生成される。
【0005】
次に、第1のスイッチ3において、シナリオデータ保存部111に記憶された、前記切替フレーム番号未満の描画フレーム番号に対する画像データを出力する場合、すなわち3次元シーン表示データを表示する場合は、スイッチはテクスチャバッファ部4側に切替えられ、また、切替フレーム番号以上の描画フレーム番号に対する画像データを出力する場合、すなわち動画データを表示する場合は、ビデオメモリ部15側に切替えられる。
【0006】
次に、テクスチャバッファ部4において、動画デコード部2において生成された動画データが保持され、また3Dシーンレンダリング部6において、描画フレーム番号に対応する3次元シーン表示データが生成される。
次に、第2のスイッチ14において、前記切替フレーム番号未満の描画フレーム番号に対する画像データを出力する場合、すなわち3次元シーン表示データを表示する場合は、スイッチは3Dシーンレンダリング部6側に切替えられ、また、切替フレーム番号以上のフレーム番号に対する画像データを出力する場合、すなわち動画データを表示する場合は、動画デコード部2側に切替えられ、ビデオメモリ部15において、出力された画像データが保持される。
【0007】
【発明が解決しようとする課題】
しかしながら、上記の従来の構成では、予め動画との切替え遷移時のカメラデータがシナリオ固有のものであるため、任意の時刻に動画と3次元グラフィックとの切替えができない。また、3次元グラフィックで表示されるマッピングされた動画は、マッピングする3次元形状に当てられた光の影響を加味するため、動画素材と全く同じ色に描画されない。そのため、動画と3次元グラフィックとの描画の切替えがシームレスにならないという問題を有していた。
【0008】
本発明は、このような描画装置において、動画中の任意の時刻に動画貼りつけ領域にズームイン、あるいは、ズームアウトをして3次元グラフィックと動画再生を切替え、かつ切替え時の描画データが、シームレスに再生できる描画データを生成することを目的とする。
【0009】
【課題を解決するための手段】
本発明の描画装置においては、動画を貼りつける3次元形状の表面の領域いっぱいを視野に持つカメラデータを含むカメラキーフレームデータと、描画フレームレートを保存するシナリオデータ保存部と、動画と3次元グラフィックの表示を切替える時刻と切替までに所要する時間とを入力し、前記シナリオデータ保存部に記録されている前記描画フレームレートから、動画と3次元グラフィックの表示を切替える時刻に対応する切替フレーム番号と切替わりの遷移開始フレーム番号を出力する切替フレーム指定部と、前記切替フレーム指定部より入力した前記切替フレーム番号と、前記シナリオデータ保存部に記録されたカメラキーフレームデータに基づき、前記切替フレーム指定部より入力した遷移開始フレーム番号におけるカメラキーフレームデータを生成する第1の遷移カメラキーフレーム算出部と、前記第1の遷移カメラキーフレーム算出部により生成された、遷移開始フレーム番号におけるカメラキーフレームデータと、前記シナリオデータ保存部に記録された、動画を貼りつける3次元形状の表面の領域いっぱいを視野に持つカメラデータを含むカメラキーフレームデータに基づき、描画するフレームにおけるカメラデータを生成する描画フレーム補間生成部と、3次元グラフィックデータを保存する3DCGデータ保存部と、圧縮動画データを保存する圧縮動画データ保存部と、前記圧縮動画データ保存部の圧縮データとフレーム番号に基づき、フレーム番号に対応する動画データを生成する動画デコード部と、フレーム番号から前記動画デコード部の出力先を切り替える第1のスイッチと、前記第1のスイッチより出力された前記動画デコード部の動画データを記憶するテクスチャバッファ部と、前記描画フレーム補間生成部により生成された、描画するフレームのカメラデータおよび描画フレーム番号と、前記3DCGデータ保存部に記憶された3次元グラフィックデータに基づき、描画フレーム番号における3次元シーン表示データを生成する3Dシーンレンダリング部と、フレーム番号に基づき、前記第1のスイッチより出力された前記動画デコード部の動画データと前記3Dシーンレンダリング部により生成された3次元シーン表示データのいずれかを出力させる第2のスイッチと、前記第2のスイッチより出力された表示データを格納するビデオメモリ部とを具備することを特徴としたものである。
【0010】
この本発明によれば、動画中の任意の時刻に、3次元グラフィックと動画再生を切替えることが可能な描画装置が得られる。
【0011】
【発明の実施の形態】
請求項1に記載の発明は、動画を貼りつける3次元形状の表面の領域いっぱいを視野に持つカメラデータを含むカメラキーフレームデータと、描画フレームレートを保存するシナリオデータ保存部と、動画と3次元グラフィックの表示を切替える時刻と切替までに所要する時間とを入力し、前記シナリオデータ保存部に記録されている前記描画フレームレートから、動画と3次元グラフィックの表示を切替える時刻に対応する切替フレーム番号と切替わりの遷移開始フレーム番号を出力する切替フレーム指定部と、前記切替フレーム指定部より入力した前記切替フレーム番号と、前記シナリオデータ保存部に記録されたカメラキーフレームデータに基づき、前記切替フレーム指定部より入力した遷移開始フレーム番号におけるカメラキーフレームデータを生成する第1の遷移カメラキーフレーム算出部と、前記第1の遷移カメラキーフレーム算出部により生成された、遷移開始フレーム番号におけるカメラキーフレームデータと、前記シナリオデータ保存部に記録された、動画を貼りつける3次元形状の表面の領域いっぱいを視野に持つカメラデータを含むカメラキーフレームデータに基づき、描画するフレームにおけるカメラデータを生成する描画フレーム補間生成部と、3次元グラフィックデータを保存する3DCGデータ保存部と、圧縮動画データを保存する圧縮動画データ保存部と、前記圧縮動画データ保存部の圧縮データとフレーム番号に基づき、フレーム番号に対応する動画データを生成する動画デコード部と、フレーム番号から前記動画デコード部の出力先を切り替える第1のスイッチと、前記第1のスイッチより出力された前記動画デコード部の動画データを記憶するテクスチャバッファ部と、前記描画フレーム補間生成部により生成された、描画するフレームのカメラデータおよび描画フレーム番号と、前記3DCGデータ保存部に記憶された3次元グラフィックデータに基づき、描画フレーム番号における3次元シーン表示データを生成する3Dシーンレンダリング部と、フレーム番号に基づき、前記第1のスイッチより出力された前記動画デコード部の動画データと前記3Dシーンレンダリング部により生成された3次元シーン表示データのいずれかを出力させる第2のスイッチと、前記第2のスイッチより出力された表示データを格納するビデオメモリ部とを具備することを特徴としたものであり、
3Dシーンに設定されたカメラデータに基づき遷移開始フレーム番号におけるカメラキーフレームデータを算出し、算出したカメラキーフレームデータと3次元グラフィックから動画へ表示を切替える切替フレーム番号における動画貼りつけ領域に視野いっぱいにズームしたカメラデータをカメラキーフレームデータの標本値に追加し、各描画フレーム番号に対応するカメラデータを算出することにより、任意に3次元グラフィックの表示と動画を切替えるフレームを設定でき、動画貼りつけ表面に次第にズームインをして動画単独の映像に切替えることができるという作用を有する。
【0012】
また請求項2に記載の発明は、上記請求項1に記載の発明であって、3Dシーンレンダリング部を、描画フレーム補間生成部により生成された、描画するフレームのカメラデータおよび描画フレーム番号と、前記3DCGデータ保存部に記憶された3次元グラフィックデータに基づき、3次元形状データの頂点のカメラデータに基づき定義される平面における位置データと輝度データとテクスチャ座標とを算出するジオメトリ演算部と、前記ジオメトリ演算部により算出された遷移開始フレーム番号におけるテクスチャ貼付け対象となる頂点の輝度データと、切替フレーム指定部から入力した切替フレーム番号と遷移開始フレーム番号を保持し、遷移開始フレーム番号から切替フレーム番号の間のフレーム番号に対応する演算をする場合に、前記ジオメトリ演算部において算出された輝度データから、テクスチャ貼付け対象となる頂点の輝度データを補正する第1の頂点輝度補正部と、前記ジオメトリ演算部と前記第1の頂点輝度補正部から算出された位置データと輝度データとテクスチャ座標に基づき、テクスチャバッファ部を参照し、3次元シーン表示データを算出するピクセル演算部とから構成し、第2のスイッチは、フレーム番号に基づき、動画デコード部の動画データと前記ピクセル部より生成された3次元シーン表示データのいずれかを出力させることを特徴としたものであり、
遷移開始フレームにおける動画貼りつけ表面のポリゴンの頂点の輝度データを使用し、遷移時間区間のフレームにおける動画貼りつけ表面のポリゴンの頂点の輝度データを補正することにより、動画と3次元グラフィックの表示の切替え時に動画の色に関してスムーズに切替えることができ、動画へ表示データを切替えた時の違和感を解消できるという作用を有する。
【0013】
また請求項3に記載の発明は、動画を貼りつける3次元形状の表面の領域いっぱいを視野に持つカメラデータを含むカメラキーフレームデータと、描画フレームレートを保存するシナリオデータ保存部と、動画と3次元グラフィックの表示を切替える時刻と切替え遷移終了までに所要する時間とを入力し、前記シナリオデータ保存部に記録されている前記描画フレームレートから、動画と3次元グラフィックの表示を切替える時刻に対応する切替フレーム番号と切替りの遷移終了フレーム番号を出力する切替フレーム指定部と、前記切替フレーム指定部より入力した前記切替フレーム番号と、前記シナリオデータ保存部に記録されたカメラキーフレームデータに基づき、切替フレーム指定部より入力した遷移終了フレーム番号におけるカメラキーフレームデータを生成する第2の遷移カメラキーフレーム算出部と、前記第2の遷移カメラキーフレーム算出部により生成された、遷移終了フレーム番号におけるカメラキーフレームデータと、前記シナリオデータ保存部に記録された、動画を貼りつける3次元形状の表面の領域いっぱいを視野に持つカメラデータを含むカメラキーフレームデータに基づき、描画するフレームにおけるカメラデータを生成する描画フレーム補間生成部と、3次元グラフィックデータを保存する3DCGデータ保存部と、圧縮動画データを保存する圧縮動画データ保存部と、前記圧縮動画データ保存部の圧縮データとフレーム番号に基づき、フレーム番号に対応する動画データを生成する動画デコード部と、フレーム番号から前記動画デコード部の出力先を切り替える第1のスイッチと、前記第1のスイッチより出力された前記動画デコード部の動画データを記憶するテクスチャバッファ部と、前記描画フレーム補間生成部により生成された、描画するフレームのカメラデータおよび描画フレーム番号と、前記3DCGデータ保存部に記憶された3次元グラフィックデータに基づき、描画フレーム番号における3次元シーン表示データを生成する3Dシーンレンダリング部と、フレーム番号に基づき、前記第1のスイッチより出力された動画デコード部の動画データと前記3Dシーンレンダリング部により生成された3次元シーン表示データのいずれかを出力させる第2のスイッチと、前記第2のスイッチより出力された表示データを格納するビデオメモリ部とを具備することを特徴としたものであり、
カメラデータに基づき遷移終了フレームにおける動画貼りつけ領域に視野いっぱいにズームしたカメラキーフレームデータを算出し、算出したカメラキーフレームデータと動画と3次元グラフィックの表示を切替える切替フレーム番号のカメラデータをカメラキーフレームデータの標本値に追加し、各描画フレーム番号に対応するカメラデータを算出することにより、任意に動画から3次元グラフィックへ表示を切替えるフレームを設定でき、動画単独の映像から動画貼りつけ表面に次第にズームアウトして切替えることができるという作用を有する。
【0014】
また請求項4に記載の発明は、請求項3に記載の発明であって、第2の遷移カメラキーフレーム算出部により生成された、遷移終了フレーム番号におけるカメラキーフレームデータと、3DCGデータ保存部に記憶された3次元グラフィックデータに基づき、遷移終了フレーム番号における、3次元形状データの頂点の位置データとテクスチャ座標と輝度データとを算出する切替終了フレーム輝度演算部を具備し、3Dシーンレンダリング部を、3DCGデータ保存部に記憶された3次元グラフィックデータと描画フレーム補間生成部により生成されたカメラデータおよび描画フレーム番号に基づいて、3次元形状データの頂点のカメラデータに基づき定義される平面における位置データと輝度データとテクスチャ座標とを算出するジオメトリ演算部と、前記切替終了フレーム輝度演算部により算出された、遷移終了フレーム番号におけるテクスチャ貼付け対象となる頂点の輝度データと、切替フレーム指定部より入力した切替フレーム番号と遷移終了フレーム番号を保持し、前記切替フレーム番号から遷移終了フレーム番号の間のフレーム番号に対応する演算をする場合に、前記ジオメトリ演算部により算出された輝度データから、テクスチャ貼付け対象となる頂点の輝度データを補正する第2の頂点輝度補正部と、前記ジオメトリ演算部と前記第2の頂点輝度補正部において算出された位置データと輝度データとテクスチャ座標に基づき、テクスチャバッファ部を参照し、3次元シーン表示データを算出するピクセル演算部とから構成し、第2のスイッチは、フレーム番号に基づき、動画デコード部の動画データと前記ピクセル部より生成された3次元シーン表示データのいずれかを出力させることを特徴としたものであり、
遷移終了フレームにおける動画貼りつけ表面のポリゴンの頂点の輝度データを使用し、遷移時間区間のフレームにおける動画貼りつけ表面のポリゴンの頂点の輝度データを補正することにより、動画から3次元グラフィックへの表示切替え時に動画の色に関してスムーズに切替えることができ、3次元グラフィックへ表示データを切替えた時の違和感を解消できるという作用を有する。
【0015】
以下、本発明の実施の形態を図面に基づいて説明する。なお、従来例の図10の構成と同一の構成には同一の符号を付して説明を省略する。
[実施の形態1]
図1は本発明の実施の形態1における描画装置の構成図である。
本発明の描画装置は、従来の描画装置の描画フレーム補間生成部110に代えて、描画フレーム補間生成部10を設け、従来の描画装置のシナリオデータ保存部111に代えて、シナリオデータ保存部11を設け、さらに第1の遷移カメラキーフレーム算出部12と、切替フレーム指定部13を新たに設けている。
【0016】
上記シナリオデータ保存部11には、カメラキーフレームのデータが保存される。
また上記切替フレーム指定部13は、動画と3次元グラフィックの表示を切替える時刻と切替までに所要する時間とを入力し、動画と3次元グラフィックの表示を切替える時刻に対応する切替フレーム番号feと切替わり遷移開始フレーム番号fsを出力する。
【0017】
上記第1の遷移カメラキーフレーム算出部12は、切替フレーム指定部13より切替フレーム番号feと遷移開始フレーム番号fsを入力し、シナリオデータ保存部11に記録されたカメラキーフレームデータに基づき、遷移開始フレーム番号fsにおけるカメラデータを生成する。
また描画フレーム補間生成部10は、第1の遷移カメラキーフレーム算出部12により生成された、遷移開始フレーム番号fsにおけるカメラキーフレームデータと、シナリオデータ保存部11に記録されたカメラキーフレームデータに基づき、描画するフレームにおけるカメラデータを生成する。
【0018】
図2は本発明の実施の形態1における描画フレーム補間生成部10が算出するカメラデータの概念図である。
図2において、31は動画を貼りつける表面、Ck0とCk1とCk2とCk3とCk4とCknは、シナリオデータ保存部11に保存されており、描画対象となっている3次元シーンに設定されているカメラキーフレームデータ、Cfsは第1の遷移カメラキーフレーム算出部12により算出された遷移開始フレーム番号fsにおけるカメラデータ、Cfeは切替フレーム番号feにおけるカメラデータ、32は描画フレーム補間生成部10により算出されたカメラデータの位置の軌跡である。
【0019】
図3は本発明の実施の形態1における描画装置が描画する映像のイメージ図であり、図3(a)は、遷移開始フレーム番号fsにおける表示データ、図3(b)は切替え遷移中のフレーム番号における表示データ、図3(c)は動画と3次元グラフィックの表示を切替える切替フレーム番号feにおける表示データを示す。
【0020】
以上のように構成された描画装置において、以下その動作を説明する。今、本実施の形態1の描画装置は、動画が貼り付ている面は、貼り付けている動画とアスペクト比が一致しており、矩形の4角に映像の4角が合うよう貼り付けられている映像を描画しているとする。
まず、切替フレーム指定部13において、動画と3次元グラフィックの表示を切替える時刻と切替までに所要する時間とを対話入力する。切替フレーム指定部13は、シナリオデータ保存部11に記録されている描画フレームレートから、動画と3次元グラフィックの表示を切替える切替フレーム番号feと切替りの遷移を開始する遷移開始フレーム番号fsを算出する。
【0021】
次に、第1の遷移カメラキーフレーム算出部12は、切替フレーム指定部13より切替フレーム番号feと遷移開始フレーム番号fsを入力し、遷移開始フレーム番号fsよりも順に2つの小さい描画フレーム番号に割り当てられたカメラデータと、遷移開始フレーム番号fsよりも順に2つの大きい描画フレーム番号に割り当てられたカメラデータとをシナリオデータ保存部11から参照する。これらのデータを標本値として3次のスプライン関数を用いてスプライン補間を施し、補間曲線を決定し、これにより、遷移開始フレーム番号fsにおけるカメラデータを算出する。たとえば図2においては、第1の遷移カメラキーフレーム算出部12は、描画フレーム番号k1のカメラデータCk1と描画フレーム番号k2のカメラデータCk2と描画フレーム番号k3のカメラデータCk3と描画フレーム番号k4のカメラデータCk4とから、3次のスプライン関数を決定し、遷移開始フレーム番号fsにおけるカメラデータを算出する。
【0022】
次に、描画フレーム補間生成部10において、各描画フレーム番号に対応するカメラデータを生成する。この描画フレーム補間生成部10は、第1の遷移カメラキーフレーム算出部12において算出された遷移開始フレーム番号fsにおけるカメラデータをカメラキーフレームとして保持する。ここで、シナリオデータ保存部11に、動画を貼りつける表面の領域いっぱいを視野に持つカメラデータが、動画を貼りつける表面の中心から相対的に表現されているとする。このカメラデータをワールド座標系で表現し、切替フレーム番号feにおけるカメラデータを求める。これら2つのデータをカメラキーフレームデータとして標本値に加え、3次のスプライン関数を用いてスプライン補間を施し、描画フレーム番号に対するカメラデータを算出する。たとえば図2においては、遷移開始フレーム番号fsにおけるカメラデータCfsと切替完了フレーム番号feにおけるカメラデータCfeを標本値として加え、切替完了フレーム番号feまでのカメラデータを算出する。たとえば、算出されたカメラデータの位置は、32に示すようになる。
【0023】
次に動画デコード部2は、データを圧縮動画データ保存部1より取得し、このデータに対するデコード方式に従って、デコードし描画フレーム番号に対応する動画データを生成する。
第1のスイッチ3は、切替フレーム指定部13において設定された切替フレーム番号feを保持しており、第1のスイッチ3において、切替フレーム番号fe未満の描画フレーム番号に対する画像データを出力する場合は、スイッチをテクスチャバッファ部4側に切替え、また、この切替フレーム番号fe以上の描画フレーム番号に対する画像データを出力する場合は、第2のスイッチ14側(ビデオメモリ部15側)に切替える。
【0024】
次に、テクスチャバッファ部4において、動画デコード部2において生成された動画データを保持する。
次に、3Dシーンレンダリング部6において、描画フレーム番号に対応する3次元シーン表示データを生成する。
第2のスイッチ14は、切替フレーム指定部13において設定された切替フレーム番号feを保持しており、第2のスイッチ14において、切替フレーム番号fe未満のフレーム番号に対する画像データを出力する場合は、スイッチを3Dシーンレンダリング部6側に切替え、また、切替フレーム番号fe以上のフレーム番号に対する画像データを出力する場合は、動画デコード部2側に切替える。
【0025】
最後に、ビデオメモリ部15は、出力された画像データを保持する。
上記の構成の描画装置を用いて描画した映像のイメージ図を図3に示す。本実施の形態の描画装置は、3次元グラフィックの表示から動画の表示に切替える際に図3(a)、(b)、(c)という遷移を経て動画領域にズームインする表示データを生成する。
【0026】
このように、3Dシーンに設定されたカメラデータに基づき遷移開始フレーム番号fsにおけるカメラキーフレームデータを算出し、算出したカメラキーフレームデータと3次元グラフィックから動画へ表示を切替える切替フレーム番号feにおける動画貼りつけ領域に視野いっぱいにズームしたカメラデータをカメラキーフレームデータの標本値に追加し、各描画フレーム番号に対応するカメラデータを算出することにより、外部より入力された、動画と3次元グラフィックの表示を切替える時刻と切替までに所要する時間に対応して、任意に3次元グラフィックの表示と動画を切替えるフレームを設定でき、動画貼りつけ表面に次第にズームインをして動画単独の映像に切替えることができる。
【0027】
なお、実施の形態1では、第1の遷移カメラキーフレーム算出部12と描画フレーム補間生成部10は3次のスプライン補間によりカメラデータを生成したが、他の補間アルゴリズムにより算出してもよい。
[実施の形態2]
図4は本発明の実施の形態2における描画装置の構成図である。
【0028】
実施の形態2における描画装置は、図1に示す実施の形態1において、3Dシーンレンダリング6を、ジオメトリ演算部7と、第1の頂点輝度補正部8と、ピクセル演算部9により構成している。
ジオメトリ演算部7は、3DCGデータ保存部5に保存された3次元グラフィックデータと、描画フレーム補間生成部10において生成されたカメラデータおよび描画フレーム番号から、3次元形状データの頂点のカメラデータに基づき定義される平面における位置データと輝度データとテクスチャ座標とを算出する。
【0029】
また第1の頂点輝度補正部8は、ジオメトリ演算部7において算出された切替遷移開始フレーム番号fsにおけるテクスチャ貼付け対象となる頂点の輝度データと、切替フレーム指定部13により指定された切替フレーム番号feと切替わり遷移開始フレーム番号fsを保持し、切替わり遷移開始フレーム番号fsから切替フレーム番号feの間のフレーム番号に対応する演算をする場合に、算出された遷移開始フレーム番号fsにおける輝度データから、テクスチャ貼付け対象となる頂点の輝度データを設定する。
【0030】
またピクセル演算部9は、ジオメトリ演算部7と第1の頂点輝度補正部8から算出された位置データと輝度データとテクスチャ座標に基づき、テクスチャバッファ部4を参照し、3次元シーン表示データを算出する。
図5は本発明の実施の形態2における動画を貼り付ける表面の頂点の概念図である。図5において、矩形領域P1、P2、P3、P4は、動画を貼り付ける表面の図であり、P1、P2、P3、P4は、それぞれ、その表面の頂点である。
【0031】
以上のように構成された描画装置において、以下その動作を説明する。今、本実施の形態2の描画装置は、動画が貼り付ている面は、貼り付けている動画とアスペクト比が一致しており、矩形の4角であるP1、P2、P3、P4と映像の4角が合うよう貼り付けられている映像を描画しているとする。
ジオメトリ演算部7においては、描画フレーム番号に対応するカメラデータに基づき、3DCGデータ保存部5から読み出した3次元形状データに透視変換を施し、各ポリゴンの頂点の位置データ(スクリーン座標値)と輝度データとテクスチャ座標が出力される。たとえば、図5に示すような動画を貼り付ける表面の頂点については、表1に示すデータが算出される。
【0032】
【表1】
第1の頂点輝度補正部8においては、まず、切替フレーム指定部13により指定された切替完了フレーム番号feと遷移開始フレーム番号fsを記憶する。次に動画を貼りつけるポリゴンの頂点の輝度データを、描画フレーム番号が、切替遷移開始フレーム番号fsから切替フレーム番号feまでの間、修正をする。
【0033】
以下、第1の頂点輝度補正部8における上記修正の方法を説明する。
まず、ジオメトリ演算部7においてある描画フレームに対しての頂点データを算出したとき、動画を貼りつける全てのポリゴンの頂点であるP1、P2、P3、P4(図5)に対するIDを保持する。
次に、ジオメトリ演算部7で算出された遷移開始フレーム番号fsにおける各ポリゴン頂点のデータから、動画を貼りつけるポリゴンの頂点の輝度データを抽出する。ここでは、P1、P2、P3、P4に対する輝度データが抽出される。
【0034】
次に、遷移開始フレーム番号fsから切替完了フレーム番号feまでの間の1フレーム当たりの輝度の補正率を算出する。輝度データは、r成分、g成分、b成分の3つの成分で与えられるが、いずれも同様に算出できるため、ここでは、頂点P1のr成分の輝度データの補正率を考える。fsからfe内の任意の描画フレーム番号をft、ftにおけるポリゴン頂点P1の輝度データのr成分をIp1r(ft)とすると、輝度補正率は式(1)のように求まる。ここで輝度値Ip1rは正規化された値とする。
【0035】
ΔIp1r={1−Ip1r(fs)}/(fe−fs)…(1)
以上の方法で得られた1フレーム当たりの輝度の補正率を使い、遷移開始フレーム番号fsから切替フレーム番号feまでの間、動画を貼りつけるポリゴン頂点の輝度データに対して補正をする。たとえば、図5に示すような動画を貼り付ける表面の頂点の中のP1の輝度のr成分は、式(2)のようにして求まる。
【0036】
以上が、第1の頂点輝度補正部8における輝度修正の方法である。
ピクセル演算部9においては、描画フレーム番号における3次元形状データの頂点の位置データと輝度データとテクスチャ座標と動画を貼りつける領域の頂点の輝度の修正値を用いて3次元シーン表示データ(ピクセルデータ)を算出する。
【0037】
動画を貼りつける領域のピクセルデータについては、ジオメトリ演算部7から出力されたテクスチャ座標に対応した頂点の輝度値をテクスチャバッファ部4から参照する。ftにおけるテクスチャバッファ部4から参照したポリゴン頂点P1のテクスチャの輝度のr成分を、Ip1Tr(ft)とすると、ポリゴン頂点P1の表示データの輝度値のr成分は式(3)で決定される。ここで輝度値Ip1Tr(ft)は正規化されていない値である。
【0038】
Ip1r(ft)×Ip1Tr(ft)…(3)
式(3)で求められる輝度値とジオメトリ演算部7で算出された各ポリゴンの頂点データを補完し、表示画面の3次元シーン表示データ(ピクセルデータ)を算出する。
このように、第1の頂点輝度補正部8において遷移開始フレーム番号fsにおける動画貼りつけ表面のポリゴンの頂点の輝度データを使用し、遷移時間区間のフレームにおける動画貼りつけ表面のポリゴンの頂点の輝度データを補正することにより、動画と3次元グラフィックの表示の切替え時に動画の色に関してスムーズに切替えることができ、動画へ表示データを切替えた時の違和感を解消できる。
【0039】
なお、実施の形態2では、第1の頂点輝度補正部8は、線形に輝度データの補正率を決定したが、滑らかに輝度データが目標輝度データに変化する補正であればよい。
[実施の形態3]
図6は本発明の実施の形態3における描画装置の構成図である。
【0040】
実施の形態3における描画装置では、実施の形態1における描画装置の構成において、切替フレーム指定部13に代えて切替フレーム指定部18を設け、第1の遷移カメラキーフレーム算出部12に代えて第2の遷移カメラキーフレーム算出部21を設けている。
上記切替フレーム指定部18は、動画と3次元グラフィックの表示を切替える時刻と切替え遷移終了までに所要する時間とを入力し、動画と3次元グラフィックの表示を切替える時刻に対応する切替フレーム番号fsと切替りの遷移終了フレーム番号feを出力する。
【0041】
また上記第2の遷移カメラキーフレーム算出部21は、切替フレーム指定部18より入力した、切替フレーム番号fsと、シナリオデータ保存部11に記録されたカメラキーフレームデータに基づき、切替わりの遷移終了フレーム番号feにおけるカメラデータを生成する。
図7は本発明の実施の形態3における描画フレーム補間生成部10が算出するカメラデータの概念図である。図7において、31は動画を貼りつける表面、Ck0とCk1とCk2とCk3とCk4とCk5とCknは、シナリオデータ保存部11に保存されており、描画対象となっている3Dシーンに設定されているカメラキーフレームデータ、Cfeは第2の遷移カメラキーフレーム算出部21から算出された遷移終了フレーム番号feにおけるカメラデータ、Cfsは切替フレーム番号fsにおけるカメラデータ、33は描画フレーム補間生成部10により算出されたカメラデータの位置の軌跡である。
【0042】
図8は本発明の実施の形態3における描画装置が描画する映像のイメージ図である。図8(a)は動画と3次元グラフィックの表示を切替える切替フレーム番号fsにおける表示データ、図8(b)は切替え遷移中のフレーム番号における表示データ、図8(c)は遷移終了フレーム番号feにおける表示データである。
【0043】
以上のように構成された描画装置において、以下その動作を説明する。今、本実施の形態3の描画装置は、動画が貼り付ている面は、貼り付けている動画とアスペクト比が一致しており、矩形の4角に映像の4角が合うよう貼り付けられている映像を描画とする。
まず、切替フレーム指定部18において、動画と3次元グラフィックの表示を切替える時刻と切替遷移終了までに所要する時間とを対話入力する。切替フレーム指定部18は、シナリオデータ保存部11に記録されている描画フレームレートから、動画と3次元グラフィックの表示を切替える切替フレーム番号fsと切替りの遷移を終了する遷移終了フレーム番号feを算出する。
【0044】
次に、第2の遷移カメラキーフレーム算出部21は、遷移終了フレーム番号feよりも順に2つの小さいフレーム番号に割り当てられたカメラデータと、遷移終了フレーム番号feよりも順に2つの大きいフレーム番号に割り当てられたカメラデータとをシナリオデータ保存部11から参照する。これらのデータを標本値として3次のスプライン関数を用いてスプライン補間を施し、補間曲線を決定し、これにより、遷移終了フレーム番号feにおけるカメラデータを算出する。たとえば図7においては、第2の遷移カメラキーフレーム算出部21は、フレーム番号k2のカメラデータCk2とフレーム番号k3のカメラデータCk3とフレーム番号k4のカメラデータCk4とフレーム番号k5のカメラデータCk5とから、3次のスプライン関数を決定し、遷移終了フレーム番号feにおけるカメラデータを算出する。
【0045】
次に、描画フレーム補間生成部10において、各描画フレーム番号に対応するカメラデータを生成する。この描画フレーム補間生成部10は、第2の遷移カメラキーフレーム算出部21において算出された遷移終了フレーム番号feにおけるカメラデータをカメラキーフレームとして保持する。ここで、シナリオデータ保存部11に動画を貼りつける表面の領域いっぱいを視野に持つカメラデータが、動画を貼りつける表面の中心から相対的に表現されて保存されているとする。このカメラデータをワールド座標系で表現し、動画と3次元グラフィックの表示を切替える切替フレーム番号fsにおけるカメラデータを求める。これら2つのデータをカメラキーフレームデータとして標本値に加え、3次のスプライン関数を用いてスプライン補間を施し、描画フレーム番号に対するカメラデータを算出する。たとえば図7においては、動画と3次元グラフィックの表示を切り替える切替フレーム番号fsにおけるカメラデータCfsと遷移終了フレームfeにおけるカメラデータCfeを標本値として加え、遷移終了フレームfeまでのカメラデータを算出する。たとえば、算出されたカメラデータの位置は、33に示すようになる。
【0046】
次に動画デコード部2は、描画フレーム番号に対応する動画データを圧縮動画データ保存部1より取得し、このデータをデコード方式に従って、デコードし動画データを生成する。
第1のスイッチ3は、切替フレーム指定部18において設定された切替フレーム番号fsを保持しており、第1のスイッチ3において、切替フレーム番号fs未満の描画フレーム番号に対する画像データを出力する場合は、スイッチをビデオメモリ部15側に切替え、また、このフレーム番号fs以上の描画フレーム番号に対する画像データを出力する場合は、テクスチャバッファ部4側に切替える。
【0047】
次に、テクスチャバッファ部4において、動画デコード部2において生成された動画データを保持する。
次に、3Dシーンレンダリング部6において、描画フレーム番号に対応する3Dシーンの画像データを生成する。
第2のスイッチ14は、切替フレーム指定部18において設定された切替フレーム番号fsを保持しており、第2のスイッチ14において、切替フレーム番号fs未満のフレーム番号に対する画像データを出力する場合は、スイッチを第1のスイッチ3側(動画デコード部2側)に切替え、また、このフレーム番号fs以上のフレーム番号に対する画像データを出力する場合は、3Dシーンレンダリング部6側に切替える。
【0048】
最後に、ビデオメモリ部15は、出力された画像データを保持する。
上記の構成の描画装置を用いて描画した映像のイメージ図を図8に示す。本実施の形態の描画装置は、動画の表示から3次元グラフィックの表示に切替える際に図8(a)、(b)、(c)という遷移を経て動画領域をズームアウトする表示データを生成する。
【0049】
このように、第2の遷移カメラキーフレーム算出部21において遷移終了フレーム番号feにおけるカメラデータを算出し、算出したカメラキーフレームデータ、および動画と3次元グラフィックの表示を切替える切替フレーム番号fsのカメラデータをカメラキーフレームデータの標本値に追加し、各描画フレーム番号に対応するカメラデータを算出することにより、外部より入力された動画と3次元グラフィックの表示を切替える時刻と切替までに所要する時間に対応して任意に動画から3次元グラフィックへ表示を切替えるフレームが設定でき、動画単独の映像から動画貼りつけ表面に次第にズームアウトして切替えることができる。
【0050】
なお、実施の形態3では、第2の遷移カメラキーフレーム算出部21と描画フレーム補間生成部10は3次のスプライン補間によりカメラデータを生成したが、他の補間アルゴリズムにより算出してもよい。
[実施の形態4]
図9は本発明の実施の形態4における描画装置の構成図である。
【0051】
実施の形態4における描画装置は、図6に示す実施の形態3において、切替終了フレーム輝度演算部20を付加し、3Dシーンレンダリング部6を、ジオメトリ演算部7と、第2の頂点輝度補正部22と、ピクセル演算部9により構成している。
切替終了フレーム輝度演算部20は、第2の遷移カメラキーフレーム算出部21において生成された遷移終了フレーム番号feにおけるカメラデータと、3DCGデータ保存部5に保持された3次元形状データに基づき、遷移終了フレーム番号feにおける、3次元形状データの頂点の位置データとテクスチャ座標と輝度データとを算出する。
【0052】
また第2の頂点輝度補正部22は、切替終了フレーム輝度演算部20により算出された遷移終了フレーム番号feにおけるテクスチャ貼付け対象となる頂点の輝度データと、切替フレーム指定部18により指定された切替フレーム番号fsと遷移終了フレーム番号feを保持し、切替フレーム番号fsから遷移終了フレーム番号feの間のフレーム番号に対応する演算をする場合に、算出された遷移終了フレーム番号ftにおける輝度データから、テクスチャ貼付け対象となる頂点の輝度データを補正する。
【0053】
なお、ジオメトリ演算部7とピクセル演算部9は、図4に示す実施の形態2のジオメトリ演算部7とピクセル演算部9と同一である。
以上のように構成された描画装置において、以下その動作を説明する。今、本実施の形態4の描画装置は、動画が貼り付ている面は、貼り付けている動画とアスペクト比が一致しており、図5に示す矩形の4角であるP1、P2、P3、P4と映像の4角が合うよう貼り付けられている映像を描画している。
【0054】
切替終了フレーム輝度演算部20において、第2の遷移カメラキーフレーム算出部21で算出された遷移終了フレーム番号feのカメラデータと3DCGデータ保存部5から読み出した形状データから、各ポリゴンの頂点データを算出し、動画を貼り付ける全てのポリゴンの頂点のIDとその頂点に対する輝度データを抽出し、第2の頂点輝度補正部22が、これらのデータを保持する。このデータは、切替フレーム指定部18において動画と3次元グラフィックの表示を切替える時刻と切替遷移終了までに所要する時間が入力されたときに、算出される。
【0055】
ジオメトリ演算部7においては、描画フレーム番号に対応するカメラデータに基づき、3DCGデータ保存部5から読み出した3次元形状データに透視変換を施し、各ポリゴンの頂点の位置データ(スクリーン座標値)と輝度データとテクスチャ座標が出力される。たとえば、図5に示すような動画を貼り付ける表面の頂点については、表2に示すデータが算出される。
【0056】
【表2】
第2の頂点輝度補正部22においては、まず、切替フレーム指定部18から入力した切替フレーム番号fsと遷移終了フレーム番号feと、切替え終了フレーム輝度演算部20からの出力である、動画を貼りつける全てのポリゴンの頂点IDとその頂点の輝度データを記憶する。次に、動画を貼りつけるポリゴンの頂点の輝度データを、描画フレーム番号が、切替フレーム番号fsから切替遷移終了フレーム番号feまでの間、修正をする。
【0057】
以下、第2の頂点輝度補正部22における上記修正の方法を説明する。
まず、フレーム番号fsからfeまでの間の1フレーム当たりの輝度の補正率を算出する。輝度データは、r成分、g成分、b成分の3つの成分で与えられるが、いずれも同様に算出できるため、ここでは、頂点P1のr成分の輝度データの補正率を考える。fsからfe内の任意の描画フレーム番号を描画フレーム番号をft、ftにおけるポリゴン頂点P1の輝度データのr成分をIp1r(ft)とすると、輝度補正率は式(4)のように求まる。
【0058】
ΔIp1r={1−Ip1r(fe)}/(fe−fs)…(4)
以上の方法で得られた1フレーム当たりの輝度の補正率を使い、切替フレーム番号fsから遷移終了フレーム番号feまでの間、動画を貼りつけるポリゴン頂点の輝度データに対して補正をする。たとえば、図5に示すような動画を貼り付ける表面の頂点の中のP1の輝度のr成分は、式(5)のようにして求まる。
【0059】
以上が、第2の頂点輝度補正部22における輝度修正の方法である。
ピクセル演算部9においては、描画フレーム番号における3次元形状データの頂点の位置データと輝度データとテクスチャ座標と動画を貼りつける領域の頂点の輝度の修正値を用いて3次元シーン表示データ(ピクセルデータ)を算出する。
【0060】
動画を貼りつける領域のピクセルデータについては、ジオメトリ演算部7から出力されたテクスチャ座標に対応した頂点の輝度値をテクスチャバッファ部4から参照する。ftにおけるテクスチャバッファ部4から参照したポリゴン頂点P1のテクスチャの輝度のr成分を、Ip1Tr(ft)とすると、ポリゴン頂点P1の表示データの輝度値のr成分は式(6)で決定される。ここで輝度値Ip1Tr(ft)は正規化されていない値である。
【0061】
Ip1r(ft)×Ip1Tr(ft)…(6)
式(6)で求められる輝度値とジオメトリ演算部7で算出された各ポリゴンの頂点データを補完し、表示画面の3次元シーン表示データ(ピクセルデータ)を算出する。
このように、遷移終了フレーム番号feにおける動画貼りつけ表面のポリゴンの頂点の輝度データを使用し、遷移時間区間のフレームにおける動画貼りつけ表面のポリゴンの頂点の輝度データを補正することにより、動画から3次元グラフィックへの表示切替え時に動画の色に関してスムーズに切替えることができ、3次元グラフィックへ表示データを切替えた時の違和感を解消できる。
【0062】
なお、実施の形態4では、第2の頂点輝度補正部22は、線形に輝度データの補正率を決定したが、輝度データが滑らかに目標輝度データに変化する補正であればよい。
【0063】
【発明の効果】
以上のように本発明によれば、動画中の任意の時刻に、動画貼りつけ領域にズームイン、あるいはズームアウトをして3次元グラフィックと動画再生を切替えることができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1における描画装置の構成図である。
【図2】同描画装置の描画フレーム補間生成部が算出するカメラデータの概念図である。
【図3】同描画装置が描画する映像のイメージ図である。
【図4】本発明の実施の形態2における描画装置の構成図である。
【図5】同描画装置における動画を貼りつける表面の図である。
【図6】本発明の実施の形態3における描画装置の構成図である。
【図7】同描画装置の描画フレーム補間生成部が算出するカメラデータの概念図である。
【図8】同描画装置が描画する映像のイメージ図である。
【図9】本発明の実施の形態4における描画装置の構成図である。
【図10】従来の描画装置の構成図である。
【符号の説明】
1 圧縮動画データ保存部
2 動画デコード部
3 第1のスイッチ
4 テクスチャバッファ部
5 3DCGデータ保存部
6 3Dシーンレンダリング部
7 ジオメトリ演算部
8 第1の頂点輝度補正部
9 ピクセル演算部
10 描画フレーム補間生成部
11 シナリオデータ保存部
12 第1の遷移カメラキーフレーム算出部
13 切替フレーム指定部
14 第2のスイッチ
15 ビデオメモリ部
18 切替フレーム指定部
20 切替終了フレーム輝度演算部
21 第2の遷移カメラキーフレーム算出部
22 第2の頂点輝度補正部
31 動画を貼りつける表面
32 描画フレーム補間生成部10により算出されたカメラデータの位置の軌跡(動画貼りつけ領域にズームインする場合)
33 描画フレーム補間生成部10により算出されたカメラデータの位置の軌跡(動画貼りつけ領域にズームアウトする場合)[0001]
[Technical field to which the invention belongs]
The present invention relates to a drawing apparatus for generating camera data and changing luminance data of vertex data of three-dimensional shape data to which a moving image is pasted in the field of moving image and three-dimensional graphic editing.
[0002]
[Prior art]
In recent years, a drawing apparatus can draw not only three-dimensional graphics and moving images independently, but also draw both materials at the same time.
Hereinafter, an example of the conventional drawing apparatus will be described with reference to FIG. FIG. 10 is a configuration diagram of a conventional drawing apparatus.
[0003]
As shown in FIG. 10, the conventional drawing apparatus obtains compressed moving image data from the compressed moving image
Furthermore, a drawing frame
[0004]
In the scenario
The operation of the drawing apparatus configured as described above will be described below. First, the drawing frame
[0005]
Next, in the
[0006]
Next, the moving image data generated in the moving
Next, when the
[0007]
[Problems to be solved by the invention]
However, in the above-described conventional configuration, since the camera data at the time of transition switching to the moving image is specific to the scenario, switching between the moving image and the three-dimensional graphic cannot be performed at an arbitrary time. In addition, the mapped moving image displayed as a three-dimensional graphic is not drawn in the same color as the moving image material because of the influence of light applied to the three-dimensional shape to be mapped. For this reason, there has been a problem that the switching of drawing between a moving image and a three-dimensional graphic is not seamless.
[0008]
According to the present invention, in such a drawing apparatus, the moving image pasting area is zoomed in or out at any time in the moving image to switch between the three-dimensional graphic and the moving image reproduction, and the drawing data at the time of switching is seamless. An object of the present invention is to generate drawing data that can be reproduced easily.
[0009]
[Means for Solving the Problems]
In the drawing apparatus of the present invention, Camera key frame data including camera data with the entire field of view of the 3D-shaped surface to which the video is pasted, a scenario data storage unit that saves the drawing frame rate, and a time and switching that switches between video and 3D graphic display And the transition start frame number corresponding to the time for switching the display of the moving image and the 3D graphic from the drawing frame rate recorded in the scenario data storage unit. Switching frame designating section for outputting Based on the switching frame number input from the switching frame specification unit and the camera key frame data recorded in the scenario data storage unit, the camera key frame data at the transition start frame number input from the switching frame specification unit is generated. Camera key frame data at the transition start frame number generated by the first transition camera key frame calculation unit and the first transition camera key frame calculation unit, and recorded in the scenario data storage unit , Camera key frame data including camera data with a view of the entire surface area of the 3D shape to which the movie is pasted A drawing frame interpolation generation unit that generates camera data in a frame to be drawn, a 3DCG data storage unit that stores 3D graphic data, a compressed video data storage unit that stores compressed video data, and the compressed video data storage A video decoding unit that generates video data corresponding to the frame number, a first switch that switches an output destination of the video decoding unit based on the frame number, and an output from the first switch The texture buffer unit for storing the moving image data of the moving image decoding unit, the camera data and the drawing frame number of the frame to be drawn generated by the drawing frame interpolation generation unit, and the 3 stored in the 3DCG data storage unit Based on the dimensional graphic data, the drawing frame number A 3D scene rendering unit for generating 3D scene display data, a moving image data of the moving image decoding unit output from the first switch based on a frame number, and a 3D scene display generated by the 3D scene rendering unit A second switch for outputting any of the data, and a video memory unit for storing display data output from the second switch are provided.
[0010]
According to the present invention, it is possible to obtain a drawing apparatus capable of switching between three-dimensional graphics and moving image reproduction at an arbitrary time in a moving image.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
The invention described in
The camera key frame data at the transition start frame number is calculated based on the camera data set in the 3D scene, and the visual field is full in the moving image pasting area at the switching frame number for switching the display from the calculated camera key frame data and the 3D graphic to the moving image. By adding the camera data zoomed in to the sample value of the camera key frame data and calculating the camera data corresponding to each drawing frame number, it is possible to set the frame to switch between the display of 3D graphics and video, and paste the video It has the effect of gradually zooming in on the attachment surface and switching to a moving image alone.
[0012]
The invention according to
By using the luminance data of the vertex of the polygon on the animation pasting surface in the transition start frame and correcting the luminance data of the vertex of the polygon on the animation pasting surface in the frame of the transition time interval, the display of the animation and the 3D graphic is performed. The color of the moving image can be switched smoothly at the time of switching, and there is an effect that the uncomfortable feeling when the display data is switched to the moving image can be eliminated.
[0013]
The invention according to claim 3 Camera key frame data including camera data with the entire field of view of the 3D-shaped surface to which the video is pasted, a scenario data storage unit that saves the drawing frame rate, and a time that switches between video and 3D graphic display switching Input the time required until the end of the transition, and from the drawing frame rate recorded in the scenario data storage unit, the switching frame number corresponding to the time for switching the display of the moving image and the three-dimensional graphic and the end of the transition transition A switching frame designation unit for outputting a frame number; Based on the switching frame number input from the switching frame specification unit and the camera key frame data recorded in the scenario data storage unit, the camera key frame data at the transition end frame number input from the switching frame specification unit is generated. 2 transition camera key frame calculation unit and camera key frame data at the transition end frame number generated by the second transition camera key frame calculation unit, and recorded in the scenario data storage unit , Camera key frame data including camera data with a view of the entire surface area of the 3D shape to which the movie is pasted A drawing frame interpolation generation unit that generates camera data in a frame to be drawn, a 3DCG data storage unit that stores 3D graphic data, a compressed video data storage unit that stores compressed video data, and the compressed video data storage A video decoding unit that generates video data corresponding to the frame number, a first switch that switches an output destination of the video decoding unit based on the frame number, and an output from the first switch The texture buffer unit for storing the moving image data of the moving image decoding unit, the camera data and the drawing frame number of the frame to be drawn generated by the drawing frame interpolation generation unit, and the 3 stored in the 3DCG data storage unit Based on the dimensional graphic data, the drawing frame number A 3D scene rendering unit that generates 3D scene display data, a video data of a video decoding unit output from the first switch based on a frame number, and a 3D scene display data generated by the 3D scene rendering unit A second switch that outputs any one of the above, and a video memory unit that stores display data output from the second switch,
Based on the camera data, the camera key frame data zoomed to the full field of view in the moving image pasting area in the transition end frame is calculated, and the camera data of the switching frame number for switching the calculated camera key frame data, moving image, and 3D graphic display to the camera By adding to the sample value of the key frame data and calculating the camera data corresponding to each drawing frame number, it is possible to set a frame to switch the display from a moving image to a 3D graphic arbitrarily. The zoom lens can be gradually zoomed out and switched.
[0014]
The invention according to
Display from animation to 3D graphics by using the luminance data of the vertex of the polygon on the animation pasting surface in the transition end frame and correcting the luminance data of the vertex of the polygon on the animation pasting surface in the frame of the transition time section The color of the moving image can be smoothly switched at the time of switching, and there is an effect that the uncomfortable feeling when the display data is switched to the three-dimensional graphic can be eliminated.
[0015]
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, the same code | symbol is attached | subjected to the structure same as the structure of FIG. 10 of a prior art example, and description is abbreviate | omitted.
[Embodiment 1]
FIG. 1 is a configuration diagram of a drawing apparatus according to
The drawing apparatus of the present invention is a drawing frame of a conventional drawing apparatus. interpolation A drawing frame instead of the
[0016]
The scenario
The switching
[0017]
The first transition camera key
Further, the drawing frame
[0018]
FIG. 2 is a conceptual diagram of camera data calculated by the drawing frame
In FIG. 2, 31 is a surface on which a moving image is pasted, and Ck0, Ck1, Ck2, Ck3, Ck4, and Ckn are stored in the scenario
[0019]
3 is an image diagram of a video drawn by the drawing apparatus according to
[0020]
The operation of the drawing apparatus configured as described above will be described below. Now, in the drawing apparatus according to the first embodiment, the surface on which the moving image is pasted has the same aspect ratio as the pasted moving image, and is pasted so that the four corners of the video match the four corners of the rectangle. Suppose you are drawing a video.
First, the switching
[0021]
Next, the first transition camera key
[0022]
Next, the drawing frame
[0023]
Next, the moving
The
[0024]
Next, the
Next, the 3D
The
[0025]
Finally, the
FIG. 3 shows an image diagram of an image drawn using the drawing apparatus having the above configuration. The drawing apparatus according to the present embodiment generates display data that zooms in on the moving image region through the transitions shown in FIGS. 3A, 3B, and 3C when switching from 3D graphic display to moving image display.
[0026]
As described above, the camera key frame data at the transition start frame number fs is calculated based on the camera data set in the 3D scene, and the calculated camera key frame data and the moving image at the switching frame number fe for switching the display from the three-dimensional graphic to the moving image. The camera data zoomed to the past field in the pasting area is added to the sample value of the camera key frame data, and the camera data corresponding to each drawing frame number is calculated. Depending on the time to switch the display and the time required to switch, it is possible to arbitrarily set the frame to switch between the display of 3D graphics and the movie, and gradually zoom in on the movie pasting surface to switch to the movie alone video. it can.
[0027]
In the first embodiment, the first transition camera key
[Embodiment 2]
FIG. 4 is a configuration diagram of a drawing apparatus according to
[0028]
In the drawing apparatus according to the second embodiment, in the first embodiment shown in FIG. 1, the
The
[0029]
Further, the first vertex
[0030]
The
FIG. 5 is a conceptual diagram of the vertices on the surface to which the moving image is pasted in the second embodiment of the present invention. In FIG. 5, rectangular areas P1, P2, P3, and P4 are views of the surface on which the moving image is pasted, and P1, P2, P3, and P4 are vertices on the surface, respectively.
[0031]
The operation of the drawing apparatus configured as described above will be described below. Now, in the drawing apparatus according to the second embodiment, the aspect on which the moving image is pasted has the same aspect ratio as the pasted moving image, and P1, P2, P3, and P4 that are rectangular four corners and the image are displayed. Suppose that an image pasted so that the four corners of the screen are aligned is drawn.
The
[0032]
[Table 1]
The first vertex
[0033]
Hereinafter, the above correction method in the first vertex
First, when the vertex data for a certain drawing frame is calculated in the
Next, the luminance data of the vertices of the polygons to which the moving image is pasted are extracted from the data of the polygon vertices at the transition start frame number fs calculated by the
[0034]
Next, the luminance correction rate per frame between the transition start frame number fs and the switching completion frame number fe is calculated. The luminance data is given by three components, r component, g component, and b component, and since all can be calculated in the same manner, the correction rate of the luminance data of the r component at the vertex P1 is considered here. If an arbitrary drawing frame number from fs to fe is ft, and the r component of the luminance data of the polygon vertex P1 at ft is Ip1r (ft), the luminance correction rate is obtained as shown in Equation (1). Here, the luminance value Ip1r is a normalized value.
[0035]
ΔIp1r = {1−Ip1r (fs)} / (fe−fs) (1)
Using the luminance correction rate per frame obtained by the above method, correction is performed on the luminance data of the polygon vertex to which the moving image is pasted from the transition start frame number fs to the switching frame number fe. For example, the r component of the luminance of P1 in the apex of the surface to which the moving image is pasted as shown in FIG. 5 is obtained as shown in Equation (2).
[0036]
The above is the luminance correction method in the first vertex
The
[0037]
For the pixel data of the region where the moving image is pasted, the luminance value of the vertex corresponding to the texture coordinates output from the
[0038]
Ip1r (ft) × Ip1Tr (ft) (3)
The luminance value obtained by Expression (3) and the vertex data of each polygon calculated by the
In this manner, the first vertex
[0039]
In the second embodiment, the first vertex
[Embodiment 3]
FIG. 6 is a configuration diagram of a drawing apparatus according to
[0040]
In the drawing apparatus according to the third embodiment, the switching frame in the configuration of the drawing apparatus according to the first embodiment. finger Switching frame instead of fixed
The switching
[0041]
Further, the second transition camera key
FIG. 7 is a conceptual diagram of camera data calculated by the drawing frame
[0042]
FIG. 8 is an image diagram of an image drawn by the drawing apparatus according to
[0043]
The operation of the drawing apparatus configured as described above will be described below. Now, in the drawing apparatus according to the third embodiment, the surface on which the moving image is pasted has the same aspect ratio as the pasted moving image, and is pasted so that the four corners of the video are aligned with the four corners of the rectangle. The video that is being played is assumed to be a drawing.
First, the switching
[0044]
Next, the second transition camera key
[0045]
Next, the drawing frame
[0046]
Next, the moving
The
[0047]
Next, the
Next, the 3D
The
[0048]
Finally, the
FIG. 8 shows an image diagram of an image drawn using the drawing apparatus having the above configuration. The drawing apparatus according to the present embodiment generates display data for zooming out the moving image area through the transitions shown in FIGS. 8A, 8B, and 8C when switching from moving image display to three-dimensional graphic display. .
[0049]
As described above, the second transition camera key
[0050]
In the third embodiment, the second transition camera key
[Embodiment 4]
FIG. 9 is a configuration diagram of a drawing apparatus according to
[0051]
The drawing apparatus according to the fourth embodiment is the same as the third embodiment shown in FIG. 6 except that a switching end frame
The switching end frame
[0052]
Further, the second vertex
[0053]
The
The operation of the drawing apparatus configured as described above will be described below. Now, in the drawing apparatus according to the fourth embodiment, the aspect on which the moving image is pasted has the same aspect ratio as that of the pasted moving image, and P1, P2, and P3 that are the rectangular four corners shown in FIG. , P4 and the image pasted so that the four corners of the image match are drawn.
[0054]
In the switching end frame
[0055]
The
[0056]
[Table 2]
In the second vertex
[0057]
Hereinafter, the above correction method in the second vertex
First, a luminance correction rate per frame between frame numbers fs and fe is calculated. The luminance data is given by three components, r component, g component, and b component, and since all can be calculated in the same manner, the correction rate of the luminance data of the r component at the vertex P1 is considered here. When an arbitrary drawing frame number in fs to fe is a drawing frame number ft and an r component of the luminance data of the polygon vertex P1 at ft is Ip1r (ft), the luminance correction rate is obtained as shown in Expression (4).
[0058]
ΔIp1r = {1−Ip1r (fe)} / (fe−fs) (4)
Using the luminance correction rate per frame obtained by the above method, correction is performed on the luminance data of the polygon vertex to which the moving image is pasted from the switching frame number fs to the transition end frame number fe. For example, the r component of the luminance of P1 in the apex of the surface to which the moving image is pasted as shown in FIG. 5 is obtained as shown in Equation (5).
[0059]
The above is the luminance correction method in the second vertex
The
[0060]
For the pixel data of the region where the moving image is pasted, the luminance value of the vertex corresponding to the texture coordinates output from the
[0061]
Ip1r (ft) × Ip1Tr (ft) (6)
The luminance value obtained by Expression (6) and the vertex data of each polygon calculated by the
In this way, by using the luminance data of the vertex of the polygon on the moving image pasting surface at the transition end frame number fe and correcting the luminance data of the vertex of the polygon on the moving image pasting surface in the frame of the transition time interval, The color of the moving image can be smoothly switched when the display is switched to the three-dimensional graphic, and the uncomfortable feeling when the display data is switched to the three-dimensional graphic can be eliminated.
[0062]
In the fourth embodiment, the second vertex
[0063]
【The invention's effect】
As described above, according to the present invention, it is possible to switch between three-dimensional graphics and moving image reproduction by zooming in or out on the moving image pasting area at an arbitrary time in the moving image.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a drawing apparatus according to a first embodiment of the present invention.
FIG. 2 is a conceptual diagram of camera data calculated by a drawing frame interpolation generation unit of the drawing apparatus.
FIG. 3 is an image diagram of a video drawn by the drawing apparatus.
FIG. 4 is a configuration diagram of a drawing apparatus according to
FIG. 5 is a diagram of a surface on which a moving image is pasted in the drawing apparatus.
FIG. 6 is a configuration diagram of a drawing apparatus according to
FIG. 7 is a conceptual diagram of camera data calculated by a drawing frame interpolation generation unit of the drawing apparatus.
FIG. 8 is an image diagram of a video drawn by the drawing apparatus.
FIG. 9 is a configuration diagram of a drawing apparatus according to
FIG. 10 is a configuration diagram of a conventional drawing apparatus.
[Explanation of symbols]
1 Compressed video data storage
2 Video decoding part
3 First switch
4 Texture buffer
5 3DCG data storage
6 3D scene rendering section
7 Geometry calculation part
8 First vertex luminance correction unit
9 Pixel operation part
10 Drawing frame interpolation generator
11 Scenario data storage
12 First transition camera key frame calculation unit
13 Switching frame designation part
14 Second switch
15 Video memory section
18 Switching frame designation part
20 Switching end frame luminance calculation section
21 Second transition camera key frame calculation unit
22 Second vertex luminance correction unit
31 Surface to paste video
32 The locus of the position of the camera data calculated by the drawing frame interpolation generation unit 10 (when zooming in on the moving image pasting area)
33 Trajectory of the position of the camera data calculated by the drawing frame interpolation generation unit 10 (when zooming out to the moving image pasting area)
Claims (4)
動画と3次元グラフィックの表示を切替える時刻と切替までに所要する時間とを入力し、前記シナリオデータ保存部に記録されている前記描画フレームレートから、動画と3次元グラフィックの表示を切替える時刻に対応する切替フレーム番号と切替わりの遷移開始フレーム番号を出力する切替フレーム指定部と、
前記切替フレーム指定部より入力した前記切替フレーム番号と、前記シナリオデータ保存部に記録されたカメラキーフレームデータに基づき、前記切替フレーム指定部より入力した遷移開始フレーム番号におけるカメラキーフレームデータを生成する第1の遷移カメラキーフレーム算出部と、
前記第1の遷移カメラキーフレーム算出部により生成された、遷移開始フレーム番号におけるカメラキーフレームデータと、前記シナリオデータ保存部に記録された、動画を貼りつける3次元形状の表面の領域いっぱいを視野に持つカメラデータを含むカメラキーフレームデータに基づき、描画するフレームにおけるカメラデータを生成する描画フレーム補間生成部と、
3次元グラフィックデータを保存する3DCGデータ保存部と、
圧縮動画データを保存する圧縮動画データ保存部と、
前記圧縮動画データ保存部の圧縮データとフレーム番号に基づき、フレーム番号に対応する動画データを生成する動画デコード部と、
フレーム番号から前記動画デコード部の出力先を切り替える第1のスイッチと、
前記第1のスイッチより出力された前記動画デコード部の動画データを記憶するテクスチャバッファ部と、
前記描画フレーム補間生成部により生成された、描画するフレームのカメラデータおよび描画フレーム番号と、前記3DCGデータ保存部に記憶された3次元グラフィックデータに基づき、描画フレーム番号における3次元シーン表示データを生成する3Dシーンレンダリング部と、
フレーム番号に基づき、前記第1のスイッチより出力された前記動画デコード部の動画データと前記3Dシーンレンダリング部により生成された3次元シーン表示データのいずれかを出力させる第2のスイッチと、
前記第2のスイッチより出力された表示データを格納するビデオメモリ部と
を具備することを特徴とする描画装置。 A camera key frame data including camera data having a view of the entire surface area of the three-dimensional shape to which the video is pasted, a scenario data storage unit for storing a drawing frame rate,
Enter the time to switch between video and 3D graphic display and the time required to switch, and correspond to the time to switch between video and 3D graphic display from the drawing frame rate recorded in the scenario data storage unit A switching frame designation unit that outputs a switching frame number to be switched and a transition start frame number to be switched;
Based on the switching frame number input from the switching frame specification unit and the camera key frame data recorded in the scenario data storage unit, the camera key frame data at the transition start frame number input from the switching frame specification unit is generated. A first transition camera key frame calculation unit;
The camera key frame data at the transition start frame number generated by the first transition camera key frame calculation unit and the entire area of the surface of the three-dimensional shape to which the moving image is pasted recorded in the scenario data storage unit are viewed. A drawing frame interpolation generating unit that generates camera data in a frame to be drawn based on camera key frame data including camera data
A 3DCG data storage unit for storing 3D graphic data;
A compressed video data storage unit for storing compressed video data;
A video decoding unit that generates video data corresponding to a frame number based on the compressed data and the frame number of the compressed video data storage unit;
A first switch for switching the output destination of the video decoding unit from a frame number;
A texture buffer unit for storing moving image data of the moving image decoding unit output from the first switch;
Generates 3D scene display data for the drawing frame number based on the camera data and drawing frame number of the frame to be drawn generated by the drawing frame interpolation generation unit and the 3D graphic data stored in the 3DCG data storage unit. A 3D scene rendering unit that
A second switch for outputting either the moving image data of the moving image decoding unit output from the first switch or the 3D scene display data generated by the 3D scene rendering unit based on a frame number;
And a video memory unit for storing display data output from the second switch.
描画フレーム補間生成部により生成された、描画するフレームのカメラデータおよび描画フレーム番号と、前記3DCGデータ保存部に記憶された3次元グラフィックデータに基づき、3次元形状データの頂点のカメラデータに基づき定義される平面における位置データと輝度データとテクスチャ座標とを算出するジオメトリ演算部と、
前記ジオメトリ演算部により算出された遷移開始フレーム番号におけるテクスチャ貼付け対象となる頂点の輝度データと、切替フレーム指定部から入力した切替フレーム番号と遷移開始フレーム番号を保持し、遷移開始フレーム番号から切替フレーム番号の間のフレーム番号に対応する演算をする場合に、前記ジオメトリ演算部において算出された輝度データから、テクスチャ貼付け対象となる頂点の輝度データを補正する第1の頂点輝度補正部と、
前記ジオメトリ演算部と前記第1の頂点輝度補正部から算出された位置データと輝度データとテクスチャ座標に基づき、テクスチャバッファ部を参照し、3次元シーン表示データを算出するピクセル演算部と
から構成し、
第2のスイッチは、フレーム番号に基づき、動画デコード部の動画データと前記ピクセル部より生成された3次元シーン表示データのいずれかを出力させること
を特徴とする請求項1記載の描画装置。3D scene rendering part
Based on the camera data and drawing frame number of the frame to be drawn generated by the drawing frame interpolation generation unit and the 3D graphic data stored in the 3DCG data storage unit, based on the camera data of the vertex of the 3D shape data A geometry calculation unit for calculating position data, luminance data, and texture coordinates in a plane to be
Holds the luminance data of the vertex to be texture pasted in the transition start frame number calculated by the geometry calculation unit, the switching frame number and the transition start frame number input from the switching frame designation unit, and switches from the transition start frame number to the switching frame. A first vertex luminance correction unit that corrects the luminance data of a vertex to be texture pasted from the luminance data calculated in the geometry calculation unit when performing an operation corresponding to a frame number between numbers;
Based on the position data, luminance data, and texture coordinates calculated from the geometry calculation unit, the first vertex luminance correction unit, and a pixel calculation unit that calculates the three-dimensional scene display data with reference to the texture buffer unit. ,
The drawing apparatus according to claim 1, wherein the second switch outputs either the moving image data of the moving image decoding unit or the three-dimensional scene display data generated from the pixel unit based on the frame number.
動画と3次元グラフィックの表示を切替える時刻と切替え遷移終了までに所要する時間とを入力し、前記シナリオデータ保存部に記録されている前記描画フレームレートから、動画と3次元グラフィックの表示を切替える時刻に対応する切替フレーム番号と切替りの遷移終了フレーム番号を出力する切替フレーム指定部と、
前記切替フレーム指定部より入力した前記切替フレーム番号と、前記シナリオデータ保存部に記録されたカメラキーフレームデータに基づき、切替フレーム指定部より入力した遷移終了フレーム番号におけるカメラキーフレームデータを生成する第2の遷移カメラキーフレーム算出部と、
前記第2の遷移カメラキーフレーム算出部により生成された、遷移終了フレーム番号におけるカメラキーフレームデータと、前記シナリオデータ保存部に記録された、動画を貼りつける3次元形状の表面の領域いっぱいを視野に持つカメラデータを含むカメラキーフレームデータに基づき、描画するフレームにおけるカメラデータを生成する描画フレーム補間生成部と、
3次元グラフィックデータを保存する3DCGデータ保存部と、
圧縮動画データを保存する圧縮動画データ保存部と、
前記圧縮動画データ保存部の圧縮データとフレーム番号に基づき、フレーム番号に対応する動画データを生成する動画デコード部と、
フレーム番号から前記動画デコード部の出力先を切り替える第1のスイッチと、
前記第1のスイッチより出力された前記動画デコード部の動画データを記憶するテクスチャバッファ部と、
前記描画フレーム補間生成部により生成された、描画するフレームのカメラデータおよび描画フレーム番号と、前記3DCGデータ保存部に記憶された3次元グラフィックデータに基づき、描画フレーム番号における3次元シーン表示データを生成する3Dシーンレンダリング部と、
フレーム番号に基づき、前記第1のスイッチより出力された動画デコード部の動画データと前記3Dシーンレンダリング部により生成された3次元シーン表示データのいずれかを出力させる第2のスイッチと、
前記第2のスイッチより出力された表示データを格納するビデオメモリ部と
を具備することを特徴とする描画装置。 A camera key frame data including camera data having a view of the entire surface area of the three-dimensional shape to which the video is pasted, a scenario data storage unit for storing a drawing frame rate,
The time for switching between the display of the moving image and the 3D graphic and the time required for the end of the switching transition are input, and the time for switching the display of the moving image and the 3D graphic from the drawing frame rate recorded in the scenario data storage unit. A switching frame designation unit that outputs a switching frame number corresponding to and a transition end frame number of switching,
Based on the switching frame number input from the switching frame specification unit and the camera key frame data recorded in the scenario data storage unit, the camera key frame data at the transition end frame number input from the switching frame specification unit is generated. 2 transition camera key frame calculation units;
The camera key frame data at the transition end frame number generated by the second transition camera key frame calculation unit and the entire area of the surface of the three-dimensional shape recorded in the scenario data storage unit to which the moving image is pasted are viewed. A drawing frame interpolation generating unit that generates camera data in a frame to be drawn based on camera key frame data including camera data
A 3DCG data storage unit for storing 3D graphic data;
A compressed video data storage unit for storing compressed video data;
A video decoding unit that generates video data corresponding to a frame number based on the compressed data and the frame number of the compressed video data storage unit;
A first switch for switching the output destination of the video decoding unit from a frame number;
A texture buffer unit for storing moving image data of the moving image decoding unit output from the first switch;
Generates 3D scene display data for the drawing frame number based on the camera data and drawing frame number of the frame to be drawn generated by the drawing frame interpolation generation unit and the 3D graphic data stored in the 3DCG data storage unit. A 3D scene rendering unit that
A second switch for outputting one of the video data of the video decoding unit output from the first switch and the 3D scene display data generated by the 3D scene rendering unit based on the frame number;
And a video memory unit for storing display data output from the second switch.
を具備し、
3Dシーンレンダリング部を、
3DCGデータ保存部に記憶された3次元グラフィックデータと描画フレーム補間生成部により生成されたカメラデータおよび描画フレーム番号に基づいて、3次元形状データの頂点のカメラデータに基づき定義される平面における位置データと輝度データとテクスチャ座標とを算出するジオメトリ演算部と、
前記切替終了フレーム輝度演算部により算出された、遷移終了フレーム番号におけるテクスチャ貼付け対象となる頂点の輝度データと、切替フレーム指定部より入力した切替フレーム番号と遷移終了フレーム番号を保持し、前記切替フレーム番号から遷移終了フレーム番号の間のフレーム番号に対応する演算をする場合に、前記ジオメトリ演算部により算出された輝度データから、テクスチャ貼付け対象となる頂点の輝度データを補正する第2の頂点輝度補正部と、
前記ジオメトリ演算部と前記第2の頂点輝度補正部において算出された位置データと輝度データとテクスチャ座標に基づき、テクスチャバッファ部を参照し、3次元シーン表示データを算出するピクセル演算部と
から構成し、
第2のスイッチは、フレーム番号に基づき、動画デコード部の動画データと前記ピクセル部より生成された3次元シーン表示データのいずれかを出力させること
を特徴とする請求項3記載の描画装置。Based on the camera key frame data at the transition end frame number generated by the second transition camera key frame calculation unit and the 3D graphic data stored in the 3DCG data storage unit, the 3D shape data at the transition end frame number A switching end frame luminance calculation unit for calculating the vertex position data, texture coordinates, and luminance data,
3D scene rendering part
Position data in a plane defined based on the camera data at the vertex of the three-dimensional shape data based on the three-dimensional graphic data stored in the 3DCG data storage unit, the camera data generated by the drawing frame interpolation generation unit, and the drawing frame number A geometry calculation unit for calculating brightness data and texture coordinates;
Holds the luminance data of the vertex to be texture pasted in the transition end frame number calculated by the switching end frame luminance calculation unit, the switching frame number and the transition end frame number input from the switching frame designation unit, and the switching frame A second vertex luminance correction for correcting the luminance data of the vertex to be texture pasted from the luminance data calculated by the geometry calculation unit when performing an operation corresponding to the frame number between the number and the transition end frame number And
Based on the position data, luminance data, and texture coordinates calculated in the geometry calculation unit and the second vertex luminance correction unit, a texture calculation unit is referred to and a pixel calculation unit that calculates three-dimensional scene display data is configured. ,
4. The drawing apparatus according to claim 3, wherein the second switch outputs either the moving image data of the moving image decoding unit or the three-dimensional scene display data generated by the pixel unit based on the frame number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18099199A JP3678609B2 (en) | 1999-06-28 | 1999-06-28 | Drawing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18099199A JP3678609B2 (en) | 1999-06-28 | 1999-06-28 | Drawing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001014489A JP2001014489A (en) | 2001-01-19 |
JP3678609B2 true JP3678609B2 (en) | 2005-08-03 |
Family
ID=16092837
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP18099199A Expired - Fee Related JP3678609B2 (en) | 1999-06-28 | 1999-06-28 | Drawing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3678609B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010157696A (en) * | 2008-12-05 | 2010-07-15 | Toray Ind Inc | Radiowave absorber |
US8860781B2 (en) * | 2009-06-30 | 2014-10-14 | Qualcomm Incorporated | Texture compression in a video decoder for efficient 2D-3D rendering |
JP2011022726A (en) | 2009-07-14 | 2011-02-03 | Sony Corp | Image processing apparatus and method |
-
1999
- 1999-06-28 JP JP18099199A patent/JP3678609B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2001014489A (en) | 2001-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6673381B2 (en) | Image processing device | |
Agrawala et al. | Artistic multiprojection rendering | |
US6097853A (en) | User definable windows for selecting image processing regions | |
US7852370B2 (en) | Method and system for spatio-temporal video warping | |
JP3177221B2 (en) | Method and apparatus for displaying an image of an interesting scene | |
CN103797787B (en) | Image processing method and image processing equipment | |
WO2014178235A1 (en) | Image processing device, image processing method, and program | |
JP4850278B2 (en) | Content creation support device, content creation support method, and scenario file generation method | |
JP3799861B2 (en) | Image synthesizing apparatus and recording medium on which program for executing image synthesizing method is recorded | |
KR20090009114A (en) | Method for constructing a composite image | |
TW200844901A (en) | Banana codec | |
US6535232B1 (en) | Device for controlling quality of reproduction of motion picture and method for controlling the same | |
JPH1049704A (en) | Image conversion method | |
TWI238977B (en) | Method and apparatus for generating new images by using image data that vary along time axis | |
WO1999063488A1 (en) | Image processing device and image processing method | |
JP4403421B2 (en) | Image processing apparatus and image processing method | |
CN106162140B (en) | A kind of compression method and device of panoramic video | |
JP2000175171A (en) | Video image generator for video conference and video image generating method for video conference | |
JP3678609B2 (en) | Drawing device | |
JP2004178036A (en) | Device for presenting virtual space accompanied by remote person's picture | |
JPH09147134A (en) | Animation generating device | |
JP7011728B2 (en) | Image data output device, content creation device, content playback device, image data output method, content creation method, and content playback method | |
JPH1188910A (en) | Three-dimension model generating device, three-dimension model generating method, medium recording three-dimension model generating program three-dimension model reproduction device, three-dimension model reproduction method and medium recording three-dimension model reproduction program | |
JP2002260003A (en) | Video display device | |
JP2009140237A (en) | Image processor, image processing method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050111 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050311 |
|
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: 20050412 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050510 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090520 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100520 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |