JPS60173583A - Texture pattern generator - Google Patents

Texture pattern generator

Info

Publication number
JPS60173583A
JPS60173583A JP59025773A JP2577384A JPS60173583A JP S60173583 A JPS60173583 A JP S60173583A JP 59025773 A JP59025773 A JP 59025773A JP 2577384 A JP2577384 A JP 2577384A JP S60173583 A JPS60173583 A JP S60173583A
Authority
JP
Japan
Prior art keywords
pattern
address
pattern table
chixtenia
closed
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.)
Pending
Application number
JP59025773A
Other languages
Japanese (ja)
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.)
Mitsubishi Electric Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Mitsubishi Electric Corp
Nippon Telegraph and Telephone Corp
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 Mitsubishi Electric Corp, Nippon Telegraph and Telephone Corp filed Critical Mitsubishi Electric Corp
Priority to JP59025773A priority Critical patent/JPS60173583A/en
Publication of JPS60173583A publication Critical patent/JPS60173583A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、グラフィック表示において、指定された夢
りステユアパターンで閉図形の白和−を塗9つぶすため
のテクスチュアパターン発生方式に関するものである、 〔従来技術〕 従来からコンピュータ・グラフィックなどにおいて、第
1図(a)ないしくc)に示す様な水平ハンチング、垂
直・・ツチング、クロスハツチング等の享りスチュアパ
ターンで、第2図に示す様に、閉図形Aの内V!A全塗
りつぶす際の宇りスチュアバターレ尭生方式としては、
大別して次の2つの方式が採用されている。その1つの
方式は、ソフトウェアによって閉図形Aの内部のある点
が白か黒(多値あるいはカラー表示の場合には、指定さ
れた階調あるいは色)かを判定して、表示用メモリにそ
の情報″lき込む方式であるc以下、この方式を従来方
式Iと称する)。この従来方式■では、閉図形Aの内部
の点のアドレスを計算し、1点とと傾白か黒かの判定全
行う必要かあ、ip、CPU(中央処理装置)の処理時
間が大となる欠点があった。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a texture pattern generation method for filling in the white sum of a closed figure with a specified dream-like stealth pattern in a graphic display. , [Prior Art] In computer graphics, etc., conventional patterns have been used, such as horizontal hunting, vertical... As shown, V! of closed figure A! When filling in all of A, the Uri-Stu-Batare-Yao method is as follows.
Broadly speaking, the following two methods are adopted. One method is to use software to determine whether a certain point inside closed figure A is white or black (in the case of multivalued or color display, a specified gradation or color), and store the information in display memory. Hereinafter, this method will be referred to as conventional method I). In this conventional method, the address of a point inside the closed figure A is calculated, and one point and whether it is white or black are calculated. It is necessary to perform all the determinations, which has the drawback of requiring a large amount of processing time for the IP and CPU (central processing unit).

また、他の1つの方式は、あらかじめ2次元のテクスチ
ュアパターン(あるいはその一部)ヲハターンテーブル
に2次光の配列形式で記憶しておき、閉図形Aの内部の
点のアドレスに対応するパターンの情報を、パターンテ
ーブルの内容を参照することにより、表示用メモリに1
”き込む方式である(以下、この方式全従来方式■と称
する)。
Another method is to store a two-dimensional texture pattern (or part of it) on a turntable in advance in the form of a secondary light array, and then create a pattern corresponding to the address of a point inside the closed figure A. information is stored in the display memory by referring to the contents of the pattern table.
(Hereinafter, this method will be referred to as all conventional methods ■).

第3囚は従来のチクステニアパターン発生方式の一例で
ある従来方式■の構成を示すブロック図である。図に訃
いて、1はホスト計算機、2.はグラフィック処理用C
PU、3は表示用メモリ、4はデータセレクタ、5はC
RT(陰極線管)ディスプレイ、6はパターンテーブル
である。第3図に示す従来方式用では、グラフィック処
理用CPU2はホスト計JI!#機1から送られたグラ
フィック・コマンドを受信し、このグラフインク・コ?
 7 )” k解釈する。そして、各グラフィック・コ
マンドごとに必要な演′xを行い、指定された閉図形を
ドツトに展開して表示用メモリ3に書き込む。CRTデ
ィスプレイ5には、−表示用メモリ3の内容が60)t
Zととに読み出されて表示される。なお、表示用メモリ
3からCRTディスプレイ5への読み出しと、グラフイ
ンク処理用CPU 2等から表示用メモリ3へのアクセ
スは時分割で行われる。閉図形の内部をチクステニアパ
ターンで塗シっぷす時以外の直線9円弧あるいは輪郭を
描画する等のモードにおいては、データセレクタ4によ
りデータバスが表示用メモリ3のデータ入力として選択
され、グラフインク処理用CPU2により計算された閉
図形”を構Rする各ドツトのアドレスがアドレスバスを
介して、又はそのドツトの内容(2値表示の場合は、「
0」あるいは「1」)がデータバスを介してそれぞれ表
示用メモリ3に与えられて書き込まれる。閉図形の内部
をチクステニアパターンで塗りつぶすモードにおいては
、グラフィック処理用CPU2により計算された閉図形
の内部のアドレスが、表示用メモリ3に与えられると共
に、そのアドレス(あるいはその一部)がパターンテー
ブル6に与えられる。パターンテーブル6には、あらか
じめグラフィック処理用CPU2により読み出されるべ
きチクステニアパターンが指示され、与えられるアドレ
スにしたがって、そのチクステニアパターンの内容が順
次に読み出される。この時(1)データセレクタ4はパ
ターンテーブル1IllK切り塗工ら・)1.てツ?す
、表示用メモリ3には、与えらしたアドレスt1t:パ
ターンテーブル6より読み出されたチクステニアパター
ンが書キ込まれる。
The third figure is a block diagram showing the configuration of conventional method (2), which is an example of a conventional chixtenia pattern generation method. In the figure, 1 is the host computer, 2. is C for graphic processing
PU, 3 is display memory, 4 is data selector, 5 is C
An RT (cathode ray tube) display, 6 is a pattern table. In the conventional system shown in FIG. 3, the CPU 2 for graphic processing is the host computer JI! #Receives the graphic command sent from machine 1 and displays this graphic command?
7)" k Interpretation.Then, the necessary operations are performed for each graphic command, and the specified closed figure is developed into dots and written into the display memory 3.The CRT display 5 has - The contents of memory 3 are 60)t
It is read out and displayed on Z and . Note that readout from the display memory 3 to the CRT display 5 and access to the display memory 3 from the graph ink processing CPU 2 and the like are performed in a time-sharing manner. In a mode other than when painting the inside of a closed figure with a chixtenia pattern, such as drawing a straight line or a contour, the data bus is selected by the data selector 4 as the data input to the display memory 3, and the graph is The address of each dot constituting the closed figure calculated by the ink processing CPU 2 is transmitted via the address bus, or the contents of the dot (in the case of binary display,
0" or "1") are applied to the display memory 3 via the data bus and written therein. In the mode of filling the inside of a closed figure with a chixtenia pattern, the address inside the closed figure calculated by the graphics processing CPU 2 is given to the display memory 3, and that address (or part of it) is used as the pattern. given in Table 6. In the pattern table 6, a chixtenia pattern to be read out by the graphic processing CPU 2 is specified in advance, and the contents of the chixtenia pattern are sequentially read out according to the given address. At this time, (1) the data selector 4 selects the pattern table 1IllK cut coating etc.)1. Tetsu? Then, the chixtenia pattern read from the given address t1t: pattern table 6 is written into the display memory 3.

第4図(al及び(b)は、それぞれ第3図のパターン
テーブルの構成例を示す図である。第4図(a)は、横
及び縦(X方向及びY方向)のハツチング間隔(Lx 
、 Ly )が、(1,1)、(2,2)、(3゜3)
の場合におけるクロスハンチングのパターンテーブルの
構成例である。図に示されるパターンテーブルは、各々
の・・ツチング間隔(Lx 、 Ly )に対して最小
の構成となっている。すなわち、第4図(b)にポス様
に、バッテン(間隔(Lx 、 Ly )=(2,2)
の場合のクロスハツチングのパターンを・構成する最小
の領域は4X4の領域となる。
4(a) and 4(b) respectively show configuration examples of the pattern table in FIG. 3. FIG. 4(a) shows horizontal and vertical (X direction and Y direction) hatching intervals (Lx
, Ly ) is (1,1), (2,2), (3゜3)
This is an example of the configuration of a cross hunting pattern table in the case of . The pattern table shown in the figure has a minimum configuration for each cutting interval (Lx, Ly). That is, in Fig. 4(b), the batten (interval (Lx, Ly) = (2, 2)
In this case, the minimum area constituting the crosshatching pattern is a 4×4 area.

したがって、第4図(81及び(b)に示すパターンテ
ーブルKli、’M3Fsのグラフィック処理用CPU
2から与えられる閉図形の内部のアドレスの下位アドレ
スが、各・・ツチング間隔(LX e Ly )に与え
られる。例えばハツチング間隔(Lx、Ly)=(2゜
2)の場合には、x、yアドレスの各下位の2ビツトの
みかパターンテーブルに与えられ、そのアドレスのパタ
ーンテーブルの内容が読み出される。
Therefore, the pattern table Kli shown in FIG. 4 (81 and (b)) is
The lower address of the internal address of the closed figure given from 2 is given to each tucking interval (LX e Ly ). For example, when the hatching interval (Lx, Ly)=(2°2), only the lower two bits of each x and y address are given to the pattern table, and the contents of the pattern table of that address are read out.

上記した従来方式Hにおいては、パターンテーブル全高
速に読み出すことができるメモリで構成し、 □第3図
のグラフィック処理用CPU2て割算される閉図形O内
部の点の座標を、ベクタージェネレータ等のハードウェ
ア回路で計算してパターンテーブルに与えることにより
、閉図形の内部をチクステニアパターンを用いて高速に
塗りつぶすことが可能である。しかるに、第4図(a)
及び(b)で説明した様に、パターンテーブルの大きさ
がハンチング間隔(Lx 、 Ly )によって異なる
ことにより、パターンテーブルに与えるアドレスの下位
ビラトラハツチング間隔(Lx 、 Ly )に応じて
制御する必要かある。そして、大きさの異なるパターン
テーブルを実際のメモリ上で無駄なく構成した場合、こ
のアドレス制御は、一般的に非常に複雑なものになると
いう欠点があった。また、この様なアドレス制御の問題
点を解決するために、第5図に示す様に、パターンテー
ブルをすべて同じ大きさで櫂成しkとすれば、クロスハ
ンチングの場合の1つのパターンテーブルの大きさSl
は、S+ ”” (L−C1vN(2,4、−−・・ 
、2n、) ) 2 ”−・・・・ (1ンとなる。た
だし、ngはハンチング間隔(Lx、Ly)の韻大値で
あり、L、C,Mは最小公倍数を示すものとする。(−
たがって、ハツチングfiJ[(Lx 、 Ly)= 
(n 、 n )、(n=1121・・・・・In+l
&le)の各水平八ッテング、垂直ハツチング、クロス
ハンチングのパターンtNじ大きさのパターンテーブル
で構成スるものとすると、パターンテーブルの全体の大
キさS、は、。
In the conventional method H described above, the pattern table is configured with a memory that can be read out at high speed, and the coordinates of the points inside the closed figure O divided by the graphic processing CPU 2 in Fig. 3 are calculated using a vector generator, etc. By calculating with a hardware circuit and providing it to the pattern table, it is possible to fill the inside of a closed figure at high speed using a chixtenia pattern. However, Fig. 4(a)
As explained in and (b), since the size of the pattern table differs depending on the hunting interval (Lx, Ly), control is performed according to the lower order hatching interval (Lx, Ly) of the address given to the pattern table. Is it necessary? If pattern tables of different sizes are configured without waste on an actual memory, this address control generally has the disadvantage of becoming extremely complex. In addition, in order to solve this problem of address control, if all the pattern tables are made into paddles of the same size and k as shown in Fig. 5, then one pattern table in the case of cross hunting is Size SL
is S+ "" (L-C1vN(2,4, --...
, 2n, ) ) 2 ''-... (1 n. However, ng is the rhyme value of the hunting interval (Lx, Ly), and L, C, and M indicate the least common multiple. (−
Therefore, hatching fiJ [(Lx, Ly)=
(n, n), (n=1121...In+l
&le), the total size S of the pattern table is:

52−3・nl、1・S ・・・・ ・ ・・・−・・
 ・・・・121となる。明らかに82χ(n、)であ
るから、nlが大きいと、パターンテーブルは非常に大
きくなるという欠点があった。
52-3・nl, 1・S ・・・ ・ ・・・・・
...It becomes 121. Since it is clearly 82χ(n,), there is a drawback that if nl is large, the pattern table becomes very large.

〔発明の概要〕[Summary of the invention]

この発明は、上記の様な従来のものの欠唐會改警する目
的でなされたもので、1次元のX方向パターン及びY方
向パターンアドレスするX方向パターンテーブル及Y方
向パターンテーブルから、指定されたチクステニアパタ
ーン及び閉図形の内部のアドレスにしたがって読み出さ
れたX方向パターン及びY方向パターンを合成して、2
次元のチクステニアパターンを発生する様にした構成を
有し、高速に閉図形の内部をチクステニアパターンで塗
りつぶすことができるチクステニアパターン発生装置を
提供するものである。
This invention was made for the purpose of improving the conventional system as described above, and it uses a one-dimensional X-direction pattern and Y-direction pattern addressing from an X-direction pattern table and a Y-direction pattern table. The X-direction pattern and the Y-direction pattern read out according to the internal address of the chixtenia pattern and the closed figure are synthesized, and 2
To provide a chixtenia pattern generating device having a configuration configured to generate a dimensional chixtenia pattern and capable of filling the inside of a closed figure with a chixtenia pattern at high speed.

〔発明の実雁例〕[Real examples of inventions]

以下、この発明の笑施例を図について説明する。 Hereinafter, embodiments of the present invention will be explained with reference to the drawings.

第6図はこの発明の一実施例であるチクステニアパター
ン発生装置の′!p#成を示すフロック図で、第3図と
同一部分は同一符号を用いて表示してあり、その詳細な
説明は省略する。7及び8は、X方向パターンテーブル
及びY方向パターンテーブル、11はOR回路ある。第
6図に示すものは、第3図に示す従来方式■のパターン
テーブル6の代りK、X方向パターンテーブル7及びY
方向パターンテーブル8を用いたものである。その動作
は、閉図形の円部をチクステニアパターンで塗9つぶす
モード以外は、第3図に示す従来方式■の場合と同一で
ある。今、閉図形の内部をチクステニアパターンで塗9
つぶすモードにおいて、グラフィック処理用CPU2は
、まず指定されたチクステニアパターン(ハンチングの
種類、ハンチング間隔等)を構成するのに必要なX方向
パターン及びY方向パターンが記憶されているアドレス
を、X方向パターンテーブル7及びY方向パターンテー
ブル8に与える。次に、グラフィック処理用CPU2に
より計算された閉図形の内部のアドレスが表示用メモリ
3に与えられると共に、そのアドレスのXアドレス(あ
るいはその一部)がX方向パターンテーブル7に与えら
れ、Yアドレス(あるいはその一部)がY方向パターン
テーブル8に与えられる。各X方向及びY方向パターン
テーブル7及び8では、あらかじめグラフィック処理用
CPU2により指示された各X方向及びY方向のパター
ンを、与えられるアドレスにしたがって読み出され、O
R回路】1によりビットごとにOR演算される。
FIG. 6 shows a chixtenia pattern generator according to an embodiment of the present invention. This is a block diagram showing the p# configuration, in which the same parts as in FIG. 3 are indicated using the same reference numerals, and detailed explanation thereof will be omitted. 7 and 8 are an X-direction pattern table and a Y-direction pattern table, and 11 is an OR circuit. What is shown in FIG. 6 is K, an X-direction pattern table 7, and a Y pattern table instead of the pattern table 6 of the conventional method
A direction pattern table 8 is used. The operation is the same as in the conventional method (2) shown in FIG. 3, except for the mode in which the circular portion of the closed figure is filled with a chixtenia pattern. Now paint the inside of the closed shape with a chixtenia pattern 9
In the crush mode, the graphics processing CPU 2 first searches the It is applied to the direction pattern table 7 and the Y direction pattern table 8. Next, the internal address of the closed figure calculated by the graphics processing CPU 2 is given to the display memory 3, the X address (or a part thereof) of that address is given to the X direction pattern table 7, and the Y address (or a part thereof) is given to the Y-direction pattern table 8. In each of the X-direction and Y-direction pattern tables 7 and 8, each X-direction and Y-direction pattern instructed in advance by the graphic processing CPU 2 is read out according to the given address, and
R circuit] 1 performs an OR operation for each bit.

この時、データセレクタ4はOR回路11Mに切シ換え
られており、表示用メモリ3には、与えられたアドレス
にチクステニアパターンが書き込まれる。
At this time, the data selector 4 is switched to the OR circuit 11M, and a chixtenia pattern is written in the display memory 3 at the given address.

第7図は、第6図のX方向パターンテーブル及びY方向
パターンテーブルの構成を示す図である。
FIG. 7 is a diagram showing the configuration of the X-direction pattern table and Y-direction pattern table of FIG. 6.

m7図に示されるものは、完全に塗りつぶすハンチング
間隔=1〜3の水平、垂直、クロスハンチングのチクス
テニアパターンを発生するためのパターンテーブルであ
る。図中のパターンアドレスは、第6図に示すグラフイ
ンク処理用CPU2がX方向パターンテーブル7及びY
方向パターンテーブル8に、あらかじめ与える各X方向
及びY方向のパターンのアドレスである。
What is shown in Figure m7 is a pattern table for generating horizontal, vertical, and cross-hunting chixtenia patterns with hunting intervals of 1 to 3 to completely fill the area. The pattern address in the figure is determined by the graph ink processing CPU 2 shown in FIG.
These are the addresses of the patterns in each X direction and Y direction given in advance to the direction pattern table 8.

第8図talないしくd)は、それぞれ第7図のパター
ンテーブルを用いて各種のパターンを発生する態様全示
す図である、第8図(a)は完全塗りつぶしパターンを
示しておシ、X方向パターン及びY方向パターンは各々
すべて「1」のパターンである。
Figures 8 (tal to d) are diagrams showing all aspects of generating various patterns using the pattern table of Figure 7, respectively. Figure 8 (a) shows a completely filled pattern; The direction pattern and the Y direction pattern are all "1" patterns.

X方向パターン及びY方向パターンはビットごとにOR
がとられるので、X方向パターンあるいはY方向パター
ンのどちらかが、すべて「1」のパターンであれば完全
塗りつぶしパターンを発生できる。第8図(b)はノ・
ツチング間隔=1の水平・・ツチングパターンを示して
おり、X方向パターンはすべてrOJのパターン、Y方
向パターンはIsツテング間隔=1のl’−0101・
・・・・・OIJ となるパターンである。これらのパ
ターンのORをと゛ることにより、Y方向パターンが「
0」に対応するXアドレスの部分は、Xアドレスの部分
とは無関係にすべて「0」となり、また、Y方向パター
ンが「1」に対応するXアドレスの部分は、Xアドレス
の部分とは無関係にすべて「1」となり、したがって水
平・・ツチングパターンを構成することができる。
The X direction pattern and Y direction pattern are ORed bit by bit.
is taken, so if either the X-direction pattern or the Y-direction pattern is a pattern of all "1"s, a completely filled pattern can be generated. Figure 8(b) is
It shows a horizontal threading pattern with threading interval = 1, the X-direction patterns are all rOJ patterns, and the Y-direction pattern is l'-0101 with Is threading interval = 1.
...This is a pattern that becomes OIJ. By ORing these patterns, the Y direction pattern becomes “
The part of the X address corresponding to "0" is all "0" regardless of the part of the X address, and the part of the X address corresponding to the Y direction pattern of "1" is unrelated to the part of the X address. are all "1", and therefore a horizontal tucking pattern can be formed.

第8図(C)はハンチング間隔=2の垂直ノ1ツチング
パターンを示し、ており、X方向パターンはノーツチン
グ間隔=2の[00110011・・・ 0011 J
 となるパターンである。水平ハンチングパターンの場
合と同様に、これらのパターンのOR全とることにより
、垂直ハンチングパターンを構成することができる。第
8図(d)は・・ツチング間隔=(3,2)のクロスハ
ンチングパターンを示しており、X方向パターンはハン
チング間隔=3の[000111000111・・・・
・0OOIIIJとなるパターンであ夛、また、X方向
パターンはハツチング間隔=2の[00110011・
・・0011Jとなるパターンである。これらのパター
ンの0Rvi−とることにより、各パターンの「1」に
対応するアドレスに「1」が書き込まれ、また、両パタ
ーンが共に「()」になるアドレスのみ「0」が畳き込
まれることにより、クロス・・ツチングパターンを構成
することができる。第7図及び第8図(a)ないしft
j)から明らかな様に、完全塗りつぶしパターン、・1
ツテング間隔n、までの各水平、垂直、クロスハンチン
グパターン(タタシ、クロスハツチングは各X方向及び
Y方向のハツチング間隔が異なっていても良い)全発生
するための、X方向パターンテーブルとY方向パターン
テーブルの大きさの和S3は、 S s 二2 (nl、c+2 ) (L、C1M (
2,4、−・−,2n、、、) F(,31となる。明
らかにSs” (nm )”であり、第3図に示す従来
方式■と比較して〔上記のイ2)式を参照〕11− パターンテーブルは小さく構成でき、n、が大きい程そ
の効果は大きくなる。
FIG. 8(C) shows a vertical notching pattern with a hunting interval of 2, and the X direction pattern is [00110011...0011 J with a notching interval of 2.
This is the pattern. As in the case of the horizontal hunting pattern, a vertical hunting pattern can be constructed by ORing all of these patterns. Fig. 8(d) shows a cross hunting pattern with hunting interval = (3, 2), and the X direction pattern is [000111000111...] with hunting interval = 3.
・The pattern is 0OOIIIJ, and the X direction pattern is [00110011・
...This is a pattern of 0011J. By taking 0Rvi- of these patterns, "1" is written to the address corresponding to "1" of each pattern, and "0" is folded only to the address where both patterns are "()". By doing so, a cross stitching pattern can be constructed. Figures 7 and 8 (a) to ft.
j) As is clear from the completely filled pattern, ・1
X-direction pattern table and Y-direction pattern table for generating all horizontal, vertical, and cross-hunting patterns (vertical and cross-hatching may have different hatching intervals in the X and Y directions) up to n. The sum S3 of the size of the pattern table is S s 22 (nl, c+2) (L, C1M (
2, 4, -. 11- The pattern table can be configured to be small, and the larger n is, the greater the effect becomes.

第9図はこの発明の他の実施例であるチクステニアパタ
ーン発生装置の構成を示すブロック図である、図におい
て、9はベクタージェネレータ、10はアドレスセレク
タである。第9図に示す実施例のものは、第6図に示す
実施例のものに、4見られた直線を高速に描画するため
に、ベクタージェネレータ9とアドレスセレクタ10を
付加した構成を有している、第9図に示すチクステニア
パターン発生装置において、閉図形の内部を塗りつぶす
モードでは、グラフィック処理用CPU2が、閉図麿の
内部における走査線方向の直線(例えば、第2図に示す
XI X2 、 Xa X4 、Xa Xa)の始点及
び終点の座MA k計算してベクタージェネレータ9に
与える、ベクタージェネレータ9は始点及び終点の曲の
捕間すべき点の座標を高速に計算し、下1.き用の表示
用メモリ3に与えると共に、各X方向及びY方向パター
ンテーブル7及び8に各々X及びXアドレス(あるいは
その一部)を与える。
FIG. 9 is a block diagram showing the configuration of a chixtenia pattern generator according to another embodiment of the present invention. In the figure, 9 is a vector generator and 10 is an address selector. The embodiment shown in FIG. 9 has a configuration in which a vector generator 9 and an address selector 10 are added to the embodiment shown in FIG. 6 in order to draw the four straight lines seen at high speed. In the chixtenia pattern generating device shown in FIG. X2, Xa X4, Xa .. The X and X addresses (or part thereof) are given to the X and Y direction pattern tables 7 and 8, respectively.

12− この時、アドレスセレクタ10はベクタージェネレータ
9側に切り換えられている。各X方向及びY方向パター
ンテーブル7及び8は、高速に読み出すことができるメ
モリで構成されており、高速に与えられるアドレスに対
してリアルタイムに指定されたパターンが読み出される
。そして、ビットごとにOR演算が行われて表示用メモ
リ3にチクステニアパターンが与えられる。なお、閉図
形の内1fll塗りつぶすモード以外で、ベクタージェ
ネレータ9が使用される場合、アドレスセレクタ10は
ベクタージェネレータ9側に切り換えられ、データセレ
クタ4はグラフィック処理用CPU2側に切り換えられ
て使用される。
12- At this time, the address selector 10 has been switched to the vector generator 9 side. Each of the X-direction and Y-direction pattern tables 7 and 8 is composed of a memory that can be read out at high speed, and a pattern specified in real time is read out from an address given at high speed. Then, an OR operation is performed for each bit, and a chixtenia pattern is provided to the display memory 3. Note that when the vector generator 9 is used in a mode other than the mode in which 1 full of closed figures is filled, the address selector 10 is switched to the vector generator 9 side, and the data selector 4 is switched to the graphics processing CPU 2 side.

なお、上記実施例では、チクステニアパターンとして、
第1図に示す様な・・ツチングパターンを対象として説
明したが、パターンテーブルの内容’t−fえたり、各
X方向及びY方向パターンのOR徴其′ftANl)演
算、EX−OR演算等に変えることにより、第1O図(
a)ないしくe)に示す様な色々なチクステニアパター
ンを発生することができる。さらに、上記実施例で鮫、
明した様に、閉図形の内部金塗りつぶすためのチクステ
ニアパターンと同様な手順により、実線、虞線、破線等
の直線のパターンも発生することができる。
In addition, in the above embodiment, the chixtenia pattern is
Although the explanation has been given with reference to the cutting pattern as shown in Figure 1, the contents of the pattern table, the OR function of each X direction and Y direction pattern, EX-OR operation, etc. etc., Figure 1O (
Various chixtenia patterns as shown in a) to e) can be generated. Furthermore, in the above example, shark,
As explained above, straight line patterns such as solid lines, oval lines, and broken lines can also be generated by the same procedure as the chixtenia pattern for filling the inside of a closed figure with gold.

〔発明の効果〕〔Effect of the invention〕

仁の発明は以上説明した様に、1次元のX方向パターン
及びY方向パターンを記憶するX方向パターンテーブル
及びY方向パターンテーブルから、指定されたチクステ
ニアパターン及び閉図形の内部のアドレスにしたがって
読み出されたX方向パターン及びY方向パターンを合成
して、2次元のチクステニアパターン全発生する様な構
成としたので、小さなパターンテーブルにより極めて簡
単にハンチングパターン等のチクステニアパターンを発
生することが可能であシ、また、ベクタージェネレータ
あるいは閉図形の内部の塗シつぶし回路等の・・−ドウ
エアを用いて、高速に閉図形の内部をチクステニアパタ
ーンで塗りつぶすことが可能であるなどの優れた効果を
奏するものである。
As explained above, Jin's invention is based on a specified chixtenia pattern and an internal address of a closed figure from an X-direction pattern table and a Y-direction pattern table that store one-dimensional X-direction patterns and Y-direction patterns. The readout X-direction pattern and Y-direction pattern are combined to generate all two-dimensional chixtenia patterns, so chixtenia patterns such as hunting patterns can be generated extremely easily using a small pattern table. It is also possible to fill the inside of a closed shape with a chixtenia pattern at high speed using software such as a vector generator or a circuit that fills the inside of the closed shape. It has excellent effects such as:

【図面の簡単な説明】[Brief explanation of the drawing]

第1図(a)ないしくC)は、それぞれ従来のチクステ
ニアパターンの構成例管示す1、第2ツ1は従来のチク
ステニアパターンによ#)塗りつぶされる閉図形の一例
を示す図、第3図は従来のテクスチコ、アバターン発生
方式の一例である従来方式■の構成を示すブロック図、
第4舵?l (a)及び(b)、第5図はそレソれ第3
図のパターンテーブルの構成例を示す図、第6図はこの
発明の一実施例であるテクスチュアバタ・−ン発生装置
の*iv示すブロック図、第7図は、第6図のX方向パ
ターンテーブル及びY方向パターンテーブルの構成全示
す図、第8図(alないしくd)は、それぞれ第7図の
パターンテーブル全相いて各種のパターンを発生する態
様?示す図、第9図はこの発明の他の実施例であるチク
ステニアパターン発生装置の構成を示すブロック図、第
10図(alないしくC)は、この発明のチクステニア
パターン発生装置により発生される各種のチクステニア
パターンの構成例を示す図である。 図において、1・・・ホスト計算機、2・・・グラフィ
ック処理用CPU、3 表示用メモリ、4・データセレ
クタ、5・、CRTディスプレイ、6・・パターンテ・
−プル、7 、X方向パターンテーブル、8・・・Y方
向パターンテーブル、9・・・ベクタージェネレータ、
1O19,アドレスセレクタ、11・・・OR励路であ
る。 なお、各図中、同一符号は同一、又は相当部分管示す。 代理人 大岩増雄 第1図 (a) (b) (C) 第2図 ■ 第3図 第4図 (a) (b) (Lx、Ly)=(1,1) (Lx、Ly)工(2,2) 第8図 Y7fr5′Iハ”7−ン 第8図 Y77r1/Y5−、、/ 第10図 ノVクーン 第10図 手続補正書C色紡) 昭和 5葦 1輌 17日 1、事件の表示 特願昭 59−25773号3、補正
をする者 代表者片山仁へ部 5、補正の対象 明細書の「発明の詳細な説明」、「図面の簡単な説明」
の欄及び図面。 6、補正の内容 (1)明細書第2頁第3行目の「コンピュータ・グラフ
ィック」を、「コンピュータ・グラフィックス」と補正
する。 (2)同書第7頁第4行目のI−L、CMJを、[L、
C0M、Jと補正する。 (3)同書第7頁第6行目の[L、C,Mlを、「L、
C,M、Jと補正する。 (4)同書第7頁第13行目の「3・nmax−8」を
、r 3 ’ ”max ” Si Jと補正する。 (5)同書第10頁第6〜7行目の「完全に塗りつぶす
」ヲ、[完全塗りつぶし及び]と補正する。 (6)同書第16頁第1行目、第2行目の「従来の」を
削除する。 (7)添付図面の第8図(C)を別紙の通りに補正す第
8図 (c) 1 コ ロロ ■゛向パターン
FIGS. 1(a) to 1(c) respectively show an example of the structure of a conventional chixtenia pattern, and FIG. 2(a) shows an example of a closed figure filled with a conventional chixtenia pattern. , FIG. 3 is a block diagram showing the configuration of the conventional method ■, which is an example of the conventional textico and avatar generation method,
Fourth rudder? l (a) and (b), Figure 5 is the third
Figure 6 is a block diagram showing a textured pattern generator according to an embodiment of the present invention, and Figure 7 is the X-direction pattern table shown in Figure 6. FIG. 8 (al to d), which shows the entire configuration of the Y-direction pattern table, is a mode in which the pattern table in FIG. 7 is combined to generate various patterns. FIG. 9 is a block diagram showing the configuration of a chixtenia pattern generator according to another embodiment of the present invention, and FIG. FIG. 3 is a diagram showing an example of the structure of various chixtenia patterns that are generated. In the figure, 1...Host computer, 2...CPU for graphic processing, 3. Display memory, 4. Data selector, 5., CRT display, 6.. Pattern display.
- pull, 7, X direction pattern table, 8...Y direction pattern table, 9...vector generator,
1O19, address selector, 11...OR excitation path. In each figure, the same reference numerals indicate the same or corresponding parts. Agent Masuo Oiwa Fig. 1 (a) (b) (C) Fig. 2 ■ Fig. 3 Fig. 4 (a) (b) (Lx, Ly) = (1, 1) (Lx, Ly) Engineering ( 2, 2) Fig. 8 Y7fr5'Iha"7-n Fig. 8 Y77r1/Y5-, / Fig. 10 V Kuhn Fig. 10 Procedural Amendment C Irobo) Showa 5 Reed 1 car 17th 1, Indication of the case: Japanese Patent Application No. 59-25773 No. 3, Part 5 to Hitoshi Katayama, representative of the person making the amendment, ``Detailed explanation of the invention'' and ``Brief explanation of the drawings'' of the specification to be amended.
columns and drawings. 6. Contents of amendment (1) "Computer graphics" in the third line of page 2 of the specification is corrected to "computer graphics." (2) I-L, CMJ on page 7, line 4 of the same book, [L,
Correct as C0M, J. (3) In the same book, page 7, line 6, [L, C, Ml is changed to “L,
Correct as C, M, and J. (4) "3·nmax-8" on page 7, line 13 of the same book is corrected to r 3 '"max" Si J. (5) "Completely fill in" in the same book, page 10, lines 6-7, is corrected to "completely fill in and". (6) Delete "conventional" in the first and second lines of page 16 of the same book. (7) Figure 8 (C) of the attached drawings is corrected as shown in the attached sheet.

Claims (1)

【特許請求の範囲】[Claims] 閉図形の内部を指定されたテクスチュアパターンで塗シ
つぶす際に、2次元のテクスチュアパターンの構成要素
となる1次元のX方向パターン及びY方向パターンを記
憶するX方向パターンテーブル及びY方向パターンテー
ブルと、前記指定されたテクスチュアパターン及び前記
閉図形の内部のアドレスにしたがって読み出されたX方
向パターン及びY方向パターンを合成して、2次元の乎
りスチュアパターンを発生するための演算回路とを備え
て成ることを特徴とするテ夛スチュアパターン発生装置
An X-direction pattern table and a Y-direction pattern table that store one-dimensional X-direction patterns and Y-direction patterns that are constituent elements of a two-dimensional texture pattern when filling the inside of a closed figure with a specified texture pattern; , an arithmetic circuit for generating a two-dimensional texture pattern by synthesizing the specified texture pattern and the X-direction pattern and Y-direction pattern read out according to the internal address of the closed figure. A texture pattern generator characterized by comprising:
JP59025773A 1984-02-14 1984-02-14 Texture pattern generator Pending JPS60173583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59025773A JPS60173583A (en) 1984-02-14 1984-02-14 Texture pattern generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59025773A JPS60173583A (en) 1984-02-14 1984-02-14 Texture pattern generator

Publications (1)

Publication Number Publication Date
JPS60173583A true JPS60173583A (en) 1985-09-06

Family

ID=12175162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59025773A Pending JPS60173583A (en) 1984-02-14 1984-02-14 Texture pattern generator

Country Status (1)

Country Link
JP (1) JPS60173583A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62191974A (en) * 1986-02-18 1987-08-22 Seiko Instr & Electronics Ltd Pattern memory reading circuit
JPH0377551U (en) * 1989-11-30 1991-08-05

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62191974A (en) * 1986-02-18 1987-08-22 Seiko Instr & Electronics Ltd Pattern memory reading circuit
JPH0377551U (en) * 1989-11-30 1991-08-05

Similar Documents

Publication Publication Date Title
US4546451A (en) Raster graphics display refresh memory architecture offering rapid access speed
US5606650A (en) Method and apparatus for storage and retrieval of a texture map in a graphics display system
US5815169A (en) Frame memory device for graphics allowing simultaneous selection of adjacent horizontal and vertical addresses
US6133923A (en) Method and apparatus for texture data
JPS60239796A (en) Circuit and apparatus for altering data in display memory
US20040036674A1 (en) Apparatus and method for associating voxel information with display positions
US5621866A (en) Image processing apparatus having improved frame buffer with Z buffer and SAM port
JP3349871B2 (en) Image processing device
US6141020A (en) Opposing directional fill calculators in a graphics processor
US4748442A (en) Visual displaying
JPS60173583A (en) Texture pattern generator
US20030231176A1 (en) Memory access device, semiconductor device, memory access method, computer program and recording medium
JP3903557B2 (en) Data conversion apparatus and image generation apparatus
US5095446A (en) Circuit for and method of controlling output buffer memory
US5377316A (en) Line image generating apparatus
JPS5816189B2 (en) Character pattern generation method
US5093905A (en) Inclined rectangular pattern generating system
US5668979A (en) Storage of clipping plane data in successive bit planes of residual frame buffer memory
JP3807571B2 (en) Shape conversion method, recording medium on which program for executing the method is recorded, and shape conversion device
JP3305381B2 (en) Halftone output method
JP4195953B2 (en) Image processing device
US5305431A (en) Method and system for rendering polygons on a raster display
JPH087095A (en) Character and pattern display device
JPH03278190A (en) Polygon painting-out system
JPH0528872B2 (en)