JP6663066B1 - Drawing program, drawing expression control device, control method, and recording medium - Google Patents

Drawing program, drawing expression control device, control method, and recording medium Download PDF

Info

Publication number
JP6663066B1
JP6663066B1 JP2019107447A JP2019107447A JP6663066B1 JP 6663066 B1 JP6663066 B1 JP 6663066B1 JP 2019107447 A JP2019107447 A JP 2019107447A JP 2019107447 A JP2019107447 A JP 2019107447A JP 6663066 B1 JP6663066 B1 JP 6663066B1
Authority
JP
Japan
Prior art keywords
section
texture expression
texture
expression element
reference line
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
Application number
JP2019107447A
Other languages
Japanese (ja)
Other versions
JP2020201673A (en
Inventor
勇太 今井
勇太 今井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Live2D Inc
Original Assignee
Live2D Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Live2D Inc filed Critical Live2D Inc
Priority to JP2019107447A priority Critical patent/JP6663066B1/en
Application granted granted Critical
Publication of JP6663066B1 publication Critical patent/JP6663066B1/en
Publication of JP2020201673A publication Critical patent/JP2020201673A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

【課題】質感表現を伴う線分の描画において均質な表現を担保する。【解決手段】プログラムは、質感表現を伴う線分の描画を行うコンピュータに、少なくとも1つの区間で構成される基準線を変形する処理と、変形された基準線の各区間について、該区間の長さに応じて、配置する質感表現要素の配置位置を決定する処理と、配置が決定された質感表現要素のそれぞれについて、該当区間の長さに応じて、該質感表現要素のサイズ及び透過度を設定する処理と、質感表現要素の配置位置の情報と該質感表現要素のサイズ及び透過度の情報とに基づいて、変形された基準線上に質感表現要素を配置することで構成される線分を描画する処理と、を実行させる。【選択図】図6PROBLEM TO BE SOLVED: To ensure a uniform expression in drawing a line segment accompanied by a texture expression. SOLUTION: The program causes a computer that draws a line segment with a texture expression to transform a reference line formed of at least one section, and for each section of the transformed reference line, length of the section. Processing for determining the arrangement position of the texture expression element to be arranged, and for each of the texture expression elements for which the arrangement has been determined, the size and transparency of the texture expression element are determined according to the length of the corresponding section. A line segment configured by arranging the texture expression element on the deformed reference line based on the setting process, the information on the arrangement position of the texture expression element, and the information on the size and transparency of the texture expression element. The drawing process and the process are executed. [Selection diagram] FIG.

Description

本発明は、描画用プログラム、描画表現制御装置、描画表現制御方法及び記録媒体に関し、特に質感表現を伴う線分描画技術に関する。   The present invention relates to a drawing program, a drawing expression control device, a drawing expression control method, and a recording medium, and more particularly, to a line segment drawing technology with texture expression.

近年、電子ゲームを始めとするコンピュータグラフィックスの技術分野においては、3次元モデルを用いた描画表現が主流となってきている。これは例えばアニメーションのように同一のキャラクタや背景を動かしながら、連続した複数の時点におけるフレームを描画する際等、繰り返しの描画や光源演算のような処理に要する時間を削減できることによる。特に電子ゲームのような操作入力に対してリアルタイムにキャラクタの動作等が変化するようなインタラクティブなコンテンツにとっては、事前に3次元モデルやアニメーションデータ等を用意しておけば、様々な視点位置や方向からの描画表現に対応することが可能である。通常このような3次元グラフィックスは、デザイナ等により用意された複数枚の2次元画像(カット)を基に3次元モデルが構築され、該モデルにテクスチャを適用することにより描画がなされる。   In recent years, in the technical field of computer graphics such as electronic games, drawing expression using a three-dimensional model has become mainstream. This is because, for example, when drawing the frames at a plurality of continuous points while moving the same character or background as in an animation, it is possible to reduce the time required for processing such as repeated drawing and light source calculation. In particular, for interactive content such as an electronic game in which the movement of a character changes in real time in response to an operation input, various viewpoint positions and directions can be prepared by preparing a 3D model or animation data in advance. It is possible to correspond to the drawing expression from. Normally, such three-dimensional graphics are constructed by constructing a three-dimensional model based on a plurality of two-dimensional images (cuts) prepared by a designer or the like and applying a texture to the model.

一方で、このようなテクスチャ適用により描画される3次元グラフィックスでは、デザイナ等により用意された初期のカットと異なる印象を与える場合がある。3次元グラフィックスは、基本的にテクスチャが適用された3次元モデルを特定の視点について「正しく」描画するものであるため、2次元画像で描かれたカットのように、特定の視線方向における効果的な「見せ方」の表現を再現することは困難であった。このため、2次元画像特有の表現の魅力を優先し、2次元画像を主にゲーム画面において使用するゲームコンテンツ等も一定の支持を保っている。   On the other hand, three-dimensional graphics drawn by applying such a texture may give an impression different from an initial cut prepared by a designer or the like. Since three-dimensional graphics basically draw a three-dimensional model to which a texture is applied “correctly” for a specific viewpoint, an effect in a specific viewing direction, such as a cut drawn in a two-dimensional image, is used. It was difficult to reproduce the typical expression. For this reason, priority is given to the attractiveness of the expression unique to the two-dimensional image, and game content and the like mainly using the two-dimensional image on the game screen maintain a certain level of support.

特許文献1には、デザイナ等により描かれた2次元画像の雰囲気や魅力を保ったまま、3次元的なアニメーションを表現(3次元的表現)可能な描画技術が開示されている。具体的には特許文献1では、2次元画像を髪、眉、目、輪郭(顔)等、それぞれのパーツに分解した後、2次元画像の見た目に合わせて輪郭のパーツに基準となる曲面を簡易的に割り当てる。そしてその他のパーツの2次元画像を表現する顔の方向に応じて回転させた輪郭の球面に合わせて幾何変形及び移動させ、さらに種々の調整を適用可能とすることで、元々の2次元画像の印象を崩壊させずに、異なる方向からのデザイナ所望の表現を実現している。即ち、単にテクスチャを適用して描画する手法とは異なり、特許文献1に記載の手法はデザイナ所望の表現が実現されるように、2次元画像を変形させる手法を採用している。   Patent Document 1 discloses a drawing technique capable of expressing a three-dimensional animation (three-dimensional expression) while maintaining the atmosphere and charm of a two-dimensional image drawn by a designer or the like. Specifically, in Patent Literature 1, a two-dimensional image is decomposed into respective parts such as hair, eyebrows, eyes, and a contour (face), and then a curved surface serving as a reference for the contour parts is adjusted according to the appearance of the two-dimensional image. Assign easily. Then, geometric deformation and movement are performed in accordance with the spherical surface of the contour rotated according to the direction of the face expressing the two-dimensional image of the other parts, and various adjustments can be applied, so that the original two-dimensional image can be applied. It realizes the designer's desired expression from different directions without destroying the impression. That is, unlike the method of drawing by simply applying a texture, the method described in Patent Literature 1 employs a method of deforming a two-dimensional image so that a designer's desired expression is realized.

特開2009−104570号公報JP 2009-104570A

ところで、特許文献1に記載のような2次元画像を用いた3次元的表現では、描画表現の1つとして、ベースとなる2次元画像の稜線等に存在する線分に質感表現を付与することも可能である。質感表現とは、線分を機械的に描画したものではなく、例えば鉛筆や絵筆等の筆記具を用いて描いたような、所謂ブラシストロークの効果を付した表現を指す。   By the way, in a three-dimensional expression using a two-dimensional image as described in Patent Literature 1, a texture expression is given to a line segment existing on a ridge line or the like of a base two-dimensional image as one of the drawing expressions. Is also possible. The texture expression is not an expression in which a line segment is mechanically drawn, but an expression with a so-called brush stroke effect, such as that drawn using a writing implement such as a pencil or a paintbrush.

特許文献1では、2次元画像のパーツの変形、拡大縮小、回転を行うことで2次元画像を用いた3次元的表現はなされるものであるが、稜線等の線分も同様に拡大縮小を行ってしまっては、元々のパーツで用いられた描画表現が好適に再現されない可能性もある。故に、稜線等の線分については例えばベクターデータとして構成し、制御点等の位置変更等を行うことで基準となる線分(基準線)の形状を確定した後、該基準線を所望の質感表現となるよう描画するアプローチが必要となる。   In Patent Literature 1, three-dimensional expression using a two-dimensional image is performed by performing deformation, scaling, and rotation of parts of a two-dimensional image, but line segments such as ridges are also scaled similarly. In other words, the drawing expression used in the original part may not be properly reproduced. Therefore, a line segment such as a ridge line is configured as vector data, for example, and the shape of a reference line segment (reference line) is determined by changing the position of a control point or the like. You need an approach to drawing to be an expression.

従来、質感表現を実現するイラスト編集アプリケーション等では、ブラシストロークのような線分の質感表現は、基準線のアウトラインに対して、長さに応じた数の質感表現要素(質感を表現するための単位要素であって、表現する質感に合わせた固有の画像パターンを備えた要素。所謂スプライト。)を配置することで表現がなされていた。即ち、ブラシストロークの線分は、該当ブラシについて定められた画像パターンの質感表現要素を、該線分の形状や長さに合わせて多重配置することで表現されていた。   Conventionally, in an illustration editing application or the like that realizes texture expression, the texture expression of a line segment such as a brush stroke is represented by a number of texture expression elements (for expressing the texture) corresponding to the length of the outline of the reference line. Expression is performed by arranging unit elements, which are elements having a unique image pattern according to the texture to be expressed, so-called sprites). That is, the line segment of the brush stroke is expressed by arranging the texture expression elements of the image pattern defined for the corresponding brush in accordance with the shape and length of the line segment.

しかしながら、このような手法での質感表現は、イラスト編集アプリケーション等で扱う静止画では所望の表現を実現可能であったが、動画(アニメーション)のように連続的な変化の遷移を提示する態様では、好適な表現とならない可能性があった。例えば、図10(a)乃至(d)に示されるように基準線(アウトライン)が変化(伸長)する場合、長さに応じて質感表現要素を配置すると、図11(a)乃至(d)に示されるように、その変化の遷移において配置密度の変化やちらつきが生じ、安定的な鑑賞を妨げるような表現がなされる可能性があった。   However, in the texture expression by such a method, a desired expression can be realized in a still image handled by an illustration editing application or the like, but in a mode in which a continuous change transition is presented like a moving image (animation). There was a possibility that the expression would not be suitable. For example, when the reference line (outline) changes (extends) as shown in FIGS. 10A to 10D, when the texture expression elements are arranged according to the length, FIGS. 11A to 11D. As shown in (1), there is a possibility that the change in the arrangement density and the flicker occur in the transition of the change, and an expression that hinders stable viewing is made.

本発明は、上述の問題点に鑑みてなされたものであり、質感表現を伴う線分の描画において均質な表現を担保するプログラム、描画表現制御装置、描画表現制御方法及び記録媒体を提供することを目的とする。   The present invention has been made in view of the above-described problems, and provides a program, a drawing expression control device, a drawing expression control method, and a recording medium that ensure uniform expression in drawing a line segment with a texture expression. With the goal.

前述の目的を達成するために、本発明のプログラムは、質感表現を伴う線分の描画を行うコンピュータに、少なくとも1つの区間で構成される基準線を変形する処理と、変形された基準線の各区間について、該区間の長さに応じて、配置する質感表現要素の配置位置を決定する処理と、配置が決定された質感表現要素のそれぞれについて、該当区間の長さに応じて、該質感表現要素のサイズ及び透過度を設定する処理と、質感表現要素の配置位置の情報と該質感表現要素のサイズ及び透過度の情報とに基づいて、変形された基準線上に質感表現要素を配置することで構成される線分を描画する処理と、を実行させることを特徴とする。   In order to achieve the above object, a program according to the present invention provides a computer for rendering a line segment with a texture expression, a process of deforming a reference line composed of at least one section, For each section, a process of determining the arrangement position of the texture expression element to be arranged according to the length of the section, and for each of the texture expression elements whose arrangement is determined, the texture Processing for setting the size and transparency of the expression element, and disposing the texture expression element on the deformed reference line based on the information on the arrangement position of the texture expression element and the information on the size and transparency of the texture expression element And a process of drawing a line segment constituted by the above steps.

このような構成により本発明によれば、質感表現を伴う線分の描画において均質な表現を担保することが可能となる。   With such a configuration, according to the present invention, it is possible to ensure a uniform expression in drawing a line segment accompanied by a texture expression.

本発明の実施形態及び変形例に係る描画表現制御装置100の機能構成を示したブロック図FIG. 2 is a block diagram showing a functional configuration of a drawing expression control device 100 according to the embodiment and a modification of the present invention. 本発明の実施形態及び変形例に係る質感表現要素を配置するか否かを判断する候補位置の選定条件の一態様を説明するための図The figure for explaining one mode of the selection condition of the candidate position which judges whether to arrange the texture expression element concerning the embodiment and the modification of the present invention. 本発明の実施形態及び変形例に係る質感表現要素のパターンを例示した図The figure which illustrated the pattern of the texture expression element which concerns on embodiment and modification of this invention. 本発明の実施形態1に係る質感表現要素の配置判断を説明するための図FIG. 7 is a diagram for explaining arrangement determination of texture expression elements according to the first embodiment of the present invention. 本発明の実施形態1の描画表現制御装置100で実行される描画表現制御処理を例示したフローチャート9 is a flowchart illustrating a drawing expression control process executed by the drawing expression control device 100 according to the first embodiment of the present invention. 本発明の実施形態1に係る描画表現制御装置100により実現される質感表現と従来方式により実現される質感表現とを対比する図FIG. 2 is a diagram comparing a texture expression realized by the drawing expression control apparatus 100 according to the first embodiment of the present invention with a texture expression realized by a conventional method. 本発明の変形例1に係る線幅が変化する線分についての配置判断を説明するための図FIG. 9 is a diagram for explaining arrangement determination for a line segment whose line width changes according to a first modification of the present invention. 本発明の実施形態2に係る描画表現制御装置100で実行される描画表現制御処理を例示したフローチャート9 is a flowchart illustrating a drawing expression control process executed by the drawing expression control device 100 according to the second embodiment of the present invention. 本発明の実施形態2に係る質感表現要素の配置を例示した図The figure which illustrated arrangement | positioning of the texture expression element which concerns on Embodiment 2 of this invention. 従来方式に係る質感表現を伴う線分の描画を説明するための図Diagram for explaining drawing of a line segment accompanied by texture expression according to the conventional method 従来方式に係る質感表現を伴う線分の描画を説明するための別の図Another diagram for describing the drawing of a line segment with a texture expression according to the conventional method

[実施形態1]
以下、添付図面を参照して実施形態を詳しく説明する。なお、以下の実施形態は特許請求の範囲に係る発明を限定するものでなく、また実施形態で説明されている特徴の組み合わせの全てが発明に必須のものとは限らない。実施形態で説明されている複数の特徴のうち二つ以上の特徴が任意に組み合わされてもよい。また、同一若しくは同様の構成には同一の参照番号を付し、重複した説明は省略する。
[Embodiment 1]
Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. It should be noted that the following embodiments do not limit the invention according to the claims, and not all combinations of features described in the embodiments are necessarily essential to the invention. Two or more of the features described in the embodiments may be arbitrarily combined. In addition, the same or similar components are denoted by the same reference numerals, and redundant description will be omitted.

以下に説明する一実施形態は、描画用プログラムの一例としての、画面描画機能を有する汎用的な情報処理端末(PC)にインストール・実行可能に構成された描画用ソフトウェアに、本発明を適用した例を説明する。しかし、本発明は、画面描画機能を有する任意の機器において実行されることで、本発明に係る質感表現を伴う線分の描画を行うことが可能な任意のプログラムに適用可能である。   In one embodiment described below, the present invention is applied to drawing software configured to be installable and executable on a general-purpose information processing terminal (PC) having a screen drawing function, as an example of a drawing program. An example will be described. However, the present invention can be applied to any program capable of drawing a line segment with a texture expression according to the present invention by being executed in any device having a screen drawing function.

《描画装置の構成》
図1は、本発明の実施形態に係る描画表現制御装置100の機能構成を示すブロック図である。
<< Configuration of drawing device >>
FIG. 1 is a block diagram illustrating a functional configuration of a drawing expression control device 100 according to an embodiment of the present invention.

制御部101は、例えばCPU等の制御装置であり、描画表現制御装置100が有する各ブロックの動作を制御する。具体的には制御部101は、記録媒体102に格納されているオペレーティングシステムに係るプログラムや、3次元空間の描画を行う描画アプリケーションに係るプログラム等を読み出し、メモリ103に展開して実行することにより、各ブロックの動作を制御する。   The control unit 101 is a control device such as a CPU, for example, and controls the operation of each block of the drawing expression control device 100. Specifically, the control unit 101 reads a program related to an operating system stored in the recording medium 102, a program related to a drawing application for drawing a three-dimensional space, and the like, and develops and executes the program in the memory 103. , And controls the operation of each block.

記録媒体102は、例えば書き換え可能なROM等の不揮発性メモリや、描画表現制御装置100に着脱可能に接続されたHDD等の記憶装置である。また、記録媒体102は、例えば光学ドライブ等の所定の読み書き可能なインタフェースを介してアクセス可能な、描画アプリケーションにより提供される機能を有するゲームプログラムを記録したディスク等の記録媒体を含んでいてもよい。記録媒体102は、上述したプログラムだけでなく、各ブロックの動作において必要なパラメータ等の情報、描画オブジェクト(拡張2次元オブジェクト及び3次元オブジェクト)の提示に用いられる各種データ等を記憶する。   The recording medium 102 is, for example, a non-volatile memory such as a rewritable ROM or a storage device such as an HDD detachably connected to the drawing expression control device 100. In addition, the recording medium 102 may include a recording medium such as a disk recording a game program having a function provided by a drawing application and accessible through a predetermined readable / writable interface such as an optical drive. . The recording medium 102 stores not only the above-mentioned program but also information such as parameters necessary for the operation of each block, various data used for presenting drawing objects (extended two-dimensional objects and three-dimensional objects), and the like.

メモリ103は、例えばRAM等の揮発性メモリであってよい。メモリ103は、記録媒体102から読み出されたプログラム等を展開する展開領域としてだけでなく、各ブロックの動作において出力された中間データ等を記憶する格納領域としても用いられる。   The memory 103 may be a volatile memory such as a RAM, for example. The memory 103 is used not only as a development area for developing programs and the like read from the recording medium 102, but also as a storage area for storing intermediate data and the like output in the operation of each block.

描画部104は、例えばGPU等の描画装置であってよく、表示部110の表示領域に表示される画面(画像)を生成する。本実施形態では描画部104は、2次元平面に展開され、その形状及び質感が変更可能に構成された線分(直線及び曲線)を少なくとも含むオブジェクトを描画することにより、表示部110に表示される画面を生成する。描画部104によって描画アプリケーションに係り生成された画面は、表示制御部106により表示部110に表示させるための制御(表示更新)が行われる。   The drawing unit 104 may be a drawing device such as a GPU, for example, and generates a screen (image) displayed in the display area of the display unit 110. In the present embodiment, the drawing unit 104 is displayed on the display unit 110 by drawing an object that is developed on a two-dimensional plane and includes at least a line segment (a straight line and a curved line) whose shape and texture can be changed. Generates a screen. The display control unit 106 controls (display updates) the screen generated by the drawing unit 104 in relation to the drawing application by the display control unit 106.

表現制御部105は、制御部101において描画アプリケーションに係るプログラムが実行されることで実現される、質感表現を伴う線分の描画機能を実現する機能モジュールである。本実施形態では表現制御部105は、該プログラムの実行によりソフトウェア上の機能モジュールとして構成されるものとして説明するが、本発明の実施はこれに限られるものではない。即ち、表現制御部105は、当該機能モジュールと同様の処理を行うよう構成されたマイクロコンピュータやプロセッサ等のハードウェアとして実現されるものであってもよいし、ソフトウェアとハードウェアの双方を用いて実現されるものであってもよい。   The expression control unit 105 is a function module that realizes a line segment drawing function with texture expression, which is realized by executing a program related to a drawing application in the control unit 101. In the present embodiment, the expression control unit 105 is described as being configured as a functional module on software by executing the program, but the present invention is not limited to this. That is, the expression control unit 105 may be realized as hardware such as a microcomputer or a processor configured to perform the same processing as that of the functional module, or may be performed using both software and hardware. It may be realized.

表示部110は、例えばLCD等の表示装置であってよい。本実施形態では表示部110は、PC100が有する構成要素であるものとして説明するが、本発明の実施はこれに限られるものではない。表示部110は、描画表現制御装置100と筐体を同じに構成されるものである必要はなく、描画表現制御装置100に着脱可能に接続される外部の表示装置であってもよい。   The display unit 110 may be a display device such as an LCD, for example. In the present embodiment, the display unit 110 is described as being a component included in the PC 100, but the present invention is not limited to this. The display unit 110 does not need to have the same housing as the rendering expression control device 100, and may be an external display device detachably connected to the rendering expression control device 100.

操作入力部107は、例えばマウス、キーボード、ペンタブレット、ゲームコントローラ等、描画表現制御装置100が有するユーザインタフェースである。操作入力部107は、各種インタフェースによりなされた操作入力を検出すると、該操作入力に対応する制御信号を制御部101に出力する。または操作入力部107は、該操作入力対応するイベントの発生を制御部101に通知する。   The operation input unit 107 is a user interface of the drawing expression control device 100, such as a mouse, a keyboard, a pen tablet, and a game controller. When the operation input unit 107 detects an operation input made by various interfaces, the operation input unit 107 outputs a control signal corresponding to the operation input to the control unit 101. Alternatively, the operation input unit 107 notifies the control unit 101 that an event corresponding to the operation input has occurred.

《質感表現を伴う線分の描画》
上述したように、ブラシストロークのような質感表現を伴う線分の描画は、該線分の形状を定義する基準線に沿って複数の質感表現要素を配置することにより行われる。通常、このような線分の描画設定には、例えばブラシの「塗り」の濃さを表現すべく、基準線に対して配置される単位区間に対する質感表現要素の頻度を示す情報が含められる。線分に係る質感表現要素の頻度の情報は、該線分をイラスト編集アプリケーション等で構成される際に、デザイナ等によって定義される。また質感表現を形成する質感表現要素は、どのような外観の線分で描画されるかに応じて、複数種類のプリセットもしくはユーザ定義のものの中から選択される。
《Drawing line segment with texture expression》
As described above, drawing of a line segment accompanied by texture expression such as a brush stroke is performed by arranging a plurality of texture expression elements along a reference line that defines the shape of the line segment. Normally, such line segment drawing settings include information indicating the frequency of the texture expression element for a unit section arranged with respect to the reference line, for example, to express the density of “paint” of the brush. The information on the frequency of the texture expressing element related to the line segment is defined by a designer or the like when the line segment is configured by an illustration editing application or the like. Further, the texture expression element forming the texture expression is selected from a plurality of types of preset or user-defined ones according to the appearance of the line segment.

ここで、基準線は、例えば複数の制御点によって定義されるベジェ曲線等のベクターデータで構成されており、該制御点に基づいて基準線には1つ以上の区間が設けられる。   Here, the reference line is composed of vector data such as a Bezier curve defined by a plurality of control points, and the reference line is provided with one or more sections based on the control points.

従来の手法では、質感表現要素は、このような区間の長さに応じて単純に該区間の基準線に沿って配置されるよう構成されており、基準線の変形によって区間の長さ(経路長)に変化が生じた場合にはその長さの変化分、配置される質感表現要素の数が増減していた。また配置される質感表現要素の大きさは、基準線について設定された線幅に応じて確定されるため、変化した長さによっては要素同士の重複度合いが変化していた。結果、上述したように連続的な基準線の長さの変化が生じた場合には、基準線に沿って配置される質感表現要素の出現と消失による密度変化が生じ得、不自然な濃度変化や明滅が発生している印象を鑑賞者に与え得る。   In the conventional method, the texture expressing element is configured to be simply arranged along the reference line of the section according to the length of the section, and the length of the section (path When the length was changed, the number of texture expression elements arranged increased or decreased by the change in the length. Further, since the size of the texture expression element to be arranged is determined according to the line width set for the reference line, the degree of overlap between elements changes depending on the changed length. As a result, when a continuous change in the length of the reference line occurs as described above, a density change may occur due to the appearance and disappearance of the texture expression element arranged along the reference line, and an unnatural density change may occur. The viewer can be given the impression that flickering has occurred.

本実施形態の描画表現制御装置100では、従来の手法での不自然な質感表現の発生を低減すべく、単純に区間の長さに応じて質感表現要素の増減を行うのではなく、区間長に対して許容される質感表現要素の配置数(許容配置数)に基づいて、配置する質感表現要素の態様をスケーラブルに調整する制御を行う。ここで、許容配置数は、区間の線幅に対応するサイズの質感表現要素を1とした場合の配置数に相当し、配置する質感表現要素のサイズが小さければ1以下として計数する概念である。   In the drawing expression control apparatus 100 according to the present embodiment, in order to reduce the occurrence of unnatural texture expression in the conventional method, the texture expression element is not simply increased or decreased according to the length of the section, but the interval length is changed. , Based on the number of arrangements of the texture expression elements allowed (the allowable number of arrangements), the control for scalably adjusting the mode of the texture expression elements to be arranged is performed. Here, the allowable number of arrangements corresponds to the number of arrangements when the texture expression element having the size corresponding to the line width of the section is set to 1, and is a concept of counting as 1 or less when the size of the arranged texture expression element is small. .

以下、本実施形態の描画表現制御装置100で行われる、質感表現を伴う線分の描画制御について、さらに図を参照しながら説明する。   Hereinafter, the drawing control of the line segment accompanied by the texture expression performed by the drawing expression control device 100 of the present embodiment will be described with reference to the drawings.

本実施形態の描画表現制御装置100では表現制御部105は、質感表現を伴わせる基準線について、対応付けられた質感表現要素の配置数及び配置位置を基準線の区間ごとに決定する。質感表現要素を配置するか否かは、基本的には、対象の区間内に質感表現要素を配置した場合に、質感表現で定められた質感表現要素の許容配置数の範囲で均質な質感表現が担保されるか否かに基づいて行われる。従って、表現制御部105は、予め定められた選定基準に基づいて定まる区間内の配置位置の候補(候補位置)を順番に選択し、該候補位置に質感表現要素を配置するか否かの判断を行っていく。   In the drawing expression control device 100 according to the present embodiment, the expression control unit 105 determines the number of arrangements and the arrangement positions of the associated texture expression elements for each section of the reference line for the reference line accompanied by the texture expression. Basically, whether a texture expression element is arranged or not is basically determined when the texture expression element is arranged in the target section, and the uniform texture expression is performed within the allowable number of arrangement of the texture expression element determined by the texture expression. Is performed based on whether or not is secured. Accordingly, the expression control unit 105 sequentially selects candidates (candidate positions) of arrangement positions within a section determined based on a predetermined selection criterion, and determines whether to arrange the texture expression element at the candidate positions. Go on.

ここで、区間の長さが連続的に変化する際に、区間における質感表現要素の相対的な配置位置が変化する場合、もしくは、変化を経て区間が同一の形状に戻った際に、異なる分布で質感表現要素が配置される場合、質感表現の濃淡が変化する、ちらつく等の違和感ある外観変化が提示され得る。故に、本実施形態の描画表現制御装置100では、質感表現要素の候補位置の選定条件は、区間の長さに依らず、区間における相対的な位置で定義されるものとする。   Here, when the length of the section continuously changes, when the relative arrangement position of the texture expressing element in the section changes, or when the section returns to the same shape through the change, the different distribution In the case where the texture expression element is arranged in, an unnatural appearance change such as a change in shading of the texture expression or flickering can be presented. Therefore, in the rendering expression control device 100 of the present embodiment, the selection condition of the texture expression element candidate position is defined by the relative position in the section regardless of the length of the section.

本実施形態では発明の理解を簡単にすべく、候補位置の選定条件は、図2に示されるように、区間中の、質感表現要素の配置が確定した隣接する2点の中間点を、順次、候補位置として選定するよう定められているものとする。ここで、区間の始点と終点は質感表現要素が必ず配置されるものとして定められており、表現制御部105は、図2(a)に示されるように、まず該始点と終点の中点を候補位置として選定し、質感表現要素を配置するか否かの判断を行う。そして該候補位置に質感表現要素を配置すると判断した場合には、表現制御部105は、図2(b)に示されるように、さらに始点と中点の中間点、及び中点と終点の中間点を候補位置として選定していく手順で、判断対象となった候補位置に質感表現要素を配置しないと判断するまで、新たな候補位置(区間をさらに細分化して定まる位置)を順次選定していく。即ち、候補位置は、質感表現要素を配置するか否かの判断結果に応じて順次異なる位置(より区間を細分する位置)が選定されていくものであり、選定には順序がある。換言すれば、区間について候補位置たり得る位置は、区間の長さに依らず予め確定しているが、これらのうちから質感表現要素を配置するか否かを判断するものとして選定する順序には、優先順位が存在する。   In the present embodiment, in order to simplify the understanding of the invention, as shown in FIG. 2, the selection conditions of the candidate positions are determined by sequentially setting the intermediate point between two adjacent points in which the arrangement of the texture expression elements is determined in the section. It is assumed that it is determined to be selected as a candidate position. Here, the starting point and the ending point of the section are defined such that the texture expression elements are always arranged, and the expression control unit 105 first sets the middle point between the starting point and the ending point as shown in FIG. It is selected as a candidate position, and it is determined whether or not to arrange a texture expression element. If it is determined that a texture expression element is to be arranged at the candidate position, the expression control unit 105 further determines an intermediate point between the start point and the intermediate point and an intermediate point between the intermediate point and the end point, as shown in FIG. In the procedure of selecting a point as a candidate position, a new candidate position (a position determined by further subdividing a section) is sequentially selected until it is determined that the texture expression element is not arranged at the candidate position that has been determined. Go. In other words, the candidate positions are positions in which different positions (positions that further subdivide the section) are sequentially selected in accordance with the determination result as to whether or not the texture expression element is to be arranged, and the selection has an order. In other words, the positions that can be candidate positions for the section are determined in advance regardless of the length of the section. , Priority exists.

〈配置判断〉
次に、このようにして選定した候補位置に質感表現要素を配置するか否かの判断について、図を参照して説明する。
<Arrangement judgment>
Next, a description will be given, with reference to the drawings, of a determination as to whether or not to place a texture expression element at the candidate position selected in this manner.

まず、配置する質感表現要素は、基準線により表現される線分の線種(ブラシ種類等)に応じて、該線種について設けられた複数の質感表現要素のうちから選択される。1つの種類の質感表現要素には、図3に示されるように異なるサイズのパターンが用意されている。これらのパターンは、数種類の線幅に対応可能なように用意されており、基準線の線幅に応じて適切なサイズのものが採用され、配置される。より詳しくは、特に調整することなく基準線に質感表現要素を配置する場合、線幅と同サイズのパターンが存在する場合にはこれをそのまま採用すればよいが、線幅と同サイズのパターン存在しない場合には、該サイズよりも大きいパターンのうちの最も該サイズに近いものを縮小して採用するものとする。本実施形態では説明を簡単にするため、質感表現を伴わせて提示する基準線は、いずれの区間であっても均一な線幅になっているものとする。   First, a texture expression element to be arranged is selected from a plurality of texture expression elements provided for the line type in accordance with the line type (brush type or the like) of the line segment represented by the reference line. As shown in FIG. 3, patterns of different sizes are prepared for one type of texture expression element. These patterns are prepared so as to be compatible with several types of line widths, and those having an appropriate size according to the line width of the reference line are adopted and arranged. More specifically, when arranging the texture expression element on the reference line without particular adjustment, if a pattern having the same size as the line width exists, it may be used as it is, but if a pattern having the same size as the line width exists. If not, a pattern closest to the size among the patterns larger than the size is reduced and adopted. In the present embodiment, for the sake of simplicity, it is assumed that the reference line presented with the texture expression has a uniform line width in any section.

基準線中の任意の区間に選定された候補位置について、該候補位置に質感表現要素を配置するか否かは、例えば、基準線の線種について設定された頻度(ブラシ濃さ等の単位長さあたりの質感表現要素の配置数)、線幅、及び判断の対象となる候補位置を含む経路の長さに基づいて行われる。図4(a)に示されるような、判断の対象となる経路(対象経路)400、即ち、候補位置に隣接する、既に質感表現要素の配置が確定した点(始点401及び終点402)を結ぶ対象経路400がある場合、該対象経路400の中点403を候補位置として選定した場合を例に説明する。   For a candidate position selected in an arbitrary section of the reference line, whether or not the texture expression element is arranged at the candidate position is determined by, for example, the frequency (unit length such as brush density) set for the line type of the reference line. This is performed on the basis of the length of the route including the number of arrangements of the texture expression elements per line), the line width, and the candidate position to be determined. As shown in FIG. 4A, a path (target path) 400 to be determined, that is, a point (start point 401 and end point 402) adjacent to the candidate position and where the arrangement of the texture expression elements has already been determined is connected. A case will be described as an example where there is a target route 400 and a midpoint 403 of the target route 400 is selected as a candidate position.

このとき、基準線の線幅がwで一定であるため、始点401、終点402及び中点403のそれぞれを中心として、線幅wに対応する質感表現要素を配置したのであれば、要素同士の重複を考慮しなければ、図4(b)に示されるように対象経路400のうちの2w分が、質感表現要素によって埋められることになる。より詳しくは、図示されるように1つの質感表現要素は、1辺の長さが線幅に等しい正方形領域で管理されており、中点403を中心に幅wの質感表現要素404を配置すると、対象経路400には、始点401を中心に配置した質感表現要素405の半幅分、終点402を中心に配置した質感表現要素406の半幅分が含まれる。故に、仮に中点403に質感表現要素404を配置したとすると、対象経路400に配置された幅wの質感表現要素の配置数は2と換算できる。以降、このように対象経路400の線幅と対応するサイズの質感表現要素を仮配置した場合の、対象経路400における同サイズの質感表現要素の実質的な配置数を「仮配置数」として説明する。   At this time, since the line width of the reference line is constant at w, if the texture expression element corresponding to the line width w is arranged around each of the start point 401, the end point 402, and the middle point 403, the elements If the overlap is not taken into account, as shown in FIG. 4B, 2w of the target route 400 will be filled with the texture expression element. More specifically, as shown in the figure, one texture expression element is managed in a square area whose one side length is equal to the line width. The target path 400 includes a half width of the texture expression element 405 arranged around the start point 401 and a half width of the texture expression element 406 arranged around the end point 402. Therefore, if the texture expression element 404 is arranged at the midpoint 403, the number of texture expression elements having the width w arranged on the target route 400 can be converted to 2. Hereinafter, when the texture expression elements of the size corresponding to the line width of the target path 400 are provisionally arranged in this manner, the actual number of texture expression elements of the same size in the target path 400 will be described as “temporary arrangement number”. I do.

一方、基準線には、線種について、デザイナ所望の設定頻度(単位長さ辺りの質感表現要素の配置数)が予め設定されているため、対象経路400の長さについての許容配置数は、
許容配置数=設定頻度×経路長
で導出できる。従って、仮配置数が許容配置数を上回っていなければ、中点403には線幅サイズの質感表現要素404を配置することが可能と判断できる。
On the other hand, in the reference line, since the setting frequency (the number of arrangements of the texture expression elements per unit length) desired by the designer is preset for the line type, the allowable arrangement number for the length of the target route 400 is:
The allowable number of arrangements = set frequency × path length can be derived. Therefore, if the number of provisional arrangements does not exceed the allowable arrangement number, it can be determined that the texture expression element 404 having the line width size can be arranged at the midpoint 403.

一方、仮配置数が許容配置数を上回るのであれば、中点403に線幅サイズの質感表現要素404を配置してしまうと、許容配置数を上回ることになってしまう。一方で、このような中点403について質感表現要素を配置しないとすると、質感表現において質感表現要素の配置されない疎な部分が現れることになる。   On the other hand, if the provisional arrangement number exceeds the allowable arrangement number, if the line width size texture expression element 404 is arranged at the midpoint 403, it will exceed the allowable arrangement number. On the other hand, if the texture expression element is not arranged for such a middle point 403, a sparse part where the texture expression element is not arranged appears in the texture expression.

本発明では、このような中点403がある場合でも均質な質感表現を担保すべく、表現制御部105は、線幅に応じたサイズの質感表現要素の表示倍率及び透過度(α値等であってもよい)を調整することで、該中点403に質感表現要素を配置する。配置する質感表現要素の表示倍率及び透過度は、例えば許容配置数を仮配置数で除した値を用いるものとしてよい。この場合、質感表現要素の表示倍率は1未満となるため、表現制御部105は、必要に応じて対応するサイズのパターンを採用するよう制御すればよい。   In the present invention, in order to ensure a uniform texture expression even when such a midpoint 403 exists, the expression control unit 105 controls the display magnification and transmittance (in terms of α value or the like) of the texture expression element having a size corresponding to the line width. Is adjusted), a texture expression element is arranged at the midpoint 403. The display magnification and the transmittance of the texture expression element to be arranged may be, for example, a value obtained by dividing the allowable arrangement number by the provisional arrangement number. In this case, since the display magnification of the texture expression element is less than 1, the expression control unit 105 may perform control to adopt a pattern of a corresponding size as needed.

また表示倍率を変更した後、表現制御部105はさらに、例えば始点401と中点403との中点についても、質感表現要素を配置するか否かの判断を行う。この場合、始点401と中点403間の経路における仮配置数は、配置が確定している点については表示倍率を反映して導出するものとする。即ち、図4(c)に示されるように、例えば中点403に配置する質感表現要素の表示倍率が0.7である場合、対象経路における仮配置数は、
0.5w+w+0.7w/2=1.85w
であるため、1.85となる。
After changing the display magnification, the expression control unit 105 further determines whether or not to place a texture expression element, for example, also on the middle point between the start point 401 and the middle point 403. In this case, it is assumed that the number of provisional arrangements on the route between the start point 401 and the middle point 403 is derived by reflecting the display magnification at the point where the arrangement is determined. That is, as shown in FIG. 4C, for example, when the display magnification of the texture expression element arranged at the midpoint 403 is 0.7, the number of provisional arrangements on the target route is
0.5w + w + 0.7w / 2 = 1.85w
Therefore, it is 1.85.

また本実施形態では、判断基準である許容配置数を仮配置数で除した値について閾値を設け、該除した値が閾値を下回るのであれば、候補位置には質感表現要素を配置しないものとして判断する。この場合、以降の優先順位のさらに細分する中点についての、質感表現要素の配置判断については行わないように処理するものとする。ここで、該除した値は、対象経路に注目した際の許容配置数と仮配置数の比率を示しており、閾値は、サイズの小さい質感表現要素を追加で配置せずとも質感が担保できるものとして、予め定められた値に設定される。   Further, in the present embodiment, a threshold value is provided for a value obtained by dividing the allowable arrangement number, which is the determination criterion, by the provisional arrangement number, and if the divided value is smaller than the threshold value, the texture expression element is not arranged at the candidate position. to decide. In this case, processing is performed so that the determination of the arrangement of the texture expression elements is not performed for the midpoints that are further subdivided into the priorities. Here, the divided value indicates the ratio between the allowable arrangement number and the provisional arrangement number when focusing on the target route, and the threshold value can ensure the texture without additionally arranging a small-sized texture expression element. As a matter of fact, it is set to a predetermined value.

《描画表現制御処理》
以下、本実施形態の描画表現制御装置100で実行される描画表現制御処理について、図5のフローチャートを用いて具体的な処理を説明する。該フローチャートに対応する処理は、制御部101が、例えば記録媒体102に記憶されている対応する処理プログラムを読み出し、メモリ103に展開して実行することにより実現することができる。
《Drawing expression control processing》
Hereinafter, a specific process of the rendering expression control process executed by the rendering expression control device 100 of the present embodiment will be described with reference to the flowchart of FIG. The processing corresponding to the flowchart can be realized by the control unit 101 reading out a corresponding processing program stored in, for example, the recording medium 102, developing the program in the memory 103, and executing the program.

なお、本描画表現制御処理は、例えば描画アプリケーションにおいて、均質な質感表現を行わせる設定がなされている線分(基準線+質感表現要素)を含むオブジェクトが、編集可能な態様で表示された際に開始されるものとして説明する。ここで、本発明の実施は、該線分が編集可能に示される態様であるものに限られる必要はなく、外部アプリケーションやコントローラ等の操作部材に応じて、線分に変形を生じさせる制御入力がなされる態様であってもよいし、モーションデータ等の予め定められた描画態様の遷移の情報に基づいて、線分に変形が生じる態様であってもよい。   Note that this drawing expression control process is performed, for example, when an object including a line segment (reference line + texture expression element) set to perform uniform texture expression is displayed in an editable mode in a drawing application. It will be described as being started at Here, the embodiment of the present invention is not limited to a mode in which the line segment is shown so as to be editable, and a control input for causing the line segment to deform according to an operation member such as an external application or a controller. May be performed, or the line segment may be deformed based on transition information of a predetermined drawing mode such as motion data.

S501で、制御部101は、質感表現を伴う線分(対象線分)に含まれる区間に対して、基準線を変形させる入力がなされたか否かを判断する。ここで、対象線分は少なくとも1つの区間を有して構成されるものであり、変形は、区間を定義する制御点の変更、新たな制御点の追加に係る操作入力等によりなされるものであってよい。本実施形態では、基準線の変形がこれら操作入力によりなされるものとして、本ステップの判断を行うものとして説明するが、本発明の実施はこれに限られるものではないことは理解されよう。基準性の変形は、他の操作入力に基づいて生じるものであってもよい。またこの他、拡大や線幅変更によっても質感表現要素の配置は変更を受け得るため、基準線の変形は、区間の長さ変更、線幅変更を含むものであってもよい。制御部101は、対象線分に含まれる区間に対して、基準線を変形させる入力がなされたと判断した場合は処理をS502に移し、なされていないと判断した場合は処理を本ステップの処理を繰り返す。   In S501, the control unit 101 determines whether or not an input for deforming the reference line has been made for a section included in a line segment with a texture expression (target line segment). Here, the target line segment is configured to include at least one section, and the deformation is performed by changing a control point that defines the section, inputting an operation related to adding a new control point, or the like. May be. In the present embodiment, description will be made assuming that the deformation of the reference line is performed by these operation inputs and that the determination of this step is performed, but it is understood that the present invention is not limited to this. The deformation of the reference may be based on another operation input. In addition, since the arrangement of the texture expression elements can be changed by enlargement or line width change, the deformation of the reference line may include a change in the length of the section and a change in line width. If the control unit 101 determines that an input for deforming the reference line has been performed for the section included in the target line segment, the process proceeds to S502; otherwise, the process proceeds to step S502. repeat.

S502で、制御部101は、対象線分に含まれる区間のうち、変形が生じた区間を特定する。制御部101は、該特定した区間の情報を例えばメモリ103に格納する。   In step S502, the control unit 101 specifies a section in which the deformation has occurred among the sections included in the target line segment. The control unit 101 stores the information of the specified section in, for example, the memory 103.

S503で、表現制御部105は制御部101の制御の下、変形が生じた区間のうちの質感表現要素の配置数及び配置位置を未決定の1つの区間を、対象区間として選択する。   In step S <b> 503, under the control of the control unit 101, the expression control unit 105 selects one of the deformed sections in which the number and position of the texture expression elements are not determined as a target section.

S504で、表現制御部105は制御部101の制御の下、対象区間について予め定められた選定条件に基づいて質感表現要素の配置に係る候補位置を決定し、該候補位置について質感表現要素の配置判断を行う。該配置判断は、上述したように優先順位に従って区間中の相対的位置を候補位置として決定し、該候補位置を含む対象経路について、許容配置数と仮配置数とに基づいて行われる。より詳しくは、表現制御部105は、対象経路に係る許容配置数を仮配置数で除した値を導出し、該除した値が閾値を越えるか否かに基づいて配置の有無を判断する。また表現制御部105は、質感表現要素を配置すると判断した場合には、該除した値(1以上であれば1とする)に応じて配置する質感表現要素の表示倍率及び透過度を決定し、対象区間及び配置位置を示す情報に関連付けて、メモリ103の要素配置情報に追加する形で格納する。このような配置判断は、該除した値が閾値を下回る値になるまで、選定条件に基づいて新たな候補位置を選定して判断を繰り返す。また表現制御部105は、対象区間について配置する質感表現要素の数が確定すると、配置数の情報を要素配置情報に関連付ける。   In step S <b> 504, the expression control unit 105 determines, under the control of the control unit 101, a candidate position related to the placement of the texture expression element based on a predetermined selection condition for the target section. Make a decision. As described above, the placement is determined based on the relative position in the section as a candidate position according to the priority order, and is performed on the target route including the candidate position based on the allowable arrangement number and the provisional arrangement number. More specifically, the expression control unit 105 derives a value obtained by dividing the allowable arrangement number of the target route by the provisional arrangement number, and determines the presence or absence of the arrangement based on whether the divided value exceeds a threshold. When the expression control unit 105 determines that the texture expression element is to be arranged, the expression control unit 105 determines the display magnification and the transparency of the texture expression element to be arranged according to the divided value (1 if it is 1 or more). The information is stored in association with the information indicating the target section and the arrangement position and added to the element arrangement information in the memory 103. Such an arrangement determination is repeated by selecting a new candidate position based on the selection condition until the divided value falls below the threshold value. When the number of texture expression elements to be arranged for the target section is determined, the expression control unit 105 associates information on the number of arrangements with the element arrangement information.

S505で、表現制御部105は制御部101の制御の下、変形が生じた区間のうち、対象区間として未選択の区間が存在するか否かを判断する。表現制御部105は、対象区間として未選択の区間が存在すると判断した場合は処理をS502に戻し、存在しないと判断した場合は処理をS506に移す。   In S505, under the control of the control unit 101, the expression control unit 105 determines whether there is an unselected section as a target section among the sections in which the deformation has occurred. If the expression control unit 105 determines that there is an unselected section as the target section, the process returns to step S502; otherwise, the expression control unit 105 shifts the process to step S506.

S506で、描画部104は制御部101の制御の下、変形が生じた区間に係りS504で格納された要素配置情報を参照し、変形後の対象線分を含むオブジェクトを描画した画面を生成する。そして描画部104は、生成した画面を表示制御部106に伝送し、表示部110に表示させる。   In step S506, under the control of the control unit 101, the drawing unit 104 refers to the element arrangement information stored in step S504 for the section in which the deformation has occurred, and generates a screen in which an object including the target line segment after the deformation is drawn. . Then, the drawing unit 104 transmits the generated screen to the display control unit 106 and causes the display unit 110 to display the generated screen.

以上説明したように、本実施形態の描画表現制御装置によれば、質感表現を伴う線分の描画において均質な表現を担保することができる。より詳しくは、基準線に変形が生じた区間について、単純に区間長に応じた数の、線幅のみに準じた質感表現要素を配置して質感表現を行うのではなく、本実施形態の描画表現制御装置は、区間における許容配置数を考慮し、サイズ及び透過度を調整した質感表現要素をさらに配置可能なように構成される。このため、線分の変形が生じたとしても、質感表現要素が不自然に配置されることによる、質感が損なわれるような描画を回避することができる。   As described above, according to the drawing expression control device of the present embodiment, it is possible to ensure a uniform expression in drawing a line segment accompanied by a texture expression. More specifically, for a section in which the reference line has been deformed, instead of simply arranging a number of texture expression elements according to the section length and according to only the line width to perform texture expression, the rendering of the present embodiment is performed. The expression control device is configured such that a texture expression element whose size and transmittance are adjusted in consideration of the allowable number of arrangements in a section can be further arranged. For this reason, even if the line segment is deformed, it is possible to avoid drawing in which the texture is impaired due to the unnatural arrangement of the texture expression elements.

例えば、本実施形態の描画表現制御方法を用いることで、質感表現を伴う線分が伸長した際に、従来の手法では図6(a)に示されるように濃淡の変化が生じる描画態様となるような変形であっても、図6(b)に示されるように均質な質感表現を担保することができる。   For example, by using the drawing expression control method of the present embodiment, when the line segment accompanied by the texture expression is extended, the drawing method in which the shading changes as shown in FIG. Even with such a deformation, a uniform texture can be ensured as shown in FIG.

[変形例1]
上述した実施形態1では、質感表現を加える線分は固定の線幅が割り当てられ、各区間でも均一な線幅が割り当てられているものとして説明したが、本発明の実施はこれに限られるものではなく、本発明は、区間の始点と終点とで線幅が同一でない態様についても適用可能である。即ち、実施形態1の配置判断で説明したように、中点について配置する質感表現要素のサイズをw以下に調整した場合と同様に、対象経路に係る配置判断の手法を異ならせることで対応すればよい。
[Modification 1]
In the first embodiment described above, a description is given assuming that a fixed line width is assigned to a line segment to which a texture expression is added, and a uniform line width is also assigned to each section. However, the embodiment of the present invention is limited to this. Instead, the present invention is also applicable to a mode in which the line width is not the same between the start point and the end point of the section. That is, as described in the arrangement determination of the first embodiment, similarly to the case where the size of the texture expressing element to be arranged at the middle point is adjusted to be equal to or less than w, it is possible to cope by changing the arrangement determination method related to the target route. I just need.

このように線分中で線幅が変化する態様では、基準線の線種について設定される濃さ等の情報は、頻度(単位長さあたりの質感表現要素の配置数)ではなく、例えば所望の質感表現を実現するために、単位長さあたりを質感表現要素で埋める割合で定義されているものとする。即ち、配置される質感表現要素には複数種類のパターンが存在しており、それぞれ基準線上に配置した場合に、基準線方向(1次元方向)を埋める幅が異なるため、配置数ではなく、単位長さを質感表現要素で埋める長さを重複も含めて示す概念(濃度係数)が、濃さ等の情報として設定されているものとする。従って、対象経路については許容配置数ではなく、許容濃度(対象経路の基準線方向を質感表現要素によって埋めることが可能な長さの割合)を
許容濃度=濃度係数×経路長
として導出し、配置判断の基準に用いるものとする。
In such a manner in which the line width changes in the line segment, the information such as the density set for the line type of the reference line is not the frequency (the number of arrangement of the texture expression elements per unit length) but the desired information In order to realize the texture expression, it is assumed that the expression is defined by a rate of filling a unit length with a texture expression element. That is, since there are a plurality of types of patterns in the texture expression elements to be arranged, and when they are arranged on the reference line, the widths for filling the reference line direction (one-dimensional direction) are different. It is assumed that a concept (density coefficient) indicating the length of the length filled with the texture expression element including duplication is set as information such as the density. Therefore, for the target route, the permissible density (the ratio of the length that can fill the reference line direction of the target route with the texture expression element) is derived as the permissible density = density coefficient × path length instead of the permissible number of arrangements. It shall be used as a criterion for judgment.

対して、対象経路中(の中点)に質感表現要素を配置した場合の概念も、仮配置数(対象経路における同サイズの質感表現要素の実質的な配置数)ではなく、線幅が変化することを考慮して異ならせる。即ち、線分中で線幅の変化する態様では、対象経路の始点、終点、及び中点で線幅が異なり得るため、1つのサイズの質感表現要素を基準に換算した配置数ではなく、同様に対象経路に線幅に応じた質感表現要素を配置した際に該対象経路を埋める長さの割合(仮濃度)を用いるものとする。   On the other hand, when the texture expression element is arranged in the target route (middle point), the line width changes instead of the provisional number (substantial number of texture expression elements of the same size in the target route). To make it different. That is, in a mode in which the line width changes in the line segment, the line width may be different at the start point, the end point, and the middle point of the target route, so the number of arrangements is not the number of arrangements based on the texture expression element of one size. When the texture expression element corresponding to the line width is arranged on the target route, the ratio (temporary density) of the length that fills the target route is used.

ここで、線幅が均一でない線分を示す基準線については、各区間の始点及び終点だけでなく、区間中の任意の位置での線幅を導出することが可能に構成されているものとし、配置可能であるかを判断する候補位置については、該位置の線幅に応じた質感表現要素を配置することを前提に判断を行うものとする。   Here, as for the reference line indicating a line segment having a non-uniform line width, it is assumed that the line width can be derived not only at the start point and the end point of each section but also at an arbitrary position in the section. The candidate position for determining whether or not the position can be arranged is determined on the assumption that a texture expression element corresponding to the line width of the position is arranged.

故に、対象経路に係る仮濃度は、該経路の両端点における線幅ws及びweと候補位置の線幅wmが図7のようである場合、
仮濃度=ws/2+wm+we/2
として導出すればよい。そして表現制御部105は、候補位置に質感表現要素を配置可能であるか否かを、仮濃度を許容濃度で除した値に基づいて、同様に判断すればよい。
Thus, the temporary concentration of the target path, when the line width at both end points of the pathway w s and w e and the line width w m of the candidate position is shown in FIG. 7,
Provisional concentration = w s / 2 + w m + w e / 2
It can be derived as Then, the expression control unit 105 may similarly determine whether or not the texture expression element can be arranged at the candidate position based on a value obtained by dividing the temporary density by the allowable density.

[実施形態2]
上述した実施形態及び変形例では、質感表現要素は回転させずに基準線上に配置する態様について説明した。一方で、特に基準線に線幅が均一な直線状の区間が含まれている場合等、同一の質感表現要素が連続して配置されることで不自然な印象を鑑賞者に与え得る。即ち、例えばブラシの質感表現等において、各質感表現要素は基本的には離散的に分布されたドットパターンで形成されるが、連続して同一の質感表現要素が配置されて線分が描画された場合に、規則性のある不自然な表現が現れ得る。従って、本実施形態では、質感表現要素の配置に際し、回転を付与することで規則性が現れることを回避する態様について説明する。
[Embodiment 2]
In the above-described embodiment and modified examples, the aspect in which the texture expressing element is arranged on the reference line without rotating has been described. On the other hand, particularly when the reference line includes a linear section having a uniform line width, an unnatural impression can be given to the viewer by arranging the same texture expression elements continuously. That is, for example, in a texture expression of a brush, each texture expression element is basically formed by a dot pattern distributed discretely, but the same texture expression element is continuously arranged to draw a line segment. In this case, a regular and unnatural expression may appear. Therefore, in the present embodiment, an aspect will be described in which a regularity is prevented from appearing by applying a rotation when arranging the texture expressing element.

ところで、線分の少なくとも一部の区間に変形が生じた場合、該当の区間中の同一の相対位置に配置される質感表現要素が、該区間の伸縮や移動に応じて回転が変化してしまえば、変形の前後で質感表現要素の不連続な変化によって、やはり明滅や濃淡変化が生じ得る。このため、区間に配置される質感表現要素の回転角については、区間における相対位置ごとに定められているものとし、変形によって変更されないものとする。また、区間に配置される任意の質感表現要素の回転角は、隣接して配置される質感表現要素の回転角と異なるよう制御されていてもよい。   By the way, when deformation occurs in at least a part of the line segment, the rotation of the texture expression element arranged at the same relative position in the corresponding section changes in accordance with expansion and contraction or movement of the section. For example, discontinuous changes in the texture expression element before and after the deformation may also cause flickering and shading. For this reason, the rotation angle of the texture expressing element arranged in the section is determined for each relative position in the section, and is not changed by the deformation. Further, the rotation angle of any texture expression element arranged in the section may be controlled so as to be different from the rotation angle of the texture expression element arranged adjacent thereto.

《描画表現制御処理》
以下、本実施形態の描画表現制御装置100で実行される描画表現制御処理について、図8のフローチャートを用いて具体的な処理を説明する。該フローチャートに対応する処理は、制御部101が、例えば記録媒体102に記憶されている対応する処理プログラムを読み出し、メモリ103に展開して実行することにより実現することができる。
《Drawing expression control processing》
Hereinafter, a specific process of the rendering expression control process executed by the rendering expression control device 100 of the present embodiment will be described with reference to the flowchart of FIG. The processing corresponding to the flowchart can be realized by the control unit 101 reading out a corresponding processing program stored in, for example, the recording medium 102, developing the program in the memory 103, and executing the program.

なお、本描画表現制御処理は、例えば描画アプリケーションにおいて、均質な質感表現を行わせる設定がなされている線分(基準線+質感表現要素)を含むオブジェクトが、編集可能な態様で表示された際に開始されるものとして説明する。また本実施形態の描画表現制御処理において、上述した実施形態1の描画表現制御処理と同様の処理を行うステップについては同一の参照番号を付して説明を省略し、本実施形態に特徴的な処理を行うステップについてのみ説明する。   Note that this drawing expression control process is performed, for example, when an object including a line segment (reference line + texture expression element) set to perform uniform texture expression is displayed in an editable mode in a drawing application. It will be described as being started at In the drawing expression control processing of the present embodiment, steps for performing the same processing as the above-described drawing expression control processing of the first embodiment are denoted by the same reference numerals, and description thereof will be omitted. Only the steps for performing the processing will be described.

S503において対象区間を選択した後、表現制御部105はS801で制御部101の制御の下、対象区間について予め定められた選定条件に基づいて質感表現要素の配置に係る候補位置を決定し、該候補位置について質感表現要素の配置判断を行う。該配置判断は、上述した実施形態1のS504と同様に行われるものであってよい。そして表現制御部105は、質感表現要素を配置すると判断した場合には、該除した値に応じて配置する質感表現要素の表示倍率及び透過度を決定して要素配置情報に追加して格納する。また表現制御部105は、該質感表現要素について、候補位置の情報に基づいて配置する回転角を決定し、同様に要素配置情報に追加して格納する。このとき、決定される回転角は、上述したように、候補位置の対象区間における相対位置に基づいて予め決定条件が定められており、表現制御部105は該決定条件に基づいて質感表現要素の回転角を決定する。   After selecting the target section in S503, the expression control unit 105 determines a candidate position related to the arrangement of the texture expression element based on a predetermined selection condition for the target section under the control of the control unit 101 in S801. The arrangement of the texture expression element is determined for the candidate position. The arrangement determination may be made in the same manner as in S504 of the first embodiment. When the expression control unit 105 determines that the texture expression element is to be arranged, the expression control unit 105 determines the display magnification and the transmittance of the texture expression element to be arranged according to the divided value, and stores it in the element arrangement information. . The expression control unit 105 determines a rotation angle to be arranged for the texture expression element based on the information on the candidate position, and similarly stores the rotation angle in addition to the element arrangement information. At this time, as described above, the rotation angle determined is determined in advance based on the relative position of the candidate position in the target section, and the expression control unit 105 determines the texture expression element based on the determination condition. Determine the rotation angle.

そしてS505において、対象区間として未選択の区間が存在しないと判断された場合、描画部104はS802で制御部101の制御の下、変形が生じた区間に係りS801で格納された要素配置情報を参照し、変形後の対象線分を含むオブジェクトを描画した画面を生成する。そして描画部104は、生成した画面を表示制御部106に伝送し、表示部110に表示させる。   Then, in S505, when it is determined that there is no unselected section as the target section, the drawing unit 104 transmits the element arrangement information stored in S801 regarding the section in which the deformation has occurred under the control of the control unit 101 in S802. A screen is created by drawing an object including the target line segment after the reference. Then, the drawing unit 104 transmits the generated screen to the display control unit 106 and causes the display unit 110 to display the generated screen.

このようにすることで、本実施形態の描画表現制御装置100によれば、例えば区間の長さが変形により伸長した場合、図9に示されるように、該区間に配置される要素に異なる回転角が設定されて配置される。また、図9(a)乃至(d)は順に区間が長くなった態様を示しているが、相対位置に配置される要素のサイズは変更されても、回転角が変化しないことが理解されよう。これにより、区間に連続的な変形が生じる態様や変形を介して同一の状態に戻る態様において、均質な質感表現を担保することができる。   By doing so, according to the drawing expression control device 100 of the present embodiment, for example, when the length of a section is elongated by deformation, as shown in FIG. The corners are set and arranged. 9 (a) to 9 (d) show a mode in which the sections are lengthened in order, it will be understood that the rotation angle does not change even if the size of the element arranged at the relative position is changed. . Thereby, in a mode in which a section undergoes continuous deformation or a mode in which the section returns to the same state through the deformation, a uniform texture expression can be ensured.

[変形例2]
上述した実施形態及び変形例では、基準線方向、つまり1次元方向に質感表現要素を配置することで質感表現を行う態様について説明したが、本発明の実施はこれに限られるものではない。例えば、質感表現を伴う線分の線幅や、配置する質感表現要素について設けられたサイズパターンによっては、1次元方向の質感表現要素の配置で、設定された許容配置数や許容濃度を満たすことが好ましい状況も想定されるため、2次元方向にも質感表現要素を配置するものとしてもよい。この場合、表現制御部105は、2次元の領域に対して配置判断を行えばよい。
[Modification 2]
In the above-described embodiments and modified examples, the aspect in which the texture expression is performed by arranging the texture expression elements in the reference line direction, that is, the one-dimensional direction, has been described. However, the embodiment of the present invention is not limited to this. For example, depending on the line width of the line accompanied by the texture expression and the size pattern provided for the texture expression elements to be arranged, the arrangement of the texture expression elements in the one-dimensional direction satisfies the set allowable number of arrangements and the allowable density. Since a preferable situation is assumed, a texture expression element may be arranged in the two-dimensional direction. In this case, the expression control unit 105 only needs to determine the arrangement of the two-dimensional area.

[実施形態3]
上述した実施形態及び変形例では、質感表現要素のサイズ(幅)に基づいて配置判断を行う態様について説明したが、本発明の実施はこれに限られるものではない。質感表現は、質感表現要素のパターンに表現される有色画素(透過色や中間色を含む)と無色画素の分布によって表現されるものであり、線分の濃淡の表現は、質感表現要素を配置した場合の2次元領域中の有色画素の分布によってもたらされる。
[Embodiment 3]
In the above-described embodiment and the modified example, the mode in which the arrangement determination is performed based on the size (width) of the texture expressing element has been described, but the embodiment of the present invention is not limited to this. The texture expression is expressed by a distribution of colored pixels (including transmission colors and intermediate colors) and colorless pixels expressed in the pattern of the texture expression element, and the density of the line segment is arranged by the texture expression element. The case is caused by the distribution of colored pixels in the two-dimensional area.

故に、質感表現を伴う線分について、単位面積当たりの有色画素の濃度が設定される態様においては、表現制御部105は、経路について線幅と経路長に基づいて定まる2次元領域について該濃度を乗算することで、該領域についての許容濃度を導出すればよい。そして配置判断を行う質感表現要素については、表現制御部105は、候補位置に配置した場合と同様の経路に係る面積における有色画素の濃度を仮濃度として導出し、これらを用いて配置判断及び配置すべき質感表現要素のサイズ(または表示倍率)や透過度を選択するものとしてもよい。   Therefore, in a mode in which the density of colored pixels per unit area is set for a line segment accompanied by texture expression, the expression control unit 105 determines the density for a two-dimensional area determined based on the line width and the path length for the path. By multiplying, the allowable density for the area may be derived. Then, for the texture expression element for which the arrangement determination is performed, the expression control unit 105 derives the density of the colored pixel in the area along the same route as that in the case where it is arranged at the candidate position as the temporary density, and uses these to determine the arrangement The size (or display magnification) and the transmittance of the texture expression element to be performed may be selected.

換言すれば、実施形態1及び2、変形例1及び2で説明した態様では、質感表現要素のサイズのみに基づいて、配置有無及び配置する質感表現要素の表示倍率及び透過度を決定し、均質な質感表現がなされるよう描画制御を行うものとして説明したが、本実施形態のように、該当の領域における質感表現要素の有色画素に基づく濃度を基準に描画制御を行うものとしてもよい。即ち、本発明は、該当の領域における質感表現要素の有色画素に基づく濃度が、質感表現について定められた濃度を担保するよう、質感表現要素の配置有無や、配置する質感表現要素の表示倍率及び透過度を決定することにより実現されるものであってもよい。   In other words, in the embodiments described in the first and second embodiments and the first and second modified examples, the presence or absence of arrangement and the display magnification and transmittance of the arranged texture expression element are determined based on only the size of the texture expression element, and the uniformity is determined. Although the description has been made assuming that the drawing control is performed so as to provide a natural texture expression, as in the present embodiment, the drawing control may be performed based on the density based on the color pixels of the texture expressing element in the corresponding area. That is, according to the present invention, the presence or absence of the texture expression element, the display magnification of the texture expression element to be arranged, and the density based on the color pixel of the texture expression element in the corresponding area ensure the density defined for the texture expression. It may be realized by determining the transmittance.

[その他の実施形態]
本発明は上記実施の形態に制限されるものではなく、本発明の精神及び範囲から逸脱することなく、発明の要旨の範囲内で種々の変形・変更が可能である。また本発明に係る描画表現制御装置は、1以上のコンピュータを該描画表現制御装置として機能させるプログラムによっても実現可能である。該プログラムは、コンピュータが読み取り可能な記録媒体に記録されることにより、あるいは電気通信回線を通じて、提供/配布することができる。
[Other Embodiments]
The present invention is not limited to the above-described embodiment, and various modifications and changes can be made without departing from the spirit and scope of the present invention within the scope of the invention. The drawing expression control device according to the present invention can also be realized by a program that causes one or more computers to function as the drawing expression control device. The program can be provided / distributed by being recorded on a computer-readable recording medium or through a telecommunication line.

100:描画表現制御装置、101:制御部、102:記録媒体、103:メモリ、104:描画部、105:表現制御部、106:表示制御部、107:操作入力部、110:表示部   100: rendering expression control device, 101: control unit, 102: recording medium, 103: memory, 104: rendering unit, 105: expression control unit, 106: display control unit, 107: operation input unit, 110: display unit

Claims (13)

質感表現を伴う線分の描画を行うコンピュータに、
少なくとも1つの区間で構成される基準線を変形する処理と、
変形された前記基準線の各区間について、該区間の長さに応じて、配置する質感表現要素の配置位置を決定する処理と、
配置が決定された前記質感表現要素のそれぞれについて、該当区間の長さに応じて、該質感表現要素のサイズ及び透過度を設定する処理と、
前記質感表現要素の配置位置の情報と該質感表現要素のサイズ及び透過度の情報とに基づいて、前記変形された基準線上に前記質感表現要素を配置することで構成される線分を描画する処理と、
を実行させることを特徴とする描画用プログラム。
Computer that draws line segments with texture expression,
Processing of deforming a reference line composed of at least one section;
For each section of the transformed reference line, a process of determining the arrangement position of the texture expression element to be arranged according to the length of the section;
For each of the texture expression elements whose arrangement has been determined, a process of setting the size and transparency of the texture expression element according to the length of the corresponding section;
Based on information on the arrangement position of the texture expression element and information on the size and transparency of the texture expression element, draw a line segment configured by arranging the texture expression element on the deformed reference line. Processing,
A drawing program characterized by executing the following.
前記基準線の区間に前記質感表現要素を配置する配置位置の候補は、予め定められた選定条件に基づいて、該区間の長さによらず定まるものであり、
前記基準線の各区間について、該区間について定められた前記配置位置の候補のうちから、前記質感表現要素を配置する配置位置が決定される
ことを特徴とする請求項1に記載の描画用プログラム。
A candidate for an arrangement position for arranging the texture expression element in the section of the reference line is determined based on a predetermined selection condition regardless of the length of the section,
2. The non-transitory computer-readable storage medium according to claim 1, wherein, for each section of the reference line, an arrangement position at which the texture expression element is arranged is determined from among the arrangement position candidates determined for the section. .
前記基準線の区間における前記配置位置の候補には、配置位置として決定する優先順位が定められており、
前記基準線の各区間について、該区間について定められた前記配置位置の候補のうちから、優先順位の順に前記質感表現要素を配置する配置位置が決定される
ことを特徴とする請求項2に記載の描画用プログラム。
Priorities to be determined as arrangement positions are determined for the arrangement position candidates in the section of the reference line,
3. The arrangement position for arranging the texture expression elements in the order of priority from among the arrangement position candidates defined for the section, for each section of the reference line, wherein: Drawing program.
前記基準線の変形により区間の長さが変化したとしても、前記配置位置の候補の該区間における相対的な位置は変化しないことを特徴とする請求項2または3に記載の描画用プログラム。   4. The non-transitory computer-readable storage medium according to claim 2, wherein even if the length of the section changes due to deformation of the reference line, a relative position of the arrangement position candidate in the section does not change. 前記質感表現を伴う線分には、追加で前記質感表現要素を配置せずとも質感が担保できる条件が定められており、
前記基準線の各区間について、該区間の前記配置位置の候補に前記質感表現要素を配置するか否かが前記条件に基づいて決定される
ことを特徴とする請求項2乃至4のいずれか1項に記載の描画用プログラム。
For the line segment accompanied by the texture expression, a condition that can secure the texture without additionally arranging the texture expression element is defined,
The method according to any one of claims 2 to 4, wherein, for each section of the reference line, whether or not the texture expression element is to be arranged as a candidate for the arrangement position of the section is determined based on the condition. Drawing program described in section.
前記質感表現を伴う線分には、単位長さあたりに前記質感表現要素の配置が許容される許容値が定められており、
前記基準線の各区間について、該区間の前記配置位置の候補に前記質感表現要素を配置する場合のサイズ及び透過度が前記許容値に基づいて決定される
ことを特徴とする請求項5に記載の描画用プログラム。
For the line segment accompanied by the texture expression, an allowable value in which the arrangement of the texture expression element is allowed per unit length is defined,
The size and transmittance of each section of the reference line when the texture expression element is arranged as a candidate for the arrangement position of the section are determined based on the permissible value. Drawing program.
前記質感表現を伴う線分には、単位長さあたりに前記質感表現要素で埋めることが許容される許容値が定められており、
前記基準線の各区間について、該区間の前記配置位置の候補に前記質感表現要素を配置する場合のサイズ及び透過度が前記許容値に基づいて決定される
ことを特徴とする請求項5に記載の描画用プログラム。
For the line segment accompanied by the texture expression, an allowable value that is allowed to be filled with the texture expression element per unit length is defined,
The size and transmittance of each section of the reference line when the texture expression element is arranged as a candidate for the arrangement position of the section are determined based on the permissible value. Drawing program.
前記質感表現要素は、有色と無色の画素で構成された画像パターンであり、
前記質感表現を伴う線分には、単位面積あたりに許容される有色画素の濃度の許容値が定められており、
前記基準線の各区間について、該区間の前記配置位置の候補に前記質感表現要素を配置する場合のサイズ及び透過度が前記許容値に基づいて決定される
ことを特徴とする請求項5に記載の描画用プログラム。
The texture expression element is an image pattern composed of colored and colorless pixels,
For the line segment accompanied by the texture expression, a permissible value of the density of the colored pixel per unit area is defined,
The size and transmittance of each section of the reference line when the texture expression element is arranged as a candidate for the arrangement position of the section are determined based on the permissible value. Drawing program.
前記質感表現を伴う線分には、線幅が設定されており、
前記基準線の各区間について、該区間の前記配置位置の候補に配置する前記質感表現要素の前記サイズ及び透過度は、該配置位置の候補における線幅と前記許容値に基づいて設定される
ことを特徴とする請求項6乃至8のいずれか1項に記載の描画用プログラム。
A line width is set for the line segment accompanied by the texture expression,
For each section of the reference line, the size and the transparency of the texture expression element to be arranged in the candidate of the arrangement position of the section are set based on the line width and the allowable value of the arrangement position candidate. The drawing program according to any one of claims 6 to 8, wherein:
前記基準線の区間における配置位置の相対的な位置に応じて、該配置位置に配置する前記質感表現要素の前記基準線に対する回転角が定められており、
前記設定する処理において、配置する前記質感表現要素の回転角がさらに決定され、
前記描画する処理において、前記変形された基準線上に、設定された回転角で前記質感表現要素が配置されて描画される
ことを特徴とする請求項1乃至9のいずれか1項に記載の描画用プログラム。
According to the relative position of the arrangement position in the section of the reference line, a rotation angle of the texture expression element arranged at the arrangement position with respect to the reference line is determined,
In the setting process, a rotation angle of the texture expression element to be arranged is further determined,
The drawing according to any one of claims 1 to 9, wherein, in the drawing processing, the texture expression element is arranged and drawn at a set rotation angle on the deformed reference line. Program.
質感表現を伴う線分の描画を行う描画表現制御装置であって、
少なくとも1つの区間で構成される基準線を変形する変形手段と、
前記変形手段により変形された前記基準線の各区間について、該区間の長さに応じて、配置する質感表現要素の配置位置を決定する決定手段と、
前記決定手段により配置が決定された前記質感表現要素のそれぞれについて、該当区間の長さに応じて、該質感表現要素のサイズ及び透過度を設定する設定手段と、
前記質感表現要素の配置位置の情報と該質感表現要素のサイズ及び透過度の情報とに基づいて、前記変形された基準線上に前記質感表現要素を配置することで構成される線分を描画する描画手段と、
を有することを特徴とする描画表現制御装置。
A drawing expression control device that draws a line segment with a texture expression,
Deforming means for deforming a reference line constituted by at least one section;
Determining means for determining, for each section of the reference line deformed by the deforming means, an arrangement position of a texture expression element to be arranged according to a length of the section;
Setting means for setting, for each of the texture expression elements whose arrangement has been determined by the determination means, in accordance with the length of the corresponding section, the size and transparency of the texture expression element;
Based on information on the arrangement position of the texture expression element and information on the size and transparency of the texture expression element, draw a line segment configured by arranging the texture expression element on the deformed reference line. Drawing means,
A drawing expression control device, comprising:
質感表現を伴う線分の描画を行う描画表現装置の制御方法であって、
少なくとも1つの区間で構成される基準線を変形する変形工程と、
前記変形工程において変形された前記基準線の各区間について、該区間の長さに応じて、配置する質感表現要素の配置位置を決定する決定工程と、
前記決定工程において配置が決定された前記質感表現要素のそれぞれについて、該当区間の長さに応じて、該質感表現要素のサイズ及び透過度を設定する設定工程と、
前記質感表現要素の配置位置の情報と該質感表現要素のサイズ及び透過度の情報とに基づいて、前記変形された基準線上に前記質感表現要素を配置することで構成される線分を描画する描画工程と、
を有することを特徴とする描画表現装置の制御方法。
A method for controlling a drawing expression device that draws a line segment with a texture expression,
A deformation step of deforming a reference line composed of at least one section;
A determination step of determining, for each section of the reference line deformed in the deformation step, an arrangement position of a texture expression element to be arranged according to a length of the section;
A setting step of setting, for each of the texture expression elements whose arrangement is determined in the determination step, the size and the transparency of the texture expression element according to the length of the section;
Based on information on the arrangement position of the texture expression element and information on the size and transparency of the texture expression element, draw a line segment configured by arranging the texture expression element on the deformed reference line. A drawing process;
A control method for a drawing expression device, comprising :
請求項1乃至10のいずれか1項に記載のプログラムを記録した、コンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the program according to any one of claims 1 to 10 is recorded.
JP2019107447A 2019-06-07 2019-06-07 Drawing program, drawing expression control device, control method, and recording medium Active JP6663066B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019107447A JP6663066B1 (en) 2019-06-07 2019-06-07 Drawing program, drawing expression control device, control method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019107447A JP6663066B1 (en) 2019-06-07 2019-06-07 Drawing program, drawing expression control device, control method, and recording medium

Publications (2)

Publication Number Publication Date
JP6663066B1 true JP6663066B1 (en) 2020-03-11
JP2020201673A JP2020201673A (en) 2020-12-17

Family

ID=69998128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019107447A Active JP6663066B1 (en) 2019-06-07 2019-06-07 Drawing program, drawing expression control device, control method, and recording medium

Country Status (1)

Country Link
JP (1) JP6663066B1 (en)

Also Published As

Publication number Publication date
JP2020201673A (en) 2020-12-17

Similar Documents

Publication Publication Date Title
US6677944B1 (en) Three-dimensional image generating apparatus that creates a three-dimensional model from a two-dimensional image by image processing
KR100848778B1 (en) System and method for rendering pixel sub-component-oriented images
JP2019512118A (en) Method and system for generating and selectively outputting two types of ink vector data
US20200020150A1 (en) Gutter space padding for texture atlases
KR102573822B1 (en) Method for changing style and replaying of vector image
JP6663066B1 (en) Drawing program, drawing expression control device, control method, and recording medium
US10297036B2 (en) Recording medium, information processing apparatus, and depth definition method
KR102108244B1 (en) Image processing method and device
JP5893142B2 (en) Image processing apparatus and image processing method
KR101874760B1 (en) Information processing device, control method and recording medium
US10748328B2 (en) Recording medium, information processing apparatus, influence degree deriving method, and image generation method
CA1200025A (en) Graphic and textual image generator for a raster scan display
JP2005326756A (en) Character image generation device and its method, display controller, character image generating program and display control program
US20150317947A1 (en) Display apparatus, display method, and program
JP3002972B2 (en) 3D image processing device
JP7145359B1 (en) Inference model construction method, inference model construction device, program, recording medium, configuration device and configuration method
JP3002971B2 (en) 3D model creation device
JP2014178905A (en) Image display device, image display method, and program
US8508552B2 (en) Pixel snapping with relative guidelines
KR101815994B1 (en) Method for creating continuous moving image contents
CN106657560B (en) Image processing method and mobile terminal
CN117115299A (en) Display information processing method and device, storage medium and electronic device
Hash et al. Maintaining Consistent 3D Display Rates with Splines.
JP2004086770A (en) Image forming apparatus, program, and recording medium
JP2005018538A (en) Image processing method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190607

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20190617

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20191011

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191121

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: 20200124

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200213

R150 Certificate of patent or registration of utility model

Ref document number: 6663066

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250