User talk:Neo: Difference between revisions

1,271 bytes added ,  25 January 2008
OniSplit 0.8.10
(Illegal instruction)
(OniSplit 0.8.10)
Line 303: Line 303:


[[User:EdT|EdT]]
[[User:EdT|EdT]]
New OniSplit version: [http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/OniSplit_v0.8.10.zip OniSplit v0.8.10]
I did not look into that "illegal instruction" thing yet but I added a texture import option:
onisplit -create:txmp destination_directory [options] source_image_file
where options can be
*-nouwrap - set the "U wrapping disabled" flag
*-nowwrap - set the "V wrapping disabled" flag
*-format:bgr32, -format:bgra32, -format:bgr555, -format:bgra5551, -format:bgra4444, -format:dxt1 - the texture format to generate
*-genmipmaps - generate mipmaps if they are not already present in the source file and if the source file is not dxt1 compressed
Example:
onisplit -create:txmp imported -format:dxt1 -genmipmaps tga\concrete.tga
Notes:
*I haven't seen any TXMP that use format bgra32 but it should work with Oni. Did not tested it yet.
*DXT1 compression is kind of lousy (lousy not lossy :)).
*source_image_file can be dds or tga. "Color indexed" and "black and white" tga files are not supported currently. Other image file formats (png, jpg, bmp, tif) may work depending on Mono/.NET support for them.
*onisplit will automatically prepend TXMP to the output file name if the source file name does not start with TXMP already.
[[User:Neo|Neo]]
708

edits