Jump to content

XML:TXMP: Difference between revisions

20 bytes removed ,  11 October 2016
m
wow, i didn't realized XML only eats TGA while the command line also accepts the other formats
(TXAN should be used for traditional effects like fire and smoke that don't have repetitive elements)
m (wow, i didn't realized XML only eats TGA while the command line also accepts the other formats)
Line 142: Line 142:
|valign=top| <Image>
|valign=top| <Image>
|valign=top| link
|valign=top| link
| Choose between tga/png/dds/jpg.
|
: TXMP''name''.tga


: TXMP''name''.tga
JGP, PNG and DDS are only supported by creation via commandline with -create:txmp
: TXMP''name''.png
: TXMP''name''.dds
: TXMP''name''.jpg
|}
|}


Line 161: Line 159:


Notes of warning:
Notes of warning:
# For animated textures, OniSplit can only import TGA files.
# With XML, OniSplit can only import TGA files.
# AdditiveBlend should only be used on things that are supposed to glow otherwise you might think that it ignores vertex shading. In case of the billboard at the right, that was an improvement. Now it's a transparent OLED billboard.
# AdditiveBlend should only be used on things that are supposed to glow otherwise you might think that it ignores vertex shading. In case of the billboard at the right, that was an improvement. Now it's a transparent OLED billboard.
# Long animations in high quality (512x512, RGB) will produce very big oni files. The not-edited billboard gif is 1.7MB, the oni file is 273MB. That's because TXAN can use high quality and stores also all repetitive frames. The compressed oni (zip) was still 66MB which is still unreasonable large for people with small internet bandwidth. The billboard could possibly broken up into the 3 static and 3 transitional images. You would then need a [[XML:ONLV#Texture_exchange|BSL loop]] to keep the animation going. So the conclusion is to use animated images with lower quality settings and avoid repetitive elements.
# Long animations in high quality (512x512, RGB) will produce very big oni files. The not-edited billboard gif is 1.7MB, the oni file is 273MB. That's because TXAN can use high quality and stores also all repetitive frames. The compressed oni (zip) was still 66MB which is still unreasonable large for people with small internet bandwidth. The billboard could possibly broken up into the 3 static and 3 transitional images. You would then need a [[XML:ONLV#Texture_exchange|BSL loop]] to keep the animation going. So the conclusion is to use animated images with lower quality settings and avoid repetitive elements.
8,160

edits