GameDevelopment/TexTarga/Specification/ver2
をテンプレートにして作成
ホーム
検索
最終更新
ヘルプ
Wiki書式ヘルプ(整形ルール)
開始行:
* Specification(仕様) [#tf563ae5]
** Ver1との違い [#ub090a86]
- Mip Map対応
- UserDataの対応
- 拡張領域のデータルールを大幅変更
* Tag Rule [#yedd2a04]
|English|日本語|h
|There is consecutive data whitch is set of tag name, att...
|All data is included with section named "TEX_TARGA".|全...
|Tag is unique in a secction.|セクションの中でタグ名が重...
Example(例)
"TEX_TARGA""begin""VERSION""u8"2"PIXEL_FORMAT""string""R...
:attribute of tag list(タグの属性一覧)|
|attribute name|comment|コメント|h
|begin|Begin of section.|セクションの始まりを表す。|
|end|End of section.|セクションの終わりを表す。|
|u8|Unsigned char data.|unsigned charデータ。|
|u16|Unsigned short data.|unsigned shortデータ。|
|u32|Unsigned long data.|unsigned longデータ。|
|s8|Signed char data.|Signed charデータ。|
|s16|Signed short data.|Signed shortデータ。|
|s32|Signed long data.|Signed longデータ。|
|string|Character string. End of string is must NULL.|文...
|bytes|Binary data.&br;After attribute name'bytes¥0',Ther...
* Tag Reference(タグリファレンス) [#l189caa9]
:ROOT|
|name of tag&br;(タグ名)|must&br;(必須)|attribute|comment...
|TEX_TARGA|Yes|(section)|Root section.|ルートとなるSectio...
:ROOT/TEX_TARGA|
|name of tag&br;(タグ名)|must&br;(必須)|attribute|comment...
|VERSION|Yes|u8|Format version number.Must be 2.|フォーマ...
|PIXEL_FORMAT|Yes|string|Required pixel format type.&br;(...
|SRC_DATA|No|bytes|Before converted pixel data.|減色前の...
|MIP_MAP|No|(section)|Mip map data section.|ミップマップ...
|USER_DATA|No|(section)|User data section. ※1|ユーザーデ...
※1 Format is free.(フォーマットは決まっていません。自由...
:ROOT/TEX_TARGA/MIP_MAP|
|name of tag&br;(タグ名)|must&br;(必須)|attribute|comment...
|MAX_LEVEL|Yes|u8|Mip map max level.Grater equal 1.|ミッ...
|LEVEL_*|Yes|(section)|Mip map level section.&br;Ex. leve...
Mip map image size must be involution of 2。(MipMapのイ...
:ROOT/TEX_TARGA/MIP_MAP/LEVEL_*|
|name of tag&br;(タグ名)|must&br;(必須)|attribute|comment...
|TEX_DATA|Yes|bytes|Mip map image data.|ミップマップイメ...
|SRC_DATA|No|bytes|Mip map image data.&br;(Before color r...
''Pixel format list''
|name|>|>|>|>|>|bits of elements|bits per pixel|h
|~|R|G|B|A|L|I|~|h
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):Alpha (1,1,1,A) [tga bpp =...
|A1|0|0|0|1|0|0|1|
|A2|0|0|0|2|0|0|2|
|A4|0|0|0|4|0|0|4|
|A8|0|0|0|8|0|0|8|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):Luminance (L,L,L,1) [tga b...
|L1|L|L|L|0|1|0|1|
|L2|L|L|L|0|2|0|2|
|L4|L|L|L|0|4|0|4|
|L8|L|L|L|0|8|0|8|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):LuminanceAlpha (L,L,L,A) [...
|LA1|L|L|L|1|1|0|2|
|LA2|L|L|L|2|2|0|4|
|LA4|L|L|L|4|4|0|8|
|LA8|L|L|L|8|8|0|16|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):Intensity (I,I,I,I) [tga b...
|I1|I|I|I|I|0|1|1|
|I2|I|I|I|I|0|2|2|
|I4|I|I|I|I|0|4|4|
|I8|I|I|I|I|0|8|8|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):RGB (R,G,B,1) [tga bpp = 2...
|RGB565|5|6|5|0|0|0|16|
|RGB8|8|8|8|0|0|0|24|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):RGBA (R,G,B,A) [tga bpp = ...
|RGBA1|1|1|1|1|0|0|4|
|RGBA2|2|2|2|2|0|0|8|
|RGBA4|4|4|4|4|0|0|16|
|RGBA6|6|6|6|6|0|0|24|
|RGBA8|8|8|8|8|0|0|32|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):RGBA_S3TC [tga bpp = 32]|
|RGBA_S3TC_DXT1|?|?|?|?|0|0|4|
|RGBA_S3TC_DXT3|?|?|?|?|0|0|8|
|RGBA_S3TC_DXT5|?|?|?|?|0|0|8|
//** History [#le1104b9]
//#comment(below)
終了行:
* Specification(仕様) [#tf563ae5]
** Ver1との違い [#ub090a86]
- Mip Map対応
- UserDataの対応
- 拡張領域のデータルールを大幅変更
* Tag Rule [#yedd2a04]
|English|日本語|h
|There is consecutive data whitch is set of tag name, att...
|All data is included with section named "TEX_TARGA".|全...
|Tag is unique in a secction.|セクションの中でタグ名が重...
Example(例)
"TEX_TARGA""begin""VERSION""u8"2"PIXEL_FORMAT""string""R...
:attribute of tag list(タグの属性一覧)|
|attribute name|comment|コメント|h
|begin|Begin of section.|セクションの始まりを表す。|
|end|End of section.|セクションの終わりを表す。|
|u8|Unsigned char data.|unsigned charデータ。|
|u16|Unsigned short data.|unsigned shortデータ。|
|u32|Unsigned long data.|unsigned longデータ。|
|s8|Signed char data.|Signed charデータ。|
|s16|Signed short data.|Signed shortデータ。|
|s32|Signed long data.|Signed longデータ。|
|string|Character string. End of string is must NULL.|文...
|bytes|Binary data.&br;After attribute name'bytes¥0',Ther...
* Tag Reference(タグリファレンス) [#l189caa9]
:ROOT|
|name of tag&br;(タグ名)|must&br;(必須)|attribute|comment...
|TEX_TARGA|Yes|(section)|Root section.|ルートとなるSectio...
:ROOT/TEX_TARGA|
|name of tag&br;(タグ名)|must&br;(必須)|attribute|comment...
|VERSION|Yes|u8|Format version number.Must be 2.|フォーマ...
|PIXEL_FORMAT|Yes|string|Required pixel format type.&br;(...
|SRC_DATA|No|bytes|Before converted pixel data.|減色前の...
|MIP_MAP|No|(section)|Mip map data section.|ミップマップ...
|USER_DATA|No|(section)|User data section. ※1|ユーザーデ...
※1 Format is free.(フォーマットは決まっていません。自由...
:ROOT/TEX_TARGA/MIP_MAP|
|name of tag&br;(タグ名)|must&br;(必須)|attribute|comment...
|MAX_LEVEL|Yes|u8|Mip map max level.Grater equal 1.|ミッ...
|LEVEL_*|Yes|(section)|Mip map level section.&br;Ex. leve...
Mip map image size must be involution of 2。(MipMapのイ...
:ROOT/TEX_TARGA/MIP_MAP/LEVEL_*|
|name of tag&br;(タグ名)|must&br;(必須)|attribute|comment...
|TEX_DATA|Yes|bytes|Mip map image data.|ミップマップイメ...
|SRC_DATA|No|bytes|Mip map image data.&br;(Before color r...
''Pixel format list''
|name|>|>|>|>|>|bits of elements|bits per pixel|h
|~|R|G|B|A|L|I|~|h
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):Alpha (1,1,1,A) [tga bpp =...
|A1|0|0|0|1|0|0|1|
|A2|0|0|0|2|0|0|2|
|A4|0|0|0|4|0|0|4|
|A8|0|0|0|8|0|0|8|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):Luminance (L,L,L,1) [tga b...
|L1|L|L|L|0|1|0|1|
|L2|L|L|L|0|2|0|2|
|L4|L|L|L|0|4|0|4|
|L8|L|L|L|0|8|0|8|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):LuminanceAlpha (L,L,L,A) [...
|LA1|L|L|L|1|1|0|2|
|LA2|L|L|L|2|2|0|4|
|LA4|L|L|L|4|4|0|8|
|LA8|L|L|L|8|8|0|16|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):Intensity (I,I,I,I) [tga b...
|I1|I|I|I|I|0|1|1|
|I2|I|I|I|I|0|2|2|
|I4|I|I|I|I|0|4|4|
|I8|I|I|I|I|0|8|8|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):RGB (R,G,B,1) [tga bpp = 2...
|RGB565|5|6|5|0|0|0|16|
|RGB8|8|8|8|0|0|0|24|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):RGBA (R,G,B,A) [tga bpp = ...
|RGBA1|1|1|1|1|0|0|4|
|RGBA2|2|2|2|2|0|0|8|
|RGBA4|4|4|4|4|0|0|16|
|RGBA6|6|6|6|6|0|0|24|
|RGBA8|8|8|8|8|0|0|32|
|>|>|>|>|>|>|>|BGCOLOR(ORANGE):RGBA_S3TC [tga bpp = 32]|
|RGBA_S3TC_DXT1|?|?|?|?|0|0|4|
|RGBA_S3TC_DXT3|?|?|?|?|0|0|8|
|RGBA_S3TC_DXT5|?|?|?|?|0|0|8|
//** History [#le1104b9]
//#comment(below)
ページ名: