3Dc

3Dc

3Dc is a lossy data compression algorithm for normal maps invented and first implemented by ATI. It builds upon the earlier DXT5 algorithm and is an open standard. 3Dc is now implemented by both ATI and NVIDIA.

Target Application

The target application, normal mapping, is an extension of bump mapping that simulates lighting on geometric surfaces by reading surface normals from a rectilinear grid analogous to a texture map - giving simple models the impression of increased complexity. This additional channel however increases the load on the graphics system's memory bandwidth. Pre-existing lossy compression algorithms implemented on consumer 3d hardware lacked the precision necessary for reproducing normal maps without excessive visible artefacts, justifying the development of 3Dc.

Although 3Dc was formally introduced with the ATI x800 series cards, there is also an S3TC compatible version planned for the older R3xx series, and cards from other companies. The quality and compression will not be as good, but the visual errors will still be significantly less than offered by standard S3TC.

Algorithm

Surface normals are three dimensional vectors of unit length. Because of the length constraint only two elements of any normal need to be stored. The input is therefore an array of two dimensional values.

Compression is performed in 4x4 blocks. In each block the two components of each value are compressed separately. This produces two sets of 16 numbers for compression.

The compression is achieved by finding the lowest and highest values of the 16 to be compressed and storing each of those as an 8-bit quantity. Individual elements within the 4x4 block are then stored with 3-bits each, representing their position on an 8 step linear scale from the lowest value to the highest.

Total storage is 128 bits per 4x4 block once both source components are factored in. In an uncompressed scheme with similar 8-bit precision, the source data is 32 8-bit values for the same area, occupying 256 bits. The algorithm therefore produces a 2:1 compression ratio.

The compression ratio is sometimes stated as being "up to 4:1" as it is common to use 16-bit precision for input data rather than 8-bit. This produces compressed output that is literally 1/4 the size of the input but it is not of comparable precision.

References

* [http://www.ati.com/products/radeonx800/3DcWhitePaper.pdf 3Dc White Paper (PDF)]
* [http://planetpixelemporium.com/tutorialpages/normal.html What is a Normal Map?]
* [http://www.bencloward.com/tutorials_normal_maps1.shtml CREATING AND USING NORMAL MAPS]
* [http://www.blender3d.org/cms/Normal_Maps.491.0.html Creating Normal Maps]
* [http://www.neoseeker.com/Articles/Hardware/Reviews/r420preview/3.html 3Dc - higher quality textures with better compression]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • 3Dc — (FourCC : ATI2), también conocido como DXN, es un algoritmo de compresión con pérdida para imágenes inventado e implementado por primera vez por ATI. Es un estándar abierto creado a partir del algoritmo DXT5. Actualmente, 3Dc está… …   Wikipedia Español

  • 3Dc — ist eine von ATI Technologies in der 3D Computergrafik entwickeltes Texturkomprimierungssystem für Normalmaps. Der maximal mögliche Komprimierungsfaktor beträgt laut ATI 4:1, d.h. in dem Grafikspeicher können viermal so viele Texturdetails… …   Deutsch Wikipedia

  • Radeon R420 — ATIGPU name = Radeon X700 X850 Series ) codename = Loki created = 2004 entry = None midrange = Radeon X700, X740 highend = Radeon X800, X850 d3dversion = 9.0b, Shader Model 2.0bThe Radeon R420 core from ATI Technologies was the company s basis… …   Wikipedia

  • Direct debit dividend contributions — also known as 3DC are payments made towards shareholders for shares which have been issued on credit. Issuing stock on credit is considered appropriate when a Stakeholder (such as company s founder or other key person) wishes to retain… …   Wikipedia

  • Comparison of AMD graphics processing units — For information on Nvidia graphics processing units, see Comparison of Nvidia graphics processing units. This page contains general information about the GPUs and video cards by Advanced Micro Devices (AMD), including those by ATI Technologies… …   Wikipedia

  • Сравнение графических процессоров AMD — Эта таблица содержит основную информацию о графических процессорах AMD и видеокартах, построенных на официальных спецификациях AMD. Содержание …   Википедия

  • S3 Texture Compression — (S3TC) (sometimes also called DXTn or DXTC) is a group of related lossy texture compression algorithms originally developed by Iourcha et al. of S3 Graphics, Ltd. [1] for use in their Savage 3D computer graphics accelerator. The method of… …   Wikipedia

  • DXT — S3 Texture Compression (S3TC) (manchmal auch DXTn oder DXTC) ist ein ursprünglich für die Savage 3D entwickeltes Texturkomprimierungssystem von S3 Graphics[1]. Es eignet sich im Gegensatz zu Bildkompressionsalgorithmen wie JPEG für hardware… …   Deutsch Wikipedia

  • DXTC — S3 Texture Compression (S3TC) (manchmal auch DXTn oder DXTC) ist ein ursprünglich für die Savage 3D entwickeltes Texturkomprimierungssystem von S3 Graphics[1]. Es eignet sich im Gegensatz zu Bildkompressionsalgorithmen wie JPEG für hardware… …   Deutsch Wikipedia

  • DXTn — S3 Texture Compression (S3TC) (manchmal auch DXTn oder DXTC) ist ein ursprünglich für die Savage 3D entwickeltes Texturkomprimierungssystem von S3 Graphics[1]. Es eignet sich im Gegensatz zu Bildkompressionsalgorithmen wie JPEG für hardware… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”