JPH04216183A - Method and device for drawing picture - Google Patents

Method and device for drawing picture

Info

Publication number
JPH04216183A
JPH04216183A JP2402769A JP40276990A JPH04216183A JP H04216183 A JPH04216183 A JP H04216183A JP 2402769 A JP2402769 A JP 2402769A JP 40276990 A JP40276990 A JP 40276990A JP H04216183 A JPH04216183 A JP H04216183A
Authority
JP
Japan
Prior art keywords
divided
objects
data
screen
processor
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
JP2402769A
Other languages
Japanese (ja)
Inventor
Makoto Hirai
誠 平井
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2402769A priority Critical patent/JPH04216183A/en
Publication of JPH04216183A publication Critical patent/JPH04216183A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To store object data in plural processor in a scattered state so as to reduce the required storing capacity. CONSTITUTION:A spatial area 21 in which object data expressed in a screen coordinate system is contained is divided into sections along the direction parallel to a screen 22. Then such a process that the divided spatial section containing the largest number of objects is further divided is repeated until the number of objects contained in a divided section becomes smaller than the quotient obtained by dividing the sum of the numbers of objects contained in each divided spatial section by the number of processors. Then another process for assigning one divided spatial section to each processor is repeated from the divided spatial section containing the largest number of objects. The object data contained in the divided spatial space assigned to each processor are stored and the picture in a divided screen area 24 corresponding to an assigned divided spatial section 23 is drawn.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、物体の形状データと視
点位置データから画像を生成する画像生成方法およびそ
の装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image generation method and apparatus for generating an image from shape data of an object and viewpoint position data.

【0002】0002

【従来の技術】近年、画像生成方法および装置は、デザ
インシミュレーション、インテリアシミュレーション、
景観シミュレーションに利用されている。
[Prior Art] In recent years, image generation methods and devices have been widely used in design simulation, interior simulation,
It is used for landscape simulation.

【0003】従来の画像生成方法および装置としては、
例えば情報処理学会第32回全国大会予稿集2079〜
2080ページに示されている。
Conventional image generation methods and devices include:
For example, Information Processing Society of Japan 32nd National Conference Proceedings 2079~
It is shown on page 2080.

【0004】以下図面を参照しながら、上述した従来の
画像生成方法および装置の一例について説明する。図3
は従来の画像生成装置の構成を示すブロック図である。 10はホスト計算機、11a〜bはプロセッサエレメン
ト、12は局所記憶部、13は演算部、14は表示部で
ある。
An example of the above-mentioned conventional image generation method and apparatus will be described below with reference to the drawings. Figure 3
1 is a block diagram showing the configuration of a conventional image generation device. 10 is a host computer, 11a and 11b are processor elements, 12 is a local storage section, 13 is a calculation section, and 14 is a display section.

【0005】以上のように構成された従来の画像生成装
置について、以下図面を参照しながら説明する。図4お
よび図5は、従来の画像生成装置の各プロセッサエレメ
ントが画像生成を担当する分割画面領域を示す概念図で
ある。
[0005] A conventional image generation device configured as described above will be explained below with reference to the drawings. FIGS. 4 and 5 are conceptual diagrams showing divided screen areas in which each processor element of a conventional image generation device is responsible for image generation.

【0006】まずホスト計算機10は全物体データを全
プロセッサエレメント11a〜bの局所記憶部12に転
送し、次に各プロセッサエレメントは図4に示される画
像生成を担当する分割画像領域24内の画像を生成し表
示部14へ転送し、画像を表示する。
First, the host computer 10 transfers all object data to the local storage units 12 of all the processor elements 11a to 11b, and then each processor element transfers the image within the divided image area 24 responsible for image generation as shown in FIG. is generated and transferred to the display unit 14, and the image is displayed.

【0007】また、ホスト計算機10は、図5に示され
る分割画像領域24を各プロセッサエレメントに割り付
け、割り付けられた分割画像領域24に対応する分割空
間領域23内の物体データを各プロセッサエレメント1
1a〜bの局所記憶部12に転送し、各プロセッサエレ
メントは図5に示される画像生成を担当する分割画像領
域内の画像を生成し表示部14へ転送し、画像を表示す
る。
Further, the host computer 10 allocates the divided image areas 24 shown in FIG.
Each processor element generates an image within the divided image area shown in FIG. 5 and transfers it to the display unit 14 to display the image.

【0008】[0008]

【発明が解決しようとする課題】しかしながら上記のよ
うな構成では、図4に示される分割画像領域を各プロセ
ッサエレメントに割り付ける方法では、全プロセッサエ
レメントに全物体データを記憶できる容量の局所記憶部
が必要であるという問題点を有していた。また、図5に
示される分割画像領域を各プロセッサエレメントに割り
付ける方法では、割り付けられた分割画像領域に対応す
る分割空間領域内に含まれる物体データの量が各プロセ
ッサエレメント毎に大きく異なる場合、各プロセッサエ
レメントの画像生成処理時間が大きく異なるため、プロ
セッサエレメント全体の性能を有効に利用できないとい
う問題点を有していた。
[Problems to be Solved by the Invention] However, in the above configuration, the method of allocating divided image regions to each processor element as shown in FIG. The problem was that it was necessary. Furthermore, in the method of allocating divided image regions to each processor element shown in FIG. Since the image generation processing time of the processor elements differs greatly, there has been a problem that the performance of the entire processor element cannot be effectively utilized.

【0009】さらに、図5に示される分割画像領域を各
プロセッサエレメントに割り付ける方法では、視点と物
体の移動および物体の形状変更により、割り付けられた
分割画像領域に対応する分割空間領域内に含まれる物体
データを、ホスト計算機から転送し直す必要があるとい
う問題点を有していた。
Furthermore, in the method of allocating divided image regions to each processor element shown in FIG. 5, by moving the viewpoint and object and changing the shape of the object, There was a problem in that the object data had to be retransferred from the host computer.

【0010】本発明は上記問題点に鑑み、物体データの
記憶に必要な記憶容量を削減し、割り付けられた分割画
像領域に対応する分割空間領域内に含まれる物体データ
の量を各プロセッサエレメント毎にほぼ同じにし、視点
と物体の移動および物体の形状変更により、割り付けら
れた分割画像領域に対応する分割空間領域内に含まれる
物体データをプロセッサエレメント間で転送し、プロセ
ッサエレメント間の物体データの転送量を削減し、安価
で高速な画像生成を可能とする画像生成方法およびその
装置を提供することを目的とする。
In view of the above-mentioned problems, the present invention reduces the storage capacity required for storing object data, and calculates the amount of object data contained in a divided spatial area corresponding to an allocated divided image area for each processor element. The object data contained in the divided space area corresponding to the allocated divided image area is transferred between the processor elements by moving the viewpoint and the object and changing the shape of the object. It is an object of the present invention to provide an image generation method and apparatus that reduce the amount of transfer and enable inexpensive and high-speed image generation.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に本発明の画像生成方法および装置は、分割空間領域に
含まれる物体数の合計をプロセッサエレメント数で割っ
た数よりも物体数の多い分割空間領域がなくなるまで、
最も物体数の多い分割空間領域を更に分割する処理を繰
り返す段階と、含まれる物体数の多い分割空間領域から
順に1つずつ各プロセッサエレメントに割り付ける処理
を、すべての分割空間領域が割り付けられるまで繰り返
す段階とを有するものである。
[Means for Solving the Problems] In order to achieve the above object, the image generation method and apparatus of the present invention provide an image generation method and an apparatus for generating images that are larger in number than the total number of objects included in a divided spatial region divided by the number of processor elements. Until there are no more divided space regions,
The step of repeating the process of further dividing the divided space region containing the largest number of objects, and the process of allocating one divided space region containing the largest number of objects to each processor element one by one, are repeated until all the divided space regions are allocated. It has stages.

【0012】また、視点と物体の位置及び物体の形状の
変更データに従って物体の投影像を生成する場合には、
各物体の存在する空間領域の中心位置を全物体に渡って
平均した値である物体平均中心位置を求める段階と、物
体平均中心位置を通り視点変更後のスクリーンに平行な
平面と、各プロセッサエレメントに割り付けられた視点
変更前の分割空間領域との交差面を求め、前記交差面を
底面とする分割空間領域に分割し、各分割空間領域に含
まれる物体数の合計をプロセッサエレメント数で割った
数よりも物体数の多い分割空間領域がなくなるまで、最
も物体数の多い分割空間領域を更に分割する処理を繰り
返す段階と、含まれる物体数の多い上記分割空間領域か
ら順に、すべてのプロセッサエレメントのうちで分割空
間領域に含まれる物体データを最も多く局所記憶手段に
記憶しているプロセッサエレメントへ割り付け、更に残
りのプロセッサエレメントに対し残りの分割空間領域を
割り付ける処理を、すべてのプロセッサエレメントに割
り付けられるまで繰り返す処理を、すべての分割空間領
域が割り付けられるまで繰り返す段階と、割り付けられ
た分割空間領域に含まれる物体データから各プロセッサ
エレメントの局所記憶手段に既に記憶している物体デー
タを除いた残りの物体データを、局所記憶手段に既に記
憶しているプロセッサエレメントから転送する段階とを
有するものである。
[0012] In addition, when generating a projected image of an object according to change data of the viewpoint, the position of the object, and the shape of the object,
The step of calculating the object average center position which is the average value of the center position of the spatial region in which each object exists over all objects, the step of calculating the object average center position which is the value obtained by averaging the center position of the spatial region where each object exists, the plane parallel to the screen after changing the viewpoint that passes through the object average center position, and each processor element The intersecting plane with the divided spatial area before the viewpoint change assigned to is determined, the divided spatial area is divided into divided spatial areas with the intersection plane as the bottom plane, and the total number of objects included in each divided spatial area is divided by the number of processor elements. The step of repeating the process of further dividing the divided space region containing the largest number of objects until there is no divided space region that has more objects than the number of objects; The process of allocating the object data included in a divided spatial region to the processor element that stores the largest amount of object data in its local storage means, and then allocating the remaining divided spatial regions to the remaining processor elements can be assigned to all processor elements. repeating the process until all the divided space regions are allocated; and the step of repeating the process until all the divided space regions are allocated; transferring the object data from the processor element already stored in the local storage means.

【0013】[0013]

【作用】本発明は前記した構成により、物体データの記
憶に必要な記憶容量を削減し、割り付けられた分割画像
領域に対応する分割空間領域内に含まれる物体データの
量を各プロセッサエレメント毎にほぼ同じにし、視点と
物体の移動および物体の形状変更により、割り付けられ
た分割画像領域に対応する分割空間領域内に含まれる物
体データをプロセッサエレメント間で転送し、プロセッ
サエレメント間の物体データの転送量を削減し、安価で
高速な画像生成が可能となる。
[Operation] With the above-described configuration, the present invention reduces the storage capacity necessary for storing object data, and stores the amount of object data contained in the divided spatial regions corresponding to the allocated divided image regions for each processor element. The object data contained in the divided space area corresponding to the allocated divided image area is transferred between the processor elements by making them almost the same, moving the viewpoint and the object, and changing the shape of the object, and transferring the object data between the processor elements. It is possible to reduce the amount of images and generate images at low cost and at high speed.

【0014】[0014]

【実施例】以下本発明の一実施例の画像生成方法につい
て、図面を参照しながら説明する。図1は本発明の一実
施例における画像生成装置の構成を示すブロック図であ
る。図1において1a〜bはプロセッサエレメント、2
は局所記憶部、3は演算部、4は分割空間領域記憶部、
5は物体データ記憶部、6は分割画像領域記憶部、7は
分割空間領域とプロセッサエレメントとの対応記憶部、
8は表示部、9は転送部である。図2は本実施例におけ
る物体の存在する空間領域とその分割空間領域及び分割
画面領域を示す概念図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An image generation method according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an image generation device according to an embodiment of the present invention. In FIG. 1, 1a to 1b are processor elements, 2
is a local storage unit, 3 is a calculation unit, 4 is a divided space area storage unit,
5 is an object data storage unit, 6 is a divided image area storage unit, 7 is a storage unit for correspondence between divided spatial areas and processor elements,
8 is a display section, and 9 is a transfer section. FIG. 2 is a conceptual diagram showing a spatial region where an object exists, its divided spatial regions, and divided screen regions in this embodiment.

【0015】以上のように構成された本実施例の画像生
成方法において、図面を参照しながら、以下その動作を
説明する。
The operation of the image generation method of this embodiment configured as described above will be explained below with reference to the drawings.

【0016】まず、図1、図2において、プロセッサエ
レメント1aは物体データを入力し、各プロセッサエレ
メント1a〜bの物体データ記憶部5に分散して格納す
る。次に、全プロセッサエレメント1a〜bは同一の視
点位置とスクリーン22を設定する。そして、各プロセ
ッサエレメント1a〜bは物体データ記憶部5に格納し
た各物体データをスクリーン座標系に変換し、各物体の
存在する空間領域を求め、分割空間領域記憶部4に記憶
する。各プロセッサエレメントの分割空間領域記憶部5
に記憶された空間領域と各プロセッサエレメントとの対
応表を作り、全プロセッサエレメント1a〜bの分割空
間領域とプロセッサエレメントとの対応記憶部7に格納
する。各物体の存在する空間領域の中心位置を全物体に
渡って平均を取り、物体平均中心位置とする。
First, in FIGS. 1 and 2, the processor element 1a receives object data and stores it in the object data storage section 5 of each processor element 1a-b in a distributed manner. Next, all processor elements 1a-b set the same viewpoint position and screen 22. Each of the processor elements 1a to 1b converts each object data stored in the object data storage section 5 into a screen coordinate system, determines a spatial region in which each object exists, and stores it in the divided spatial region storage section 4. Divided space area storage unit 5 of each processor element
A correspondence table between the spatial areas stored in 1 and each processor element is created and stored in the correspondence storage unit 7 between the divided spatial areas and processor elements of all the processor elements 1a to 1b. The center position of the spatial region in which each object exists is averaged over all objects, and the average center position of the object is defined as the object average center position.

【0017】プロセッサエレメント1aは全物体の存在
する空間領域21をスクリーン22に平行な方向に均等
に分割する。各分割空間領域23に含まれる物体データ
数を全分割空間に渡って合計した数をプロセッサエレメ
ント数で割った数よりも多くの物体を含む分割空間領域
がなくなるまで、最も物体数の多い分割空間領域を更に
分割する処理を繰り返す。
The processor element 1a equally divides the spatial region 21 in which all objects exist in a direction parallel to the screen 22. Until there is no divided space area that contains more objects than the sum of the number of object data included in each divided space area 23 over all divided spaces divided by the number of processor elements, the divided space with the largest number of objects remains. The process of further dividing the area is repeated.

【0018】プロセッサエレメント1aは、全分割空間
領域を含まれる物体数の多い順に並べた空間リストを作
成し、全プロセッサエレメントをプロセッサリストに入
れる。空間リストから最も物体数の多い分割空間領域を
取り出し、プロセッサリストからプロセッサエレメント
を1つ取り出し、取り出したプロセッサエレメントに取
り出した分割空間領域を割り付ける。プロセッサリスト
が空になれば全プロセッサエレメントをプロセッサリス
トに入れる。以上の割付処理を空間リストが空になるま
で、繰り返す。
The processor element 1a creates a spatial list in which all divided spatial regions are arranged in descending order of the number of objects included, and enters all the processor elements into the processor list. The divided spatial region with the largest number of objects is extracted from the spatial list, one processor element is extracted from the processor list, and the extracted divided spatial region is assigned to the extracted processor element. If the processor list becomes empty, all processor elements are placed in the processor list. The above allocation process is repeated until the space list is empty.

【0019】プロセッサエレメント1aは、全プロセッ
サエレメント1a〜bの分割空間領域とプロセッサエレ
メントとの対応記憶部7に各プロセッサエレメントに割
り付けられた分割空間領域を記憶させる。また、各分割
空間領域内に含まれる物体と分割空間領域との対応表を
作り、前記対応表と分割空間領域データとを全プロセッ
サエレメント1a〜bの分割空間領域記憶部4に格納す
る。
The processor element 1a stores the divided space regions allocated to each processor element in the correspondence storage unit 7 between the divided space regions of all the processor elements 1a to 1b and the processor elements. In addition, a correspondence table between the objects included in each divided space area and the divided space area is created, and the correspondence table and the divided space area data are stored in the divided space area storage units 4 of all the processor elements 1a to 1b.

【0020】各プロセッサエレメント1a〜bは分割空
間領域記憶部4および分割空間領域とプロセッサエレメ
ントとの対応記憶部7を参照し、割り付けられた分割空
間領域内に含まれる物体データを既に記憶しているプロ
セッサエレメントの物体データ記憶部5から転送し、物
体データ記憶部5に格納する。
Each of the processor elements 1a to 1b refers to the divided spatial region storage section 4 and the correspondence storage section 7 between divided spatial regions and processor elements, and stores the object data included in the allocated divided spatial region. The data is transferred from the object data storage unit 5 of the processor element located therein and stored in the object data storage unit 5.

【0021】各プロセッサエレメント1a〜bは割り付
けられた分割空間領域23に対応する分割画面領域24
を求め、分割画面領域記憶部6に記憶する。各プロセッ
サエレメント1a〜bは、分割画面領域記憶部7に記憶
された分割画面領域内の画像を物体データ記憶部5に記
憶された物体データから生成し、表示部8に転送して、
第1フレームの画像を表示する。
Each processor element 1a-b has a divided screen area 24 corresponding to the allocated divided space area 23.
is calculated and stored in the split screen area storage section 6. Each processor element 1a-b generates an image within the split screen area stored in the split screen area storage unit 7 from the object data stored in the object data storage unit 5, transfers it to the display unit 8,
Display the first frame image.

【0022】続いて、全プロセッサエレメント1a〜b
は視点と物体の位置および物体の形状の変更データを入
力し、物体データ記憶部5に記憶されている物体データ
を変更後のスクリーン座標系に変換する。
[0022] Next, all processor elements 1a-b
inputs change data of the viewpoint, the position of the object, and the shape of the object, and converts the object data stored in the object data storage section 5 into the changed screen coordinate system.

【0023】プロセッサエレメント1aは物体平均中心
位置を通り視点変更後のスクリーンに平行な平面と、視
点変更前の分割空間領域との交差面を求め、その交差面
を底面とする視点変更後のスクリーンに平行な方向に、
全物体の存在する空間領域を分割し、新たな分割空間領
域を得る。各分割空間領域に含まれる物体データ数を全
分割空間に渡って合計した数をプロセッサエレメント数
で割った数よりも多くの物体を含む分割空間領域がなく
なるまで、最も物体数の多い分割空間領域を更に分割す
る処理を繰り返す。
The processor element 1a finds an intersecting plane between a plane passing through the object average center position and parallel to the screen after the viewpoint change and the divided space area before the viewpoint change, and creates a screen after the viewpoint change with the intersecting plane as the bottom surface. in the direction parallel to
Divide the spatial region in which all objects exist to obtain new divided spatial regions. The divided space region with the largest number of objects continues until there is no divided space region that contains more objects than the sum of the number of object data included in each divided space region over all divided spaces divided by the number of processor elements. The process of further dividing is repeated.

【0024】プロセッサエレメント1aは、全分割空間
領域を含まれる物体数の多い順に並べた空間リストを作
成し、全プロセッサエレメントをプロセッサリストに入
れる。空間リストから最も物体数の多い分割空間領域を
取り出し、プロセッサリストから取り出した分割空間領
域に含まれる物体を最も多く記憶しているプロセッサエ
レメントを1つ取り出し、取り出したプロセッサエレメ
ントに取り出した分割空間領域を割り付ける。プロセッ
サリストが空になれば全プロセッサエレメントをプロセ
ッサリストに入れる。以上の割付処理を空間リストが空
になるまで、繰り返す。
The processor element 1a creates a spatial list in which all divided spatial regions are arranged in descending order of the number of objects included, and enters all the processor elements into the processor list. The divided spatial region with the largest number of objects is extracted from the spatial list, one processor element that stores the largest number of objects included in the retrieved divided spatial region is extracted from the processor list, and the retrieved divided spatial region is assigned to the retrieved processor element. Assign. If the processor list becomes empty, all processor elements are placed in the processor list. The above allocation process is repeated until the space list is empty.

【0025】プロセッサエレメント1aは、全プロセッ
サエレメント1a〜bの分割空間領域とプロセッサエレ
メントとの対応記憶部7に各プロセッサエレメントに割
り付けられた分割空間領域を記憶させる。また、各分割
空間領域内に含まれる物体と分割空間領域との対応表を
作り、前記対応表と分割空間領域データとを全プロセッ
サエレメント1a〜bの分割空間領域記憶部4に格納す
る。
The processor element 1a stores the divided space regions allocated to each processor element in the correspondence storage unit 7 between the divided space regions of all the processor elements 1a to 1b and the processor elements. In addition, a correspondence table between the objects included in each divided space area and the divided space area is created, and the correspondence table and the divided space area data are stored in the divided space area storage units 4 of all the processor elements 1a to 1b.

【0026】各プロセッサエレメント1a〜bは分割空
間領域記憶部4および分割空間領域とプロセッサエレメ
ントとの対応記憶部7を参照し、割り付けられた分割空
間領域内に含まれる物体データのうち既に物体データ記
憶部5に記憶されている物体データを除いた残りの物体
データを、既に記憶しているプロセッサエレメントの物
体データ記憶部5から転送し、物体データ記憶部5に格
納する。
Each of the processor elements 1a to 1b refers to the divided space region storage section 4 and the correspondence storage section 7 between divided space regions and processor elements, and stores the object data already included in the allocated divided space region. The remaining object data excluding the object data stored in the storage section 5 is transferred from the object data storage section 5 of the processor element that has already stored it and stored in the object data storage section 5.

【0027】各プロセッサエレメント1a〜bは新たに
割り付けられた分割空間領域23に対応する新たな分割
画面領域24を求め、分割画面領域記憶部6に記憶する
。各プロセッサエレメント1a〜bは、分割画面領域記
憶部7に記憶された分割画面領域内の画像を物体データ
記憶部5に記憶された物体データから生成し、表示部8
に転送して、第2フレーム以降の画像を表示する。
Each processor element 1a-b obtains a new split screen area 24 corresponding to the newly allocated split space area 23 and stores it in the split screen area storage section 6. Each processor element 1a-b generates an image within the split screen area stored in the split screen area storage unit 7 from the object data stored in the object data storage unit 5, and
The images from the second frame onward are displayed.

【0028】以上のように本実施例によれば、分割空間
領域に含まれる物体数の合計をプロセッサエレメント数
で割った数よりも物体数の多い分割空間領域がなくなる
まで、最も物体数の多い分割空間領域を更に分割する処
理を繰り返す段階と、含まれる物体数の多い分割空間領
域から順に1つずつ各プロセッサエレメントに割り付け
る処理を、すべての分割空間領域が割り付けられるまで
繰り返す段階とを有することにより、物体データの記憶
に必要な記憶容量を削減でき、割り付けられた分割画像
領域に対応する分割空間領域内に含まれる物体データの
量を各プロセッサエレメント毎にほぼ同じにでき、安価
で高速な画像生成が可能となる。
As described above, according to this embodiment, until there is no divided space region in which the number of objects is greater than the total number of objects included in the divided space region divided by the number of processor elements, The method includes the steps of repeating the process of further dividing the divided spatial region, and the step of repeating the process of allocating the divided spatial regions containing the largest number of objects to each processor element one by one until all the divided spatial regions are allocated. This makes it possible to reduce the storage capacity required for storing object data, and to make the amount of object data contained in the divided spatial regions corresponding to the allocated divided image regions approximately the same for each processor element, making it possible to reduce the amount of object data required to store object data, making it possible to achieve an inexpensive and high-speed method. Image generation becomes possible.

【0029】また、本実施例によれば、視点と物体の位
置及び物体の形状の変更データに従って物体の投影像を
生成する場合には、各物体の存在する空間領域の中心位
置を全物体に渡って平均した値である物体平均中心位置
を求める段階と、物体平均中心位置を通り視点変更後の
スクリーンに平行な平面と、各プロセッサエレメントに
割り付けられた視点変更前の分割空間領域との交差面を
求め、前記交差面を底面とする分割空間領域に分割し、
各分割空間領域に含まれる物体数の合計をプロセッサエ
レメント数で割った数よりも物体数の多い分割空間領域
がなくなるまで、最も物体数の多い分割空間領域を更に
分割する処理を繰り返す段階と、含まれる物体数の多い
上記分割空間領域から順に、すべてのプロセッサエレメ
ントのうちで分割空間領域に含まれる物体データを最も
多く局所記憶手段に記憶しているプロセッサエレメント
へ割り付け、更に残りのプロセッサエレメントに対し残
りの分割空間領域を割り付ける処理を、すべてのプロセ
ッサエレメントに割り付けられるまで繰り返す処理を、
すべての分割空間領域が割り付けられるまで繰り返す段
階と、割り付けられた分割空間領域に含まれる物体デー
タから各プロセッサエレメントの局所記憶手段に既に記
憶している物体データを除いた残りの物体データを、局
所記憶手段に既に記憶しているプロセッサエレメントか
ら転送する段階とを有することにより、物体データの記
憶に必要な記憶容量を削減でき、割り付けられた分割画
像領域に対応する分割空間領域内に含まれる物体データ
の量を各プロセッサエレメント毎にほぼ同じにでき、視
点と物体の移動および物体の形状変更により、割り付け
られた分割画像領域に対応する分割空間領域内に含まれ
る物体データをプロセッサエレメント間で転送でき、プ
ロセッサエレメント間の物体データの転送量を削減でき
、安価で高速な画像生成が可能となる。
Furthermore, according to the present embodiment, when a projected image of an object is generated according to change data of the viewpoint, the position of the object, and the shape of the object, the center position of the spatial region in which each object exists is set for all objects. the step of calculating the object average center position, which is the average value across Find the plane and divide it into divided space regions with the intersecting plane as the base,
repeating the process of further dividing the divided spatial region with the largest number of objects until there is no divided spatial region in which the number of objects is greater than the total number of objects included in each divided spatial region divided by the number of processor elements; The object data contained in the divided space area is allocated to the processor element that stores the most object data in the local storage means among all the processor elements in order from the divided space area containing the largest number of objects, and then to the remaining processor elements. On the other hand, the process of allocating the remaining divided space area is repeated until it is allocated to all processor elements.
The step of repeating until all the divided space regions are allocated, and the step of locally deleting the remaining object data by removing the object data already stored in the local storage means of each processor element from the object data included in the allocated divided space regions. By having the step of transferring the object data from the processor element already stored in the storage means, it is possible to reduce the storage capacity required for storing the object data, and the object data included in the divided spatial region corresponding to the allocated divided image region can be reduced. The amount of data can be made almost the same for each processor element, and by moving the viewpoint and object and changing the shape of the object, object data contained in the divided spatial area corresponding to the allocated divided image area is transferred between processor elements. This reduces the amount of object data transferred between processor elements, and enables inexpensive and high-speed image generation.

【0030】[0030]

【発明の効果】以上のように本発明は、分割空間領域に
含まれる物体数の合計をプロセッサエレメント数で割っ
た数よりも物体数の多い分割空間領域がなくなるまで、
最も物体数の多い分割空間領域を更に分割する処理を繰
り返す段階と、含まれる物体数の多い分割空間領域から
順に1つずつ各プロセッサエレメントに割り付ける処理
を、すべての分割空間領域が割り付けられるまで繰り返
す段階とを有することにより、物体データの記憶に必要
な記憶容量を削減でき、割り付けられた分割画像領域に
対応する分割空間領域内に含まれる物体データの量を各
プロセッサエレメント毎にほぼ同じにできるため、安価
で高速な画像生成装置を提供することが可能となる。
As described above, according to the present invention, until there is no divided space region in which the number of objects is greater than the total number of objects included in the divided space region divided by the number of processor elements,
The step of repeating the process of further dividing the divided space region containing the largest number of objects, and the process of allocating one divided space region containing the largest number of objects to each processor element one by one, are repeated until all the divided space regions are allocated. By having a step, the storage capacity required for storing object data can be reduced, and the amount of object data included in the divided spatial regions corresponding to the allocated divided image regions can be made almost the same for each processor element. Therefore, it is possible to provide an inexpensive and high-speed image generation device.

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

【図1】本発明の一実施例における画像生成装置の構成
を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an image generation device in an embodiment of the present invention.

【図2】本発明の一実施例における物体の存在する空間
領域とその分割空間領域及び分割画面領域を示す概念図
である。
FIG. 2 is a conceptual diagram showing a spatial region where an object exists, its divided spatial regions, and divided screen regions in an embodiment of the present invention.

【図3】従来の画像生成装置の構成を示すブロック図で
ある。
FIG. 3 is a block diagram showing the configuration of a conventional image generation device.

【図4】従来の画像生成装置の各プロセッサエレメント
が画像生成を担当する分割画像領域を示す概念図である
FIG. 4 is a conceptual diagram showing divided image regions in which each processor element of a conventional image generation device is responsible for image generation.

【図5】従来の画像生成装置の各プロセッサエレメント
が画像生成を担当する分割画像領域を示す概念図である
FIG. 5 is a conceptual diagram showing divided image regions in which each processor element of a conventional image generation device is responsible for image generation.

【符号の説明】[Explanation of symbols]

1a〜b  プロセッサエレメント 2  局所記憶部 3  演算部 4  分割空間領域記憶部 5  物体データ記憶部 6  分割画像領域記憶部 7  分割空間領域とプロセッサエレメントとの対応記
憶部 8  表示部 9  転送部
1a-b Processor element 2 Local storage section 3 Arithmetic section 4 Divided spatial region storage section 5 Object data storage section 6 Divided image region storage section 7 Correspondence storage section between divided spatial regions and processor elements 8 Display section 9 Transfer section

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  直接接続された局所記憶手段と演算手
段とから成る複数のプロセッサエレメントと、表示手段
を設け、局所記憶手段に記憶された物体の形状データお
よび表面の光学的属性データから成る物体データに対し
、視点と上記表示手段の表示領域に対応づけられたスク
リーンを設定し、物体の投影像を生成する際に、スクリ
ーン座標系で表された全物体の存在する空間領域を、ス
クリーンに平行な方向に分割し、各分割空間領域に含ま
れる物体数の合計をプロセッサエレメント数で割った数
よりも物体数の多い分割空間領域がなくなるまで、最も
物体数の多い分割空間領域をスクリーンに平行な方向に
更に分割する処理を繰り返す第1の段階と、含まれる物
体数の多い分割空間領域から順に1つずつ各プロセッサ
エレメントに割り付ける処理を、すべての分割空間領域
が割り付けられるまで繰り返す第2の段階と、割り付け
られた分割空間領域に含まれる物体データを各プロセッ
サエレメントの局所記憶手段に記憶させ、局所記憶手段
に記憶させられた物体データから、割り付けられた分割
空間領域に対応するスクリーン上の分割画面領域内の画
像を生成し、生成した画像を表示手段に転送し画像を表
示する第3の段階とを有することを特徴とする画像生成
方法。
1. An object comprising a plurality of processor elements comprising a local storage means and a calculation means directly connected to each other, and a display means, the object comprising shape data of the object and surface optical attribute data stored in the local storage means. For the data, a screen is set that corresponds to the viewpoint and the display area of the display means, and when generating a projected image of the object, the spatial area where all objects exist expressed in the screen coordinate system is set on the screen. Divide in parallel directions and display the divided space region with the largest number of objects on the screen until there is no divided space region with more objects than the total number of objects contained in each divided space region divided by the number of processor elements. The first step is to repeat the process of further dividing the space in parallel directions, and the second step is to repeat the process of allocating the divided space regions containing the largest number of objects to each processor element one by one until all the divided space regions have been allocated. , the object data included in the allocated divided space area is stored in the local storage means of each processor element, and the object data stored in the local storage means is used to display the data on the screen corresponding to the allocated divided space area. An image generation method comprising the steps of: generating an image within a split screen area; and transmitting the generated image to a display means to display the image.
【請求項2】  直接接続された局所記憶手段と演算手
段とから成る複数のプロセッサエレメントと、表示手段
を設け、局所記憶手段に記憶された物体の形状データお
よび表面の光学的属性データから成る物体データに対し
、視点と上記表示手段の表示領域に対応づけられたスク
リーンを設定し、視点と物体の位置及び物体の形状の変
更データに従って物体の投影像を生成する際に、各物体
の存在する空間領域の中心位置を全物体に渡って平均し
た値である物体平均中心位置を求める第5の段階と、前
記第1、第2、第3の段階と、視点と物体の位置及び物
体の形状の変更データに従って、各プロセッサエレメン
トに割り付けられた分割空間領域内の物体データを変更
後のスクリーン座標系に変換する第5の段階と、前記物
体平均中心位置を通り視点変更後のスクリーンに平行な
平面と、各プロセッサエレメントに割り付けられた視点
変更前の分割空間領域との交差面を求め、前記交差面を
底面とする視点変更後のスクリーンに平行な分割空間領
域に分割し、各分割空間領域に含まれる物体数の合計を
プロセッサエレメント数で割った数よりも物体数の多い
分割空間領域がなくなるまで、最も物体数の多い分割空
間領域をスクリーンに平行な方向に更に分割する処理を
繰り返す第6の段階と、含まれる物体数の多い分割空間
領域から順に、すべてのプロセッサエレメントのうちで
前記分割空間領域に含まれる物体データを最も多く局所
記憶手段に記憶しているプロセッサエレメントへ割り付
け、更に残りのプロセッサエレメントに対し残りの分割
空間領域を割り付ける処理を、すべてのプロセッサエレ
メントに割り付けられるまで繰り返す処理を、すべての
分割空間領域が割り付けられるまで繰り返す第7の段階
と、割り付けられた分割空間領域に含まれる物体データ
から各プロセッサエレメントの局所記憶手段に既に記憶
している物体データを除いた残りの物体データを、局所
記憶手段に既に記憶しているプロセッサエレメントから
転送し、局所記憶手段に記憶させられた物体データから
、割り付けられた分割空間領域に対応するスクリーン上
の分割画面領域内の画像を生成し、生成した画像を表示
手段に転送し画像を表示する第8の段階とを有し、第5
、第6、第7、第8の段階を繰り返し行ない、動画像を
生成することを特徴とする請求項1記載の画像生成方法
2. An object comprising a plurality of processor elements comprising a local storage means and a calculation means directly connected to each other, and a display means, the object comprising shape data of the object and surface optical attribute data stored in the local storage means. A screen corresponding to the viewpoint and the display area of the display means is set for the data, and when a projected image of the object is generated according to the change data of the viewpoint, the position of the object, and the shape of the object. a fifth step of calculating an object average center position, which is a value obtained by averaging the center position of the spatial region over all objects; the first, second, and third steps; and the viewpoint, the position of the object, and the shape of the object. a fifth step of converting the object data in the divided space area allocated to each processor element into the changed screen coordinate system according to the changed data; and Find the intersecting plane between the plane and the divided spatial region before the viewpoint change assigned to each processor element, divide it into divided spatial regions parallel to the screen after the viewpoint change with the intersection plane as the bottom surface, and divide each divided spatial region into The process of further dividing the divided space region with the largest number of objects in the direction parallel to the screen is repeated until there is no divided space region where the number of objects is greater than the total number of objects included in the number divided by the number of processor elements. Step 6, allocating the object data included in the divided space area among all the processor elements in order from the divided space area containing the largest number of objects to the processor element that stores the largest amount in the local storage means; a seventh step of repeating the process of allocating the remaining divided space regions to the remaining processor elements until all the divided space regions are allocated to all the processor elements; and The remaining object data after removing the object data already stored in the local storage means of each processor element from the object data included in the processor element is transferred from the processor element already stored in the local storage means and stored in the local storage means. an eighth step of generating an image within a split screen area on the screen corresponding to the allocated split space area from the object data, and transmitting the generated image to a display means to display the image. , 5th
2. The image generation method according to claim 1, wherein the sixth, seventh, and eighth steps are repeated to generate a moving image.
【請求項3】  直接接続された局所記憶手段と演算手
段とから成る複数のプロセッサエレメントと、表示手段
を具備し、局所記憶手段に記憶された物体の形状データ
および表面の光学的属性データから成る物体データに対
し、視点と上記表示手段の表示領域に対応づけられたス
クリーンを設定し、視点と物体の位置及び物体の形状の
変更データに従って物体の投影像を生成する際に、請求
項1または2記載の画像生成方法を行う画像生成装置。
3. A plurality of processor elements comprising directly connected local storage means and arithmetic means, and a display means, comprising shape data of an object and optical attribute data of a surface stored in the local storage means. The method according to claim 1 or 2, wherein a screen associated with a viewpoint and a display area of the display means is set for object data, and a projected image of the object is generated according to change data of the viewpoint, the position of the object, and the shape of the object. An image generation device that performs the image generation method described in 2.
JP2402769A 1990-12-17 1990-12-17 Method and device for drawing picture Pending JPH04216183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2402769A JPH04216183A (en) 1990-12-17 1990-12-17 Method and device for drawing picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2402769A JPH04216183A (en) 1990-12-17 1990-12-17 Method and device for drawing picture

Publications (1)

Publication Number Publication Date
JPH04216183A true JPH04216183A (en) 1992-08-06

Family

ID=18512561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2402769A Pending JPH04216183A (en) 1990-12-17 1990-12-17 Method and device for drawing picture

Country Status (1)

Country Link
JP (1) JPH04216183A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080316229A1 (en) * 2007-03-19 2008-12-25 Hajime Terayoko Content display method, content display program and content display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080316229A1 (en) * 2007-03-19 2008-12-25 Hajime Terayoko Content display method, content display program and content display device
US8341517B2 (en) * 2007-03-19 2012-12-25 Fujifilm Corporation Content display method, content display program and content display device

Similar Documents

Publication Publication Date Title
EP1125253B2 (en) Shading 3-dimensional computer generated images
JP3183901B2 (en) Memory management method
EP1127337B2 (en) Shading 3-dimensional computer generated images
JP2799038B2 (en) Continuous scrolling device for large-scale images
EP1624443A2 (en) Method and apparatus using a two-dimensional circular data buffer for scrollable image display
CN107256531B (en) Memory management system and method
JP3416877B2 (en) Apparatus and method for parallel processing of tasks
JP2673101B2 (en) Computer graphics equipment
US20080273030A1 (en) Drawing apparatus and drawing method
JP2003140636A (en) Method and apparatus using two-dimensional circular data buffer for scrollable image display
US5619629A (en) Drawing data producing apparatus and drawing data producing method
JPH0660173A (en) Method and apparatus for reducing picture
JPH08147234A (en) Device and method for processing stream
EP0574245A2 (en) Method and apparatus for variable expansion and variable shrinkage of an image
JPH04216183A (en) Method and device for drawing picture
EP1532582B1 (en) Method and apparatus for image data processing using image strips and circular addressing arrangement
US6125437A (en) Virtual linear frame buffer addressing method and apparatus
CN111569418A (en) Rendering method, device and medium for content to be output and electronic equipment
JP3536362B2 (en) Drawing data generation method
US5714986A (en) Run slice line draw engine with enhanced line configurations
CN111712833A (en) Method and device for screening local feature points
JP7118315B1 (en) drawing device
JP2903514B2 (en) High-speed drawing method
US6943802B2 (en) Image processing apparatus and method of same
CN117372235A (en) Method and device for processing graphic primitive