A6 B6 320703 五、發明説明(1 ) 〔產業上之利用範圍〕 此發明係有關尤其適於使用於電腦遊戲遊戲之畫像顯 示裝置。 〔以往之技術〕 爲遊戲電腦遊戲之電腦則被要求有高速處理及優異之 圖像顯示能力。其中,又要求進行將3次元物體高速顯示 ,實現紋理等之視覺效果,富有現實感之資料顯示者。文 句係於3次元物體面之其他所定義的地方將圖案黏貼,而 於3次元物體產生特有之視覺效果,於物體面黏貼之圖案 係在以往爲幾何學圖案或,照片,手繪之圖案等靜止圇案 (請先閲讀背面之注意事項再填寫本頁) 裝 .訂 〔發明欲解決之課題〕 做爲紋理圖案有期望使用動畫以及富於變化之電腦繪 圖加以實現。但是,在以往紋理圖案係事先已經決定,無 法動態地將紋理圖加以改寫之故,無法將動畫之紋理圖案 黏貼於物體面上。 經濟部中央標準局員工消费合作社印製 因此,本發明之目的係在提供可黏貼動畫之紋理的構 造處理裝置。 〔爲解決課題之方法〕 此發明係將記錄於以壓縮記錄之動盡資料的資料記錄 媒體中的壓縮動畫資料,予以再生之再生手段和,由再生 本紙張尺度適用中國國家標準(CNS)甲4規格(210X 297公釐) 320703 A6 B6 禮濟部中央標準局員工消费合作社印製 五、發明説明(2 ) 手段將再生之壓縮動畫資料介由匯流排線加以接受,將壓 縮動塞資料展開之畫像資料展開手段和,將由畫像資料展 開手段展開之動畫資料介由匯流排線加以接受,將畫像合 成之畫像合成手段所成之畫像處理裝置者。 此發明之中,對畫像合成手段而言,於螢幕上設有具 爲顯示物體之描繪範圍,和爲裝飾物體之紋理範圍的晝像 記憶體,介由匯流排線接受之展開後的動畫資料係可選擇 性地轉送描繪範圍及紋理範圍之雙方。 〔作用〕 因動塞資料被壓縮記錄於CD — ROM之故,可容易 地處理動畫資料。又,紋理範圍設於框記憶體,經由將紋 理本身於賫料框的改寫,以實現動晝紋理。 〔實施例〕 做爲CPU2,例如使用3 2位元者。0卩112係進 行系統整體之管理。又,於螢幕上由C PU 2進行決定描 繪多邊形單位之順序的排序處理。 畫像展開器4係例如藉由離散餘弦變換(DCT)展 開處理被壓縮之畫像。 CD — ROM解碼器5係連接於CD — ROM裝置9 ,將裝置於CD — ROM裝置9之CD — ROM之應用程 式或資料加以解碼。於CD — ROM之中,例如可藉由 D C T記錄被壓縮之動畫資料。 {請先閲讀背面之注意事項再填寫本頁) -裝 .訂. •髮· 本紙張尺度適用中國國家標準(CNS)甲4规格ί 210x297公釐) A6 B6 經濟部中央標準局Μ工消費合作钍印製 五、發明説明(3 ) 畫像合成裝置6係藉由內部匯流排11連接於框記憶 體1 0,此框記憶體1 0係例如由2面之框記憶體所構成 ,於每個垂直周期將2面框記憶體加以切換。框記憶體 1 0係具有將紋理畫像記錄之紋理範圍和,將描繪畫像記 錄之描繪範圍。更且,框記憶體10中,設有彩色抬頭桌 面(CLUT)。畫像合成裝置6之輸出畫像係介由 D/A轉換器12加以輸出。 根據此畫像合成裝置6進行梯度計算及多邊形描繪。 以C P U 2排序之主記憶體4上之多邊形資料係依排序順 序傳送至畫像合成裝置6。然後,此資料係送至畫像合成 裝置6之梯度計算單元,進行梯度計算。梯度計算係於描 繪多邊形時,於多邊形之內側塡入對映資料時,求得變形 之對映資料向平面傾斜之計算。紋理之時爲、狹見熟,亮度 成蔭(glow shading)之時亮度値則置入多邊形。 座標變換裝置7係進行3次元座標變換及由3次元變 換爲螢幕上之2次元者,座標變換裝置7及主記憶體3係 藉由DMA控制8,可將資料做DMA傳送。座標變換裝 置7係介由系統匯流排1由主記憶體3得資料,將此座標 變換,再介由系統匯流排1傳送至主記憶體3。 圖2係顯示多邊形描繪之流程者,由c PU 2發出指 令之時(步驟1 0 1 ),由主記憶體3介由系統匯流排, 資料被傳送至座標變換裝置7。於座標變換裝置7進行3 次元座檩變換(步驟1 0 2 ),進行3次元至2次元之座 標變換(步驟10 3)。然後,此資料係介由系統匯流排 (請先閲讀背面之注意事項再填寫本頁) .裝 .訂 -绢. 本紙張尺度適用中國國家標準(CNS)甲4規格(210 X 297公釐) 32G703 A6 B6 禮濟部中央標準局員工消费合作社印製 五、發明説明(4 ) 1傳送至主記憶體3,以CPU2加以排序(步驟1 0 4 )。被CPU2所排序之資料則介由系統匯流排1送至畫 像合成裝置6。藉由畫像合成裝置6進行梯度計算(步驟 1 〇 5 )描繪多邊形(步驟1 〇 6 )。然後將畫像加以输 出(步驟1 0 7 )。 框記憶體10係具有記憶紋理畫像之紋理範圍,和記 憶描繪盡像之描繪範圍。即,圖3係顯示框記憶體1 0之 記憶空間者。框記憶體1 0係以行及列之2次元位址加以 定址。此2次元位址空間之中,範圍ATI ,AT2, A T 3 .........爲紋理範圍,此等紋理範圍ATI ,AT2 ,AT 3 .........之中,可將複數種類之紋理圖案加以配置 。AD 1係描繪範圍,描繪之畫面於此描繪範圍展開。 AC1 ,AC2 ,AC3爲彩色抬頭卓面範圍。 於物體表面黏貼紋理之時,紋理範圍AT 1 ,AT 2 ,AT 3 .........之紋理資料被變換爲2次元映像。例如, 於圖4 A所示之紋理圖案TP 1係如圖4 B所示,變換於 2次元螢幕上之座標。如此之映像變換之紋理圖案TP 1 如圖8 C所示,送至描繪範圍。然後合成於描繪範圍 AD1之物體上的表面。 對映至多邊形係如圖5 A所示地將於紋理範圍之 ATI ,AT2,AT3存在之紋理圖案ΤΙ,T2, Τ3加以讀取,將此2次元映像變換,黏貼於圖5 b所示 之物體OB 1之表面。根據此,如圇5C所示,於物體 OB 1之表面黏貼紋理ΤΙ,T2,T3。此將配置於描 本紙張尺度適用中國國家標準(CNS)甲4規格(210X297公釐) -6 ~ (請先閱讀背面之注意事項再填寫本頁) .裝 ,、νβ. -髮, A6 B6 經濟部中央標準局Η工消費合作社印製 五、發明説明(5 ) 繪圍AD1。描繪範圍AD1之畫像則顯示於畫像上。 當爲靜止畫紋理之時,主記憶體3上之紋理圖案則介 由畫像合成裝置6,傳送至框記憶體1 0上之紋理範圍 ATI,AT2,AT3 .........畫像合成裝置6係將此黏 貼於多邊形上。如此地實現物體之靜止畫之紋理。 更且,可爲進行動畫之紋理。即,當爲動畫之紋理時 ,例如由CD-ROM所得之壓縮資料係先讀入主記憶體 3。然後,此壓縮動盡資料係送至晝像展開器4。於畫像 展開器4 ,將動畫資料展開。然後,此動畫資料則送至框 記憶體1 0上之紋理範圍AT 1 ,AT 2,AT 3 ......... ATI ,AT 2,AT 3 .........係設於框記憶體內之故, 紋理圖案本身亦可依每個框加以改寫,如此地,送動畫至 紋理範圍ATI ,AT2,AT3,則紋理便依每個框動 態地改寫變化,以實現動畫之紋理。 將由C D _ R 〇M得之壓縮動畫資料,讀入主記憶體 3,將此壓縮盡像資料以畫像展開器4展開,送至框記憶 體10上之描繪範圍AD1,可於螢幕上直接描繪動畫。 然而,此發明之一實施例之中,雖於CD — ROM將 畫像資料壓縮加以記錄,但亦可於其他記錄媒體例如磁碟 ,如記憶卡之半導體記憶體將晝像資料壓縮記錄之。 〔發明之效果〕 根據此發明,因動畫資料被壓縮記錄於CD — ROM 之故,可容易地取得動畫資料,且紋理範圍設於框記憶體 (請先閱讀背面之注意事項再填寫本頁) .裝 .訂 •韙. 本紙張尺度適用中國國家標準(CNS)酽4規格(210X297公釐)A6 B6 320703 V. Description of the invention (1) [Industrial Scope] This invention relates to an image display device which is particularly suitable for use in computer games. [Conventional Technology] Computers that are gaming computer games are required to have high-speed processing and excellent image display capabilities. Among them, it is required to display three-dimensional objects at high speed to achieve visual effects such as texture, and full of realistic data display. The sentence is to paste the pattern on the other defined places of the 3D object surface, and the unique visual effect is produced on the 3D object. The pattern pasted on the object surface is in the past a geometric pattern or a photo, hand-drawn pattern, etc. still The case (please read the precautions on the back before filling in this page). Binding [Subject to be solved by the invention] As a texture pattern, it is expected to be realized using animation and computer graphics with rich changes. However, in the past, the texture pattern was determined in advance, and it is not possible to dynamically rewrite the texture map. Therefore, the animation texture pattern cannot be pasted on the object surface. Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economics. Therefore, the object of the present invention is to provide a construction processing device that can paste the texture of animation. [Methods for solving the problem] This invention is a reproduction method and method for regenerating compressed animation data recorded on a data recording medium of compressed data of exhaustive data, and the Chinese National Standard (CNS) A 4 Specifications (210X 297 mm) 320703 A6 B6 Printed by the Employee Consumer Cooperative of the Central Standards Bureau of the Ministry of Ethics and Fifth, the description of the invention (2) Means to regenerate the compressed animation data through the bus line, and expand the compressed plug data The image data development means and the image processing device formed by the image synthesis means which combines the animation data developed by the image data development means through the bus line and combines the images. In this invention, for the image synthesis means, there is a day image memory with a drawing range for displaying objects and a texture range for decorating objects on the screen, and expanded animation data received by the bus It can selectively transfer both the drawing range and the texture range. [Function] Since the moving plug data is compressed and recorded on the CD-ROM, the animation data can be easily processed. In addition, the texture range is set in the frame memory, and the texture is rewritten in the grain frame to achieve dynamic texture. [Embodiment] As the CPU 2, for example, 32 bits are used. 0 卩 112 is to manage the whole system. Furthermore, the CPU 2 performs sorting processing on the screen to determine the order of drawing polygon units. The image expander 4 develops a compressed image by discrete cosine transform (DCT), for example. The CD-ROM decoder 5 is connected to the CD-ROM device 9, and decodes the CD-ROM application program or data installed in the CD-ROM device 9. In CD-ROM, for example, the compressed animation data can be recorded by DCT. {Please read the precautions on the back before filling this page)-Binding. Ordering. • The paper size is applicable to China National Standards (CNS) A 4 specifications ί 210x297 mm) A6 B6 Ministry of Economic Affairs Central Standards Bureau M Industry Consumption Cooperation Thorium printing V. Description of the invention (3) The image synthesis device 6 is connected to the frame memory 10 through an internal bus 11. The frame memory 10 is composed of, for example, two-sided frame memory. The vertical cycle switches the two-sided frame memory. The frame memory 10 has a texture range for recording texture portraits and a drawing range for recording portrait portraits. Moreover, the frame memory 10 is provided with a color head-up table (CLUT). The output image of the image synthesizing device 6 is output by the D / A converter 12. According to this image synthesis device 6, gradient calculation and polygon drawing are performed. The polygon data on the main memory 4 sorted by C P U 2 is sent to the image synthesis device 6 in sorted order. Then, this data is sent to the gradient calculation unit of the image synthesis device 6 to perform gradient calculation. Gradient calculation is the calculation of calculating the tilt of the deformed mapping data to the plane when drawing the mapping data inside the polygon. The texture is narrow and familiar, while the brightness shading is placed in a polygon. The coordinate conversion device 7 performs 3-dimensional coordinate conversion and changes from 3-dimensional conversion to 2-dimensional on the screen. The coordinate conversion device 7 and the main memory 3 are controlled by DMA 8 to transfer data to DMA. The coordinate conversion device 7 obtains the data from the main memory 3 via the system bus 1, converts the coordinate, and transmits it to the main memory 3 via the system bus 1. Figure 2 shows the process of polygon drawing. When the instruction is issued by c PU 2 (step 1 0 1), the main memory 3 passes the system bus, and the data is sent to the coordinate conversion device 7. The coordinate conversion device 7 performs 3D coordinate purlin conversion (step 1 0 2), and performs 3D to 2D coordinate conversion (step 10 3). Then, this data is from the system bus (please read the precautions on the back before filling out this page). Binding. Binding-Silk. This paper scale is applicable to China National Standard (CNS) A 4 specifications (210 X 297 mm) 32G703 A6 B6 Printed by the Employee Consumer Cooperative of the Central Standards Bureau of the Ministry of Ethics V. Invention Instructions (4) 1 Transferred to the main memory 3 and sorted by the CPU 2 (step 1 0 4). The data sorted by the CPU 2 is sent to the image synthesis device 6 through the system bus 1. The image synthesis device 6 performs gradient calculation (step 1 〇5) to draw a polygon (step 1 〇6). Then output the portrait (step 1 0 7). The frame memory 10 has a texture range that memorizes a texture portrait, and a painting range where the memory depicts everything. That is, FIG. 3 shows the memory space of the frame memory 10. The frame memory 10 is addressed with the two-dimensional address of the row and column. Among the two-dimensional address space, the range ATI, AT2, AT 3 ... is the texture range, and the texture range ATI, AT2, AT 3 ......... , You can configure multiple types of texture patterns. AD 1 is the drawing range, and the drawing picture is expanded in this drawing range. AC1, AC2, AC3 are the range of color head-up surface. When the texture is pasted on the surface of the object, the texture data of the texture range AT 1, AT 2, AT 3 ......... is transformed into a 2D image. For example, the texture pattern TP 1 shown in FIG. 4 A is transformed as shown in FIG. 4 B to the coordinates on the 2-dimensional screen. The texture pattern TP 1 of such image transformation is sent to the drawing range as shown in FIG. 8C. Then synthesize the surface on the object in the drawing range AD1. Mapped to the polygon system, as shown in FIG. 5 A, the texture patterns ΤΙ, T2, Τ3 existing in the ATI, AT2, AT3 of the texture range are read, and the 2-dimensional image is transformed and pasted as shown in FIG. 5b The surface of the object OB 1. According to this, as shown in Fig. 5C, textures T1, T2, and T3 are pasted on the surface of the object OB1. This will be configured on the scale of the description paper. The Chinese National Standard (CNS) A4 specification (210X297 mm) is applicable -6 ~ (please read the precautions on the back before filling in this page). Install, νβ. -Fa, A6 B6 Printed by the Central Standards Bureau of the Ministry of Economic Affairs, H Industry and Consumer Cooperatives 5. Description of Invention (5) Huawei AD1. The portrait of the drawing range AD1 is displayed on the portrait. When the texture is still painting, the texture pattern on the main memory 3 is transferred to the texture range ATI, AT2, AT3 on the frame memory 10 via the portrait synthesizing device 6 ... Portrait The synthesis device 6 pastes this on the polygon. In this way, the texture of the still painting of the object is realized. Moreover, it can be an animated texture. That is, when the texture of the animation, for example, the compressed data obtained from the CD-ROM is first read into the main memory 3. Then, the compressed operation data is sent to the day image expander 4. In the image expander 4, expand the animation data. Then, this animation data is sent to the texture range AT 1, AT 2, AT 3 on the frame memory 10 ... ATI, AT 2, AT 3 ......... Because it is located in the frame memory, the texture pattern itself can also be rewritten according to each frame. In this way, if the animation is sent to the texture range ATI, AT2, AT3, the texture will be dynamically rewritten and changed according to each frame to achieve animation Texture. Read the compressed animation data from CD_R 〇M into the main memory 3, expand the compressed image data with the image expander 4 and send it to the drawing range AD1 on the frame memory 10, which can be directly drawn on the screen Animation. However, in one embodiment of the invention, although the image data is compressed and recorded on the CD-ROM, the day image data can also be compressed and recorded on other recording media such as a magnetic disk, such as a semiconductor memory of a memory card. [Effects of the invention] According to this invention, because the animation data is compressed and recorded on the CD-ROM, the animation data can be easily obtained, and the texture range is set in the frame memory (please read the precautions on the back before filling this page) . Binding. Staples. This paper scale is applicable to Chinese National Standard (CNS) 酽 4 specifications (210X297 mm)