DXT      (http://gamecode.org)              2009.10.11
DXT•    –    –    –•    –•    –   DDS    –   Nvidia    –   DirectX         (DirectX Texture Tool)    –   ATI compressonato...
DXT          ?•    –    –                    ,•    –        : Allegorithmic "Substance Air“          • a new genetation of...
DXT•   4x4     –           read                           16     –                  Bilinear Filtering     –     –        ...
DXT1 기본 알고리즘(1)•   4x4     –    8     –    2        +2        +4     –    16     + 16     + 32     –    16     + 16     + ...
DXT1 기본 알고리즘(2)•   16     –   PCA     –                3       (RGB)•     –•     –   RangeFit     –   ClusterFit     –    ...
DXT1 기본 알고리즘(3)• Pseudo Code                                            ???    (0, 1   RGB0,RGB1          )•     –        ...
DXT3/ DX5 알고리즘(1)•   DXT 3    – RGB              DXT1    – 16                        4                     (8       )•   D...
DXT3/ DX5 알고리즘(2)– RGB    BLACK            0, 255   •            ALPHA1   ALPHA0    8   6+2– Pseudo Code
•                                                                   (      )    –                           (             ...
Upcoming SlideShare
Loading in …5
×

09_Dxt 압축 알고리즘 소개

1,141 views
938 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,141
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

09_Dxt 압축 알고리즘 소개

  1. 1. DXT (http://gamecode.org) 2009.10.11
  2. 2. DXT• – – –• –• – DDS – Nvidia – DirectX (DirectX Texture Tool) – ATI compressonator• . DXT1, DXT3, DXT5
  3. 3. DXT ?• – – ,• – : Allegorithmic "Substance Air“ • a new genetation of texture • http://www.allegorithmic.com • ~ –• DXT ~
  4. 4. DXT• 4x4 – read 16 – Bilinear Filtering – – (cache hit!!)• – dxt1 4x4 8 – 16 2*16 => 32 (1/4 ) (X8R8G8B8 1/8 )• – ( ) – ( ) –• !!
  5. 5. DXT1 기본 알고리즘(1)• 4x4 – 8 – 2 +2 +4 – 16 + 16 + 32 – 16 + 16 + (2 +2 + ... + 2 ) – RGB1(565:16) + RGB2(565:16) + T00(2) + T01(2) + T02(2) + T03(2) + T10(2) + T12(2) + .. + T33(2)• PCA ( ) – (Eigen Vector) – = ( )
  6. 6. DXT1 기본 알고리즘(2)• 16 – PCA – 3 (RGB)• –• – RangeFit – ClusterFit – – 참고 : http:/ / code.google.com/ p/ libsquish/
  7. 7. DXT1 기본 알고리즘(3)• Pseudo Code ??? (0, 1 RGB0,RGB1 )• – RGB0 >= RGB1 – DXT1 BLACK 0
  8. 8. DXT3/ DX5 알고리즘(1)• DXT 3 – RGB DXT1 – 16 4 (8 )• DXT5 – (RGB ) – 8 • 1 +1 +6 • 8Bit + 8Bit + 3Bit + 3bit ... + 3Bit • ALPHA0(8) + ALPHA1(8) + T00(3) + T01(3) + .. + T32(3) + T33(3) • RGB (8 ) – Pseudo Code
  9. 9. DXT3/ DX5 알고리즘(2)– RGB BLACK 0, 255 • ALPHA1 ALPHA0 8 6+2– Pseudo Code
  10. 10. • ( ) – ( )• – • • HALO – DXT5 , RGB , –• DXT – : 16 DXT• (Official) – http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_compression_s3tc.txt

×