JP6082148B1 - Display method, program, and recording medium - Google Patents
Display method, program, and recording medium Download PDFInfo
- Publication number
- JP6082148B1 JP6082148B1 JP2016107919A JP2016107919A JP6082148B1 JP 6082148 B1 JP6082148 B1 JP 6082148B1 JP 2016107919 A JP2016107919 A JP 2016107919A JP 2016107919 A JP2016107919 A JP 2016107919A JP 6082148 B1 JP6082148 B1 JP 6082148B1
- Authority
- JP
- Japan
- Prior art keywords
- image
- display
- texture
- moving image
- inclination
- 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.)
- Active
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
- Image Generation (AREA)
Abstract
【課題】グリッド線テクスチャの表示形態を柔軟に変化させる。【解決手段】動画テクスチャ生成部(23)は、模様画像と、模様画像とは異なる背景画像とを合成することによって、交互に配置される模様画像および背景画像を含む動画テクスチャを生成する。動画テクスチャ再生部(24)は、模様画像がグリッド線上を移動するように、地形オブジェクト画像の傾斜に応じた態様で動画テクスチャを再生し、ディスプレイ12に表示させる。【選択図】図1A display form of a grid line texture is flexibly changed. A moving image texture generation unit (23) generates a moving image texture including pattern images and background images alternately arranged by synthesizing a pattern image and a background image different from the pattern image. The moving image texture reproduction unit (24) reproduces the moving image texture in a manner corresponding to the inclination of the terrain object image so that the pattern image moves on the grid line, and displays the moving image texture on the display 12. [Selection] Figure 1
Description
本開示は、表示方法、プログラム、および記録媒体に関する。 The present disclosure relates to a display method, a program, and a recording medium.
三次元の地形をコンピュータ上で俯瞰的に表示する場合、ユーザが地形の起伏を視覚的に把握しやすくするために、地形の上にグリッド状の線(グリッド線)を重ねて表示することがよく行われる。このような技術の例が、特許文献1および2に開示されている。
When displaying a three-dimensional terrain from a bird's-eye view on a computer, a grid line (grid line) may be displayed on top of the terrain to make it easier for the user to visually understand the undulations of the terrain. Often done. Examples of such techniques are disclosed in
特許文献1の技術では、移動オブジェクトをグリッド線上で移動させるための描画処理を行う必要がある。オブジェクト表面上に非常に多くに移動オブジェクトが表示されることから、各移動オブジェクトを移動表示させるための描画処理には、処理負荷が非常に大きいという問題がある。
In the technique of
特許文献2の技術では、単位画像を含むグリッド線テクスチャをアニメーション表示することによって、単位画像が移動するようにユーザに視認させているので、特許文献1の技術に比べて処理負荷は小さくて済む。一方で、グリッド線テクスチャを生成する際に、背景画像と単位画像とが一体化された基準テクスチャを傾斜に応じた数だけ合成するので、グリッド線テクスチャを生成する際の柔軟性に欠けるという問題がある。
In the technique of
本開示は、グリッド線テクスチャの表示態様を柔軟に変化させることにある。 This indication is in changing the display mode of a grid line texture flexibly.
前記の課題を解決するために、本開示に係る第1の表示方法は、プロセッサおよびディスプレイを備えるコンピュータにおいて実行される表示方法であって、傾斜が規定される地形オブジェクト画像を前記ディスプレイに表示させるステップと、地形オブジェクト画像上にグリッド線を割り当てるステップと、第1画像と、第1画像とは異なる第2画像とを合成することによって、交互に配置される第1画像および第2画像を含む動画テクスチャを生成するステップと、グリッド線上に動画テクスチャを配置するステップと、第1画像がグリッド線上を移動するように、傾斜に応じた態様で動画テクスチャを再生し、動画テクスチャに対応するアニメーション画像を前記ディスプレイに表示させるステップとを含む。 In order to solve the above-described problem, a first display method according to the present disclosure is a display method executed in a computer including a processor and a display, and displays a terrain object image with a specified slope on the display. Including a step, a step of assigning grid lines on the terrain object image, a first image and a second image arranged alternately by combining the first image and a second image different from the first image. A step of generating a moving image texture, a step of arranging the moving image texture on the grid line, and an animation image corresponding to the moving image texture by reproducing the moving image texture in a manner corresponding to the inclination so that the first image moves on the grid line. Displaying on the display.
また、本開示に係る第2の表示方法は、プロセッサおよびディスプレイを備えるコンピュータにおいて実行される表示方法であって、傾斜が規定される地形オブジェクト画像を前記ディスプレイに表示させるステップと、地形オブジェクト画像上にグリッド線を割り当てるステップと、グリッド線上に交互に配置される第1画像と第2画像とをディスプレイに表示させるステップであって、傾斜の程度がより大きいほどより長い第1画像をディスプレイに表示させると共に、傾斜の程度に関わらず同一数の第1画像をディスプレイに表示させるステップとを含む。 In addition, a second display method according to the present disclosure is a display method executed in a computer including a processor and a display, the step of displaying a terrain object image with a specified inclination on the display, Assigning grid lines to the screen and displaying the first image and the second image alternately arranged on the grid lines on the display, the longer the first image, the longer the first image is displayed on the display. And displaying the same number of first images on the display regardless of the degree of inclination.
本開示によれば、グリッド線テクスチャの表示態様を柔軟に変化させることができる。 According to the present disclosure, the display mode of the grid line texture can be flexibly changed.
〔実施形態1〕
本発明の実施形態1に係る表示方法、および、プログラムの具体例を、以下に図面を参照しつつ説明する。本発明はこれらの例示に限定されるものではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が本発明に含まれることが意図される。以下の説明では、図面の説明において同一の要素には同一の符号を付し、重複する説明を繰り返さない。
Specific examples of the display method and the program according to the first embodiment of the present invention will be described below with reference to the drawings. The present invention is not limited to these exemplifications, but is defined by the scope of claims for patent, and it is intended that all modifications within the meaning and scope equivalent to the scope of claims for patent are included in the present invention. In the following description, the same reference numerals are given to the same elements in the description of the drawings, and repeated description is not repeated.
図1は、端末装置1の要部構成を示すブロック図である。この図に示すように、端末装置1は、入力デバイス11、ディスプレイ12、および制御部13を備えている。端末装置1は、コンピュータゲームを含む各種のアプリケーションを実行可能な装置である。端末装置1は、たとえば、スマートフォン、PDA(Personal Digital Assistant)、タブレット型コンピュータ、ゲーム用コンソール、または汎用のPC(Personal Computer)等であればよい。
FIG. 1 is a block diagram illustrating a main configuration of the
入力デバイス11は、ユーザが端末装置1に情報を入力したりまたは端末装置1を操作するための入力を行ったりするための装置であり、たとえばタッチパネルである。ディスプレイ12は、テキストおよび画像等の各種の情報を表示する装置であり、たとえば液晶ディスプレイ等のスクリーンデバイスである。制御部13はプロセッサおよびメモリを備えて構成され、端末装置1の動作および処理を統括的に制御する。制御部13は、メモリに記憶されたゲームプログラム等のアプリケーションプログラム、各種ゲーム画像およびオブジェクトデータ、ならびに入力デバイス11によって受け付けられたユーザの操作入力に基づき、ディスプレイ12に表示される画像を生成する。制御部13は、地形オブジェクト画像表示部21、動画テクスチャ生成部23、および動画テクスチャ再生部24を備えている。地形オブジェクト画像表示部21は、地形オブジェクトデータに基づく地形オブジェクト画像をディスプレイ12に表示させる。グリッド線割り当て部22は、地形オブジェクト画像にグリッド線を割り当てる。動画テクスチャ生成部23は、グリッド線上に表示される動画テクスチャを生成する。動画テクスチャ再生部24は、グリッド線上に配置された動画テクスチャを再生し、動画テクスチャに対応するアニメーション画像ををディスプレイ12に表示させる。
The
地形オブジェクト画像の表示を伴うアプリケーションとして、たとえばゴルフゲームが挙げられる。以下では、端末装置1がゴルフゲームを実行するゲーム装置である場合を説明する。しかし端末装置1は、ゴルフゲームに限らず、地形オブジェクト画像の表示を伴う任意のアプリケーション(ゲームでも、ゲーム以外でもよい)を実行することが可能な装置として実現される。
As an application accompanied by display of a terrain object image, for example, a golf game can be cited. Below, the case where the
図2は、端末装置1のディスプレイ12に表示されるゴルフゲームのプレイ画面例を示す図である。端末装置1は、ゴルフゲームの実行時、たとえば図2に示すようなプレイ画面をディスプレイ12に表示させる。図2の例は、プレイヤキャラクタデータに基づくプレイヤキャラクタ画像31が仮想のゴルフコースのグリーン上でパッティングする前の準備段階にある場面を示している。ディスプレイ12には、ゴルフコースを構成する地形オブジェクト画像32が表示され、地形オブジェクト画像32上にはグリッド33が配置されている。端末装置1は、ゴルフゲームの実行時、地形オブジェクト画像32に規定される傾斜に応じた態様で複数の模様がグリッド33上を動くように見せる表示演出を行う。ユーザは模様の移動を視認することによって、地形オブジェクト画像32の傾斜の程度を把握することができる。本実施形態では、グリッド33上の模様の移動は、模様オブジェクト画像の移動処理ではなく、模様を含む動画テクスチャの再生(アニメーション画像の表示)によって実現される。
FIG. 2 is a diagram illustrating a golf game play screen example displayed on the
図3は、グリッド33の構成を説明する図である。グリッド33は、複数のグリッド線41によって構成されている。図3の(a)に示すように、地形オブジェクト画像32上に、グリッド状に配置される複数のグリッド線41が割り当てられる。図3の例では、個々のグリッド線41は、グリッド33内のいずれかの区画を取り囲む4辺のうちいずれかの一片に相当する。すなわち、4つのグリッド線41によって、地形オブジェクト画像32上の1つの区画が形成される。図3の(b)に示すように、グリッド線41は、2つの三角形ポリゴン42および三角形ポリゴン43を組み合わせた1つの板ポリゴンである。板ポリゴンは、厚みを有さないが二次元上の広がりを有するポリゴンである。三角形ポリゴン42および三角形ポリゴン43はいずれも直角三角形の形状を有している。グリッド線41では、三角形ポリゴン42の斜辺と三角形ポリゴン43の斜辺とが接している。
FIG. 3 is a diagram illustrating the configuration of the
端末装置1は、個々のグリッド線41上に、グリッド33上の模様の移動を表現するための動画テクスチャを配置する。さらに端末装置1は、グリッド線41上に配置された動画テクスチャ(グリッド線テクスチャ)を再生し、動画テクスチャに対応するアニメーション画像をディスプレイ12に表示させることによって、図2に示すような画面表示を実現する。
The
端末装置1は、ゴルフゲームの実行時、地形オブジェクト画像32上に配置される動画テクスチャを、配置位置の傾斜に応じた態様で動的に生成してから、配置する。図4は、動画テクスチャの生成手順を説明する図である。動画テクスチャ生成部23は、傾斜が規定される地形オブジェクト画像32をディスプレイ12に表示させる。グリッド線割り当て部22は、地形オブジェクト画像32にグリッド線41を割り当てる。図4の例では、地形オブジェクト画像32においてグリッド線41が割り当てられる位置と、当該位置における地形の傾斜角度θ(傾斜の程度)とが、いずれも地形オブジェクト画像32に規定されている。
When the golf game is executed, the
端末装置1のメモリには、動画テクスチャの生成に用いられる模様画像61(第1画像)および背景画像62(第2画像)が予め用意されている。模様画像61は、動画テクスチャに含まれる模様に相当し、背景画像62は、動画テクスチャに含まれる背景に相当する。模様画像61は、前方および後方などの方向性を定義することが可能な画像であり、図4の例ではハート型の画像である。背景画像62は、前方および後方などの方向性を有さない画像であり、白色(または無色)といった色調によって構成される画像であったり、あるいは模様等によって構成される画像であったりする。このように模様画像61および背景画像62は互いに異なる画像である。動画テクスチャ生成部23は、地形オブジェクト画像32においてグリッド線41が割り当てられる位置の傾斜角度θに応じた態様で模様画像61および背景画像62を合成することによって、グリッド線41に配置される動画テクスチャ63を生成する。
In the memory of the
まず動画テクスチャ生成部23は、グリッド線41を複数(本実施形態では3つ)の均等な部分領域(一定領域)に分割すると共に、この分割によって得られる部分領域51〜53をそれぞれ特定する。次に動画テクスチャ生成部23は、特定した部分領域51〜53内の各位置に、傾斜角度θおよび当該位置に応じた値のパラメータを設定する。図4には、代表として、部分領域52に、画像の透過度を表す数値であるα値を設定する例を示す。
First, the moving image
動画テクスチャ生成部23は、部分領域52における地形オブジェクト画像32の高さが一番低い位置(左端)に、α値として「0」を設定する。さらに、部分領域52における位置が左端から右端に向かって移動するにつれて、各位置におけるα値が、地形オブジェクト画像32の傾斜角度θに応じた角度θで右肩上がりの直線状に変動するように、各位置にα値を設定する。動画テクスチャ生成部23は、最大でも「1」のα値を設定する。図4では、部分領域52の右端におけるα値がほぼ1になっている。
The moving image
動画テクスチャ生成部23は、部分領域52においてα値が所定の閾値(たとえば0.3〜0.5程度)以上である各位置を第1範囲と定義し、一方、部分領域52においてα値が所定閾値未満である各位置を第2範囲と定義する。そして、模様画像61の長さを第1範囲の長さに基づき決定する(たとえば同一にする)と共に、背景画像62の長さを第2範囲の長さに基づき決定する(たとえば同一にする)。ここでいう模様画像61の長さおよび背景画像62の長さとは、グリッド線41の延びる方向における長さのことである。動画テクスチャ生成部23は、決定したそれぞれの長さに基づき、メモリに格納される模様画像61および背景画像62に対応する画像データに対し、長さ方向における拡大率(または縮小率)をそれぞれ決定する。
The moving image
動画テクスチャ生成部23は、部分領域52および部分領域53についても、対応する模様画像61の長さおよび背景画像62の長さを同様に決定する。そして動画テクスチャ生成部23は、各部分領域51〜53に対応する3つの模様画像61および3つの背景画像62を、グリッド線41における各部分領域51〜53の順序通りに互いに繋ぎ合わせるように合成することによって、傾斜角度θに応じた長さを有する模様画像61および背景画像62が互い違いに3つずつ配置される動画テクスチャ63を生成する。
The moving image
動画テクスチャ再生部24は、生成された動画テクスチャ63をグリッド線41上に配置し、それから動画テクスチャ63の再生を開始する。動画テクスチャ再生部24は、一定の再生速度で動画テクスチャ63を再生する。再生手順はたとえば次の通りである。動画テクスチャ生成部23は、あるフレームにおいて動画テクスチャ63をグリッド線41上に配置した後、その動画テクスチャ63から、次のフレームにおいてグリッド線41上に配置する次の動画テクスチャ63を生成する。その際、あるフレームにおける動画テクスチャ63における、対応する地形オブジェクト画像32の高さがより低い一端部の一定範囲(オフセット)を切り取り、切り取った一定範囲を動画テクスチャ63の他端部に繋ぎ合わせる。動画テクスチャ再生部24は、こうして生成した次の動画テクスチャ63を、次にフレームにおいてグリッド線41上に配置する。これにより、次のフレームにおいて表示される動画テクスチャ63内の各模様画像61の位置が、その前のフレームにおいて表示される動画テクスチャ63内の各模様画像61の位置よりも、地形オブジェクト画像32の高さがより低い側にずれる。これを繰り返すことによって、背景画像62が地形オブジェクト画像32上をより高い位置からより低い位置に移動するように、動画テクスチャ63が再生される。その結果、動画テクスチャ63に対応するアニメーション画像がディスプレイ12に表示される。なお、動画テクスチャ63の再生速度は、地形オブジェクト画像32における動画テクスチャ63が配置される位置に規定される傾斜角度θに関わらず同一にする。
The moving image
なお、本実施形態においては、傾斜角度θおよびグリッド線41の位置に応じた値のパラメータとして、α値が設定されている。ここで、α値が所定の閾値を下回る等の所定条件を満足する場合に、背景画像62全体のα値が所定値となるように設定することが好ましい。たとえば、背景画像62全体のα値が0となるように設定しておけば、グリッド線41の第2範囲に相当する部分をディスプレイ12に透明に表示させることができ、模様画像61のみをグリッド線41に沿って演出することができる。これによりユーザは、模様画像61の長さおよび動画テクスチャ63の再生速度を視覚的に容易に把握できる。また、背景画像62全体のα値が1となるように設定しておけば、グリッド線41における第2範囲に相当する部分を色調または模様によって表現できるので、背景画像62に相当する部分をグリッド線41として視覚的にディスプレイ12に表示させることもできる。
In the present embodiment, an α value is set as a parameter of a value corresponding to the inclination angle θ and the position of the
図5は、傾斜角度θがより大きい場合の動画テクスチャ63の生成手順を説明する図である。この図の例では、地形オブジェクト画像32においてグリッド線41が割り当てられる位置に規定される傾斜角度θが、図4に示す傾斜角度θよりも大きい。すなわち、グリッド線41の割り当て位置の傾斜の程度がより大きい。グリッド線41の3分割は図4と同一である。動画テクスチャ生成部23は、部分領域51〜53内の各位置に、傾斜角度θおよび当該位置に応じたα値を設定する。図5には、代表として、部分領域52にα値を設定する例を示す。
FIG. 5 is a diagram illustrating a procedure for generating the moving
図4と同様に、動画テクスチャ生成部23は、部分領域52における地形オブジェクト画像32の高さが一番低い位置(左端)に、α値として「0」を設定する。さらに、部分領域52における位置が左端から右端に向かって移動するにつれて、各位置におけるα値が、地形オブジェクト画像32の傾斜角度θに応じた角度θで右肩上がりの直線状に変動するように、各位置にα値を設定する。動画テクスチャ生成部23は、最大でも「1」のα値を設定する。図5に示すように、部分領域52のある位置に対して「1」のα値を設定した後、それより右側の位置にはすべて「1」のα値を設定する。
Similarly to FIG. 4, the moving image
α値に基づく背景画像62および模様画像61の長さの決定方法は、図4と同一である。図5では傾斜角度θが図4よりも大きいので、部分領域52においてα値が所定の閾値以上である第1範囲は図4よりも長く、逆に、部分領域52においてα値が所定の閾値未満である第2範囲は図4よりも短い。したがって動画テクスチャ生成部23は、より長い第1範囲およびより短い第2範囲をそれぞれ定義する。
The method for determining the lengths of the
なお、α値を設定するための角度θは、基本的に傾斜角度θと同一であるが、一方でその上限値を設定しておいてもよい。傾斜角度θが上限値を超えた場合、傾斜角度θに関わらず、α値を設定するための角度θは上限値である。これにより、動画テクスチャ63に含まれる模様画像61の長さの上限を設けることができるので、傾斜角度θが非常に大きい場合に動画テクスチャ63のほとんどすべてが模様画像61によって占められることを防止できる。
The angle θ for setting the α value is basically the same as the inclination angle θ, but on the other hand, an upper limit value may be set. When the tilt angle θ exceeds the upper limit value, the angle θ for setting the α value is the upper limit value regardless of the tilt angle θ. Thereby, since the upper limit of the length of the
本実施形態では、図4および図5に示すように、動画テクスチャ63に含まれる模様画像61の数は、動画テクスチャ63が配置される地形オブジェクト画像32に規定される傾斜角度θに関わらず同一である。なお、特に図示しないが、動画テクスチャ63の再生速度は、傾斜角度θに関わらず一定である。一方、図4および図5に示すように、動画テクスチャ63に含まれる模様画像61の長さは、傾斜角度θに応じて変化する。具体的には、傾斜角度θがより大きいほど模様画像61がより長くなる。ユーザは、プレイ画面における地形オブジェクト画像32上を移動する各模様画像61の長さを通じて、地形オブジェクト画像32において模様画像61が移動する位置の傾斜の程度を把握する。したがってユーザは、地形オブジェクト画像32の各位置の傾斜の程度を直感的かつ容易に把握することができる。
In the present embodiment, as shown in FIGS. 4 and 5, the number of
また、端末装置1は、背景および模様が一体化された複数の単位画像を合成するのではなく、互いに別々に分かれた背景画像62および模様画像61の双方を合成することによって、動画テクスチャ63を生成する。これにより、動画テクスチャ63に含まれる背景画像62と模様画像61との関係を、傾斜に応じた態様に容易に変化させることができる。たとえば図5に示すように、傾斜角度θがより大きいほど模様画像61をより長くしかつ背景画像62をより短くすることができる。したがって端末装置1は、動画テクスチャ63の表示態様を柔軟に変化させることができる。
Further, the
また、図4および図5に示すように、端末装置1は、グリッド線41上に交互に配置される模様画像61および背景画像62を、ディスプレイ12に表示させる。さらには、端末装置1は、傾斜の程度(たとえば傾斜角度θ)がより大きいほどより長い模様画像61をディスプレイ12に表示させると共に、傾斜の程度に関わらず同一数の模様画像61をディスプレイ12に表示させる。これによりユーザは、模様画像61の長さを通じて地形オブジェクト画像32の傾斜の程度を直観的かつ容易に把握することができる。
4 and 5, the
〔実施形態2〕
本発明に係る実施形態2について、図6を参照して以下に説明する。本実施形態に係る端末装置1の構成は、実施形態1と同一である。一方、本実施形態に係る動画テクスチャ63の生成方法および再生方法は実施形態1と異なる。
[Embodiment 2]
図6は、動画テクスチャ63の生成手順を説明する図である。この図の例では、地形オブジェクト画像32の表示、グリッド線41の割り当て、およびグリッド線41の3分割までは、実施形態1と同一である。しかし動画テクスチャ生成部23は、グリッド線41の分割後、部分領域51〜53にα値を設定しない。言い換えると、α値を用いることなく動画テクスチャ63を生成する。
FIG. 6 is a diagram illustrating a procedure for generating the moving
具体的には、動画テクスチャ生成部23は、地形オブジェクト画像32に規定される傾斜角度θに関わらず、部分領域51における左側の所定範囲(たとえば半分)の長さに基づき背景画像62の長さを決定する。さらに、部分領域51における右側の所定範囲(たとえば半分)の長さに基づき模様画像61の長さを決定する。動画テクスチャ生成部23は、部分領域52および部分領域53についても、対応する模様画像61の長さおよび背景画像62の長さを同様に決定する。動画テクスチャ生成部23は、各部分領域51〜53に対応する3つの模様画像61および3つの背景画像62を、グリッド線41における各部分領域51〜53の順序通りに互いに繋ぎ合わせるように合成する。これにより、模様画像61および背景画像62が互い違いに3つずつ配置される動画テクスチャ63を生成する。
Specifically, the moving image
動画テクスチャ再生部24は、生成された動画テクスチャ63をグリッド線41上に配置し、動画テクスチャ63の再生を開始する。実施形態1と異なり、動画テクスチャ再生部24は、動画テクスチャ63の再生速度を、地形オブジェクト画像32における動画テクスチャ63(またはグリッド線41)が配置される位置に規定される傾斜角度θに応じて変化させる。具体的には、傾斜角度θがより大きいほど再生速度をより速くする。なお、動画テクスチャ再生部24は、実施形態1と同様に、模様画像61が地形オブジェクト画像32におけるより高い位置からより低い位置に移動するように、動画テクスチャ63を再生する。
The moving image
これによりユーザは、プレイ画面上の各模様画像61の移動速度を通じて、地形オブジェクト画像32の傾斜の程度を把握することができる。したがってユーザは、地形オブジェクト画像32の各位置の傾斜を直感的かつ容易には把握することができる。
Thereby, the user can grasp the degree of inclination of the
〔好ましい形態〕
本発明の好ましい形態について、図7を参照して以下に説明する。本形態では、動画テクスチャ生成部23が、動画テクスチャ63に含まれる背景画像62を、動画テクスチャ63が配置される位置の高さに応じた表示形態にする点に特徴がある。以下では、背景画像62の表示形態の一例として、背景画像62が高さに応じた色に着色される態様を説明する。本形態は、実施形態1および2の双方に適用可能である。
[Preferred form]
A preferred embodiment of the present invention will be described below with reference to FIG. The present embodiment is characterized in that the moving image
図7は、着色された背景画像62を含む動画テクスチャ63の生成手順を説明する図である。動画テクスチャ生成部23は、まず、実施形態1または2の手順によって、模様画像61および背景画像62が交互に配置された動画テクスチャ63を生成する。さらに、各背景画像62を、動画テクスチャ63がグリッド線41上に配置された場合の背景画像62の表示位置に対応する地形オブジェクト画像32の位置の高さに応じた色に着色する。本形態では、動画テクスチャ生成部23は、傾斜に応じた所定の着色ルール71を設定し、その着色ルール71に基づき、動画テクスチャ63に含まれる各背景画像62を着色する。
FIG. 7 is a diagram illustrating a procedure for generating the moving
着色ルール71の設定手順は次の通りである。まず動画テクスチャ生成部23は、三角形ポリゴン42の3辺のうちグリッド線41の短辺に相当する辺における頂点42aおよび頂点42bをそれぞれ特定する。そして、地形オブジェクト画像32におけるこれらの頂点42aおよび頂点42bに対応する各位置の高さを特定する。さらに、特定した頂点42aの高さおよび頂点42bの高さを平均することによって、地形オブジェクト画像32における頂点42aと頂点42bとの中点42cに対応する位置の高さを算出する。以下、この位置の高さを、グリッド線41の一端部における高さと表記する。
The procedure for setting the
動画テクスチャ生成部23は、三角形ポリゴン43の3辺のうちグリッド線41の短辺に相当する辺における頂点43aおよび頂点43bをそれぞれ特定する。そして、地形オブジェクト画像32におけるこれらの頂点43aおよび頂点43bに対応する各位置の高さを特定する。さらに、特定したこれらの高さの平均することによって、地形オブジェクト画像32における頂点43aと頂点43bとの中点43cに対応する位置の高さを算出する。以下、この位置の高さを、グリッド線41の一端部における高さと表記する。
The moving image
動画テクスチャ生成部23は、次に、地形オブジェクト画像32においてプレイヤキャラクタ画像31が配置される位置の高さを特定する。そして、グリッド線41の一端部と、グリッド線41の他端部とのうち、プレイヤキャラクタ画像31の配置位置よりも高い方に赤色を設定し、低い方に青色を設定する。さらに動画テクスチャ生成部23は、グリッド線41の一端部から他端部まで、設定してそれぞれの色のグラデーションを設定する。これらの処理によって、グリッド線41に対する着色ルール71を設定する。着色ルール71は、実際にはグリッド線41ではなく、グリッド線41に配置される動画テクスチャ63に対して適用される。
Next, the moving image
図7では、動画テクスチャ生成部23は、6段階のグラデーションを構成する一定範囲の色81〜色86を含む着色ルール71を設定する。色81は青色であり、色86は赤色である。色81から色86に向かって、徐々に段階的に青みが減少すると共に、赤みが上昇する。図7では説明の便宜上、6段階のグラデーションを示しているが、これに限らず、動画テクスチャ生成部23は任意に段階のグラデーションの着色ルール71を設定することができる。各背景画像62内に色のグラデーションが施されていてもよい。
In FIG. 7, the moving image
動画テクスチャ生成部23は、設定した着色ルール71に基づき、動画テクスチャ63に含まれる各背景画像62を着色する。具体的には、各背景画像62を、着色ルール71おいて対応する位置に配置される色に着色する。図7の例では、動画テクスチャ63における左端の背景画像62を色81で着色し、動画テクスチャ63における中央の背景画像62を色83で着色し、動画テクスチャ63における中央の背景画像62を色85で着色する。これにより、動画テクスチャ63において、各背景画像62の色が、動画テクスチャ63の一端部から他端部に向かって段階的に変化する。
The moving image
動画テクスチャ再生部24は、背景画像62が着色された動画テクスチャ63を再生する。本形態では、動画テクスチャ生成部23は、背景画像62が着色される前の動画テクスチャ63の一端部からオフセットを切り取り、背景画像62が着色される前の動画テクスチャ63の他端部にオフセットをつなぎ合わせることによって、背景画像62が着色されない次の動画テクスチャ63をまず生成する。そして、背景画像62が着色されない次の動画テクスチャ63に含まれる各背景画像62を着色ルール71に基づき着色することによって、次にフレームにおいて再生される次の動画テクスチャ63を完成させる。すなわち、いずれのフレームにおいても、動画テクスチャ63における同じ位置に配置される背景画像62は、着色ルール71において対応する同じ色に着色される。
The moving image
これにより、動画テクスチャ63の再生時、模様画像61は動くように表示されると共に、着色された背景画像62は動かないように表示される。したがって、あたかも着色ルール71に基づき段階的に着色された線上を模様画像61が動いているかのように、ユーザに視認させることができる。また、ゲーム画面内の視点がユーザの操作入力によって変更された場合には、変更後の視点から見た地形オブジェクト画像32に沿って、動画テクスチャ63を同様に生成しかつグリッド線41上に表示させることができる。その際、上記の処理がフレームごとに行われることによって、視点が切り替えられた場合にも、地形の傾斜および高さをユーザに容易に把握させることが可能な動画テクスチャ63を、柔軟に生成することができる。
Thus, when the moving
本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態も、本発明の技術的範囲に含まれる。各実施形態にそれぞれ開示された技術的手段を組み合わせることによって、新しい技術的特徴を形成することもできる。 The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims. Embodiments obtained by appropriately combining technical means disclosed in different embodiments are also included in the technical scope of the present invention. A new technical feature can also be formed by combining the technical means disclosed in each embodiment.
〔ソフトウェアによる実現例〕
端末装置1の制御ブロック(制御部13)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
[Example of software implementation]
The control block (control unit 13) of the
後者の場合、制御ブロックは、各機能を実現するソフトウェアであるプログラムの命令を実行するCPU、前記プログラムおよび各種データがコンピュータ(又はCPU)で読み取り可能に記録されたROM(Read Only Memory)または記憶装置(これらを「記録媒体」と称する)、前記プログラムを展開するRAM(Random Access Memory)等を備えている。そして、コンピュータ(又はCPU)が前記プログラムを前記記録媒体から読み取って実行することにより、本発明の目的が達成される。前記記録媒体としては、「一時的でない有形の媒体」、たとえば、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路等を用いることができる。また、前記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して前記コンピュータに供給されてもよい。なお、本発明は、前記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 In the latter case, the control block includes a CPU that executes instructions of a program that is software that realizes each function, a ROM (Read Only Memory) or a memory in which the program and various data are recorded so as to be readable by a computer (or CPU). A device (these are referred to as “recording media”), a RAM (Random Access Memory) for expanding the program, and the like are provided. And the objective of this invention is achieved when a computer (or CPU) reads the said program from the said recording medium and runs it. As the recording medium, a “non-temporary tangible medium” such as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. The program may be supplied to the computer via an arbitrary transmission medium (such as a communication network or a broadcast wave) that can transmit the program. The present invention can also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.
〔付記事項〕
本発明の一側面に係る内容を列記すると以下の通りである。
[Additional Notes]
The contents according to one aspect of the present invention are listed as follows.
(項目1)プロセッサおよびディスプレイを備えるコンピュータにおいて実行される表示方法であって、傾斜が規定される地形オブジェクト画像を前記ディスプレイに表示させるステップと、前記地形オブジェクト画像上にグリッド線を割り当てるステップと、第1画像と、前記第1画像とは異なる第2画像とを合成することによって、交互に配置される前記第1画像および前記第2画像を含む動画テクスチャを生成するステップと、前記グリッド線上に前記動画テクスチャを配置するステップと、前記第1画像が前記グリッド線上を移動するように、前記傾斜に応じた態様で前記動画テクスチャを再生し、前記動画テクスチャに対応するアニメーション画像を前記ディスプレイに表示させるステップとを含む、表示方法。グリッド線テクスチャの表示態様を柔軟に変化させることができる。 (Item 1) A display method executed in a computer including a processor and a display, the step of displaying a terrain object image having a prescribed inclination on the display, the step of assigning grid lines on the terrain object image, Generating a moving image texture including the first image and the second image alternately arranged by combining the first image and a second image different from the first image; and Arranging the moving image texture, playing the moving image texture in a manner corresponding to the inclination so that the first image moves on the grid line, and displaying an animation image corresponding to the moving image texture on the display A display method comprising the steps of: The display mode of the grid line texture can be flexibly changed.
(項目2)前記生成するステップにおいて、前記傾斜の程度がより大きいほど前記動画テクスチャに含まれる前記第1画像をより長くする、項目1の表示方法。ユーザは、地形オブジェクト画像の各位置の傾斜の程度を直感的かつ容易に把握することができる。
(Item 2) The display method according to
(項目3)前記グリッド線内の一定領域を特定するステップと、前記一定領域内の各位置に、前記傾斜の程度および当該位置に応じた値のパラメータを設定するステップと、前記一定領域内において前記パラメータの値が閾値以上である各位置を第1範囲と定義すると共に、前記一定領域内において前記パラメータの値が前記閾値未満である各位置を第2範囲と定義するステップとをさらに含み、前記生成するステップにおいて、前記第1画像の長さを前記第1範囲に基づき決定すると共に、前記第2画像の長さを前記第2範囲に基づき決定する、項目1の表示方法。傾斜の程度に応じた長さの第1画像および第2画像を含む動画テクスチャを生成することができる。
(Item 3) Specifying a certain area in the grid line, setting a parameter of a value corresponding to the degree of inclination and the position at each position in the certain area, and in the certain area Defining each position where the value of the parameter is equal to or greater than a threshold value as a first range, and further defining each position where the value of the parameter is less than the threshold value within the certain region as a second range, The display method according to
(項目4)前記生成するステップにおいて、前記動画テクスチャに含まれる前記第2画像を、前記動画テクスチャが前記グリッド線上に配置された場合の前記第2画像の表示位置に対応する前記地形オブジェクト画像の位置の高さに応じた表示態様にする、項目1〜3のいずれか1つの表示方法。ユーザは、第2画像の表示態様を通じて、傾斜の程度をより正確に把握することができる。
(Item 4) In the generating step, the second image included in the moving image texture is a map of the terrain object image corresponding to a display position of the second image when the moving image texture is arranged on the grid line. The display method according to any one of
(項目5)前記アニメーション画像を前記ディスプレイに表示させるステップにおいて、前記傾斜の程度がより大きいほど前記動画テクスチャの再生速度をより速くする、項目1〜4のいずれか1つの表示方法。ユーザは、第1画像の移動速度を通じて、傾斜の程度を直観的かつ容易に把握することができる。
(Item 5) The display method according to any one of
(項目6)プロセッサおよびディスプレイを備えるコンピュータにおいて実行される表示方法であって、傾斜が規定される地形オブジェクト画像を前記ディスプレイに表示させるステップと、前記地形オブジェクト画像上にグリッド線を割り当てるステップと、前記グリッド線上に交互に配置される第1画像と第2画像とを前記ディスプレイに表示させるステップであって、前記傾斜の程度がより大きいほどより長い前記第1画像を前記ディスプレイに表示させると共に、前記傾斜の程度に関わらず同一数の前記第1画像を前記ディスプレイに表示させるステップとを含む、表示方法。ユーザは、第1画像の長さを通じて地形オブジェクト画像の傾斜の程度を直観的かつ容易に把握することができる。 (Item 6) A display method executed in a computer including a processor and a display, the step of causing the display to display a terrain object image having a prescribed inclination, and the step of assigning grid lines on the terrain object image; Displaying the first image and the second image alternately arranged on the grid line on the display, wherein the longer the first image is, the longer the first image is displayed on the display; Displaying the same number of the first images on the display regardless of the degree of the inclination. The user can intuitively and easily grasp the degree of inclination of the terrain object image through the length of the first image.
(項目7)項目1〜6のいずれかの表示方法の各ステップを、コンピュータに実行させるプログラム。
(Item 7) A program that causes a computer to execute each step of the display method according to any one of
(項目8)項目7のプログラムを記録したコンピュータ読み取り可能な記録媒体。
(Item 8) A computer-readable recording medium on which the program of
1 端末装置、11 入力デバイス、12 ディスプレイ、13 制御部、21 地形オブジェクト画像表示部、22 グリッド線割り当て部、23 動画テクスチャ生成部、24 動画テクスチャ再生部、31 プレイヤキャラクタ画像、32 地形オブジェクト画像、33 グリッド、41 グリッド線、42、43 三角形ポリゴン、51、52、53 部分領域、61 模様画像(第1画像)、62 背景画像(第2画像)、63 動画テクスチャ、71 着色ルール、81〜86 色
DESCRIPTION OF
Claims (8)
傾斜が規定される地形オブジェクト画像を前記ディスプレイに表示させるステップと、
前記地形オブジェクト画像上にグリッド線を割り当てるステップと、
第1画像と、前記第1画像とは異なる第2画像とを合成することによって、交互に配置される前記第1画像および前記第2画像を含む動画テクスチャを生成するステップと、
前記グリッド線上に前記動画テクスチャを配置するステップと、
前記第1画像が前記グリッド線上を移動するように、前記傾斜に応じた態様で前記動画テクスチャを再生し、前記動画テクスチャに対応するアニメーション画像を前記ディスプレイに表示させるステップとを含む、表示方法。 A display method executed in a computer comprising a processor and a display, comprising:
Displaying on the display a terrain object image with a defined slope;
Assigning grid lines on the terrain object image;
Generating a moving image texture including the first image and the second image alternately arranged by combining the first image and a second image different from the first image;
Placing the animated texture on the grid lines;
Replaying the moving image texture in a manner corresponding to the inclination so that the first image moves on the grid line, and causing the display to display an animated image corresponding to the moving image texture.
前記一定領域内の各位置に、前記傾斜の程度および当該位置に応じた値のパラメータを設定するステップと、
前記一定領域内において前記パラメータの値が閾値以上である各位置を含む第1範囲と、前記一定領域内において前記パラメータの値が前記閾値未満である各位置を含む第2範囲とをそれぞれ決定するステップとをさらに含み、
前記生成するステップにおいて、前記第1画像の長さを前記第1範囲に基づき決定すると共に、前記第2画像の長さを前記第2範囲に基づき決定する、請求項1に記載の表示方法。 Identifying a certain area within the grid lines;
Setting a parameter of a value corresponding to the degree of inclination and the position at each position in the fixed region;
A first range including each position where the value of the parameter is greater than or equal to a threshold value in the certain area and a second range including each position where the value of the parameter is less than the threshold value within the certain area are determined. And further comprising steps
The display method according to claim 1, wherein, in the generating step, the length of the first image is determined based on the first range, and the length of the second image is determined based on the second range.
傾斜が規定される地形オブジェクト画像を前記ディスプレイに表示させるステップと、
前記地形オブジェクト画像上にグリッド線を割り当てるステップと、
前記グリッド線上に交互に配置される第1画像と第2画像とを前記ディスプレイに表示させるステップであって、前記傾斜の程度がより大きいほどより長い前記第1画像を前記ディスプレイに表示させると共に、前記傾斜の程度に関わらず同一数の前記第1画像を前記ディスプレイに表示させるステップとを含む、表示方法。 A display method executed in a computer comprising a processor and a display, comprising:
Displaying on the display a terrain object image with a defined slope;
Assigning grid lines on the terrain object image;
Displaying the first image and the second image alternately arranged on the grid line on the display, wherein the longer the first image is, the longer the first image is displayed on the display; Displaying the same number of the first images on the display regardless of the degree of the inclination.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016107919A JP6082148B1 (en) | 2016-05-30 | 2016-05-30 | Display method, program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016107919A JP6082148B1 (en) | 2016-05-30 | 2016-05-30 | Display method, program, and recording medium |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017007095A Division JP2017215932A (en) | 2017-01-18 | 2017-01-18 | Display method, program and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6082148B1 true JP6082148B1 (en) | 2017-02-15 |
JP2017215695A JP2017215695A (en) | 2017-12-07 |
Family
ID=58043326
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016107919A Active JP6082148B1 (en) | 2016-05-30 | 2016-05-30 | Display method, program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6082148B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110876030A (en) * | 2018-08-30 | 2020-03-10 | 佳能株式会社 | Recording control apparatus, control method thereof, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003077008A (en) * | 2001-06-20 | 2003-03-14 | Sony Computer Entertainment Inc | Image processing program, computer readable storage medium storing image processing program, image processing method and image processing device |
JP2005038298A (en) * | 2003-07-17 | 2005-02-10 | Nintendo Co Ltd | Image processing apparatus and image processing program |
JP2005103117A (en) * | 2003-10-01 | 2005-04-21 | Nintendo Co Ltd | Game device and game program |
-
2016
- 2016-05-30 JP JP2016107919A patent/JP6082148B1/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003077008A (en) * | 2001-06-20 | 2003-03-14 | Sony Computer Entertainment Inc | Image processing program, computer readable storage medium storing image processing program, image processing method and image processing device |
JP2005038298A (en) * | 2003-07-17 | 2005-02-10 | Nintendo Co Ltd | Image processing apparatus and image processing program |
JP2005103117A (en) * | 2003-10-01 | 2005-04-21 | Nintendo Co Ltd | Game device and game program |
Non-Patent Citations (1)
Title |
---|
JPN6016044682; 青山 一朗: 'ヴァーチャル・ゴルフ・シミュレーション' I/O 第23巻 第3号 第23巻 第3号, 19980301, P.144-148, 株式会社工学社 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110876030A (en) * | 2018-08-30 | 2020-03-10 | 佳能株式会社 | Recording control apparatus, control method thereof, and storage medium |
CN110876030B (en) * | 2018-08-30 | 2022-03-25 | 佳能株式会社 | Recording control apparatus, control method thereof, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP2017215695A (en) | 2017-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106611435B (en) | Animation processing method and device | |
US6900799B2 (en) | Filtering processing on scene in virtual 3-D space | |
CN109166159B (en) | Method and device for acquiring dominant tone of image and terminal | |
US20080246760A1 (en) | Method and apparatus for mapping texture onto 3-dimensional object model | |
KR100898445B1 (en) | Image processing device, image processing method, and computer-readable information recording medium having a program recorded thereon | |
CN112967367B (en) | Water wave special effect generation method and device, storage medium and computer equipment | |
KR20040004393A (en) | Image processing method for realizing quick bump mapping, image processing device, computer program, and semiconductor device | |
TW200529097A (en) | Image rendering with multi-level z-buffers | |
JP2023545660A (en) | Landscape virtual screen display method and device, electronic device and computer program | |
CN111260760A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
JP6082148B1 (en) | Display method, program, and recording medium | |
JP5893142B2 (en) | Image processing apparatus and image processing method | |
JP2020069317A (en) | Game program, recording medium, and game processing method | |
CN113546410A (en) | Terrain model rendering method and device, electronic equipment and storage medium | |
JP2010029375A (en) | Game system, program, and information storage medium | |
CN116246001A (en) | Stain texture rendering method and device, electronic equipment and readable storage medium | |
US9773331B2 (en) | Methods and systems for efficient graphics rendering | |
JP2017215932A (en) | Display method, program and recording medium | |
CN106716500A (en) | Program, information processing device, depth definition method, and recording medium | |
US20170278285A1 (en) | System and method for rendering points without gaps | |
JPH11331700A (en) | Image processing unit and image processing method | |
JP4637199B2 (en) | Image processing apparatus, image processing method, and program | |
JP3380979B2 (en) | Video generation apparatus and method, and recording medium | |
JP7455546B2 (en) | Image processing device, image processing method, and program | |
WO2023005724A1 (en) | Virtual model rendering method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20161111 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161116 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20161122 |
|
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: 20170110 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170119 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6082148 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |