mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-24 13:20:13 +00:00
Updated Texassemble (markdown)
parent
b714857a38
commit
cf1fda1bd9
@ -24,9 +24,9 @@ The file-name parameter indicates the file(s) to use to create the assembled ima
|
||||
|
||||
**cubearray**: Creates a cubemap array. Must have a multiple of six images. Note that loading the resulting DDS file requires feature level 10.1 or better hardware if it contains more than a single cubemap.
|
||||
|
||||
**h-cross**, **v-cross**: Creates a vertical/horizontal cross image from an input cubemap dds file
|
||||
**h-cross**, **v-cross**: Creates a horizontal/vertical cross image from an input cubemap ``dds`` file
|
||||
|
||||
**h-strip**, **v-strip**: Creates a vertical/horizontal strip image from an input cubemap dds file
|
||||
**h-strip**, **v-strip**: Creates a horizontal/vertical strip image from an input cubemap ``dds`` file
|
||||
|
||||
![Cubemap image layouts](https://docs.unity3d.com/ja/current/uploads/Textures/CubeLayout6Faces.png)
|
||||
|
||||
@ -48,7 +48,7 @@ The file-name parameter indicates the file(s) to use to create the assembled ima
|
||||
|
||||
**-wrap**, **-mirror**: Sets the texture addressing mode for filtering to wrap or mirror, otherwise defaults to clamp.
|
||||
|
||||
**-o _Output-filename_**: The default name is a ``.DDS`` file based on the first input image file.
|
||||
**-o _Output-filename_**: The default name is a ``.DDS`` file based on the first input image file. For cross/strip generation, the default is a ``.BMP`` file and you can specify any of the extensions supported for input.
|
||||
|
||||
**-y**: overwrite existing output file if any. By default, the tool will abort if the output file already exists.
|
||||
|
||||
@ -56,7 +56,6 @@ The file-name parameter indicates the file(s) to use to create the assembled ima
|
||||
|
||||
**-nologo**: Suppress copyright message.
|
||||
|
||||
|
||||
# Examples
|
||||
|
||||
texassemble volume -w 256 -h 256 -o volume.dds lena.jpg fishingboat.jpg peppers.tiff
|
||||
@ -70,4 +69,8 @@ This loads the six image JPEG files, resizes them to 256 x 256, and then writes
|
||||
|
||||
texassemble array -o array.dds lena.jpg peppers.tiff
|
||||
|
||||
This loads the two image files 'lena.jpg' and 'peppers.tiff'. It resizes 'peppers.tiff' to the same size as 'lena.jpg', and then writes out an array 2D texture to 'array.dds' using the two input images. The result uses a DXGI format derived from 'lena.jpg', or one could be provided via the '-f' command-line switch. _The result does not have mipmaps but 'array.dds' could be use as input for **texconv** to finish the processing such as generating mipmaps or block-compression._ Note that loading 'array.dds' requires feature level 10.0 or better hardware.
|
||||
This loads the two image files 'lena.jpg' and 'peppers.tiff'. It resizes 'peppers.tiff' to the same size as 'lena.jpg', and then writes out an array 2D texture to 'array.dds' using the two input images. The result uses a DXGI format derived from 'lena.jpg', or one could be provided via the '-f' command-line switch. _The result does not have mipmaps but 'array.dds' could be use as input for **texconv** to finish the processing such as generating mipmaps or block-compression._ Note that loading 'array.dds' requires feature level 10.0 or better hardware.
|
||||
|
||||
texassemble h-cross cubemap.dds
|
||||
|
||||
This loads the cubmeap.dds file, and outputs a ``cubemap.bmp`` with the cubemap faces arranged in a horizontal cross.
|
Loading…
Reference in New Issue
Block a user