tga? why not png? discuss
coz its the standard for uncompressed 32bit RGBA format and is readable by almost all programs.
>>522500well i mean .exr is the standard in production for 32bit, which also stores multichannel information for render passes
>>522497.png's are compressed, .tga's are usually not. What with how weak consoles are you don't wan't to be wasting precious processing power decompressing .png files when you could be reading some .tga raw.
>>522508that shit gets encoded into a compressed format before release, usually a BCn (DXTn) format, raw textures use too much memory.tga is just really easy to implement and there's not really any point using a compressed format before you build for production.png also doesn't support high bit depths.
>>522512>raw textures use too much memory.compressed textures always look worse. Dont fall for this meme, /3/. I've seen BCn and its a shitshow - its like if you took a blu ray movie, ripped it to your pc and then compressed the living shit out of it and then played it on your new monitor.
>>522508actually TGAs support RLE compression>>522497TGA is an old simple to implement format and historically the first to support truecolor, so naturally tons of graphics programs have supported it for years. Devs don't really see the need to switch as png doesn't solve any problem TGA didn't solve already.>>522501exr came 15 years later, so support is less of a guarantee. On the other hand, its main draw is it supports HDR, which TGA doesn't.>>522515memory is still limited, so it's a matter of tradeoffs. it can be worth losing pixel perfect detail if you can quadruple the texel density.
>>522519>memory is still limited, so it's a matter of tradeoffs.maybe on your shitty console it is>consoles>CURRENT YEAR
The real question is why not use .BMP?4 Channels, supports up to 32 bit depthCompression if requiredOn the plus side you can actually see a thumbnail in windows viewer without having to install a codec pack.
>>522526its no exr 3.0 thats why.
>>522527Obviously it's not meant to render passes. For doing textures and information maps, hell even turbulence maps it works great. Exr is way to fat of a format anyhow.
>>522512This.Renderers decompress the textures.Real-time 3d engines either use decompressed textures or gpu compression(DXTn), so it doesn't matter what kind of format you pass to them.>>522520raw is terrible for real-time, a single 4096x4096 pixels texture is 4096*4096*32=536870912bits or 64MBs, 40 of those is more than the majority of modern gpus for gaming or for rendering for that matter can handle. And that's not considering the pixel fillrate limits. Another problem is that multiple gpus, while they can render faster, cannot share the memory, so even if you have 10 titans you're limited to the memory of 1.Btw, if anyone is interested why that is, it's basically cause you have to load the whole scene even for 1x1 tile in order to have properly calculated color.>>522526It's most likely due to the faster disk loading times, but I'm not sure. It doesn't really matter what kind of lossless format you use for rendering or real-time rendering for that matter(although it's better to use DXTn for real-time).
>>522526for some unfathomable reason BMP doesn't support compression for 32bpp images (which is the standard for non-hdr textures), only 24bpp or indexed colors, so TGA is preferred since the files will be magnitudes smaller.>>522512>there's not really any point using a compressed format before you build for productionActually there is. Work files still take up space, so for both storage and everyday work compressed formats simplify things immensely. When your stuff is, say, four times more compact, that means you lose time swapping assets from the network four times less frequently. And let's not even look at asset version control.
>tfw You reduce the amount of draw calls by 8 and get a 2ms performance increase.
>>522653fuck wrong board.
>>522548>Actually there is. Work files still take up space, so for both storage and everyday work compressed formats simplify things immensely. When your stuff is, say, four times more compact, that means you lose time swapping assets from the network four times less frequently.What kind of shitty system are you targeting, idiot? A phone?
>>522668that comment's not about the target system but about the workstation during development.
>>522679so you're having a hard time...moving files on your OS? Are you serious? How long have you been doing this?
>>522548>BMPQuestion from a UNIX guy: do people actually use BMP for textures?
>>522497.tga is pro jew, .png and .jpg are pro aryan.
>>522715Never heard of it personally, but if you're going to be compressing further down the line then there's no issue.
>>522694Obviously you've never been checking in gigabytes of assets in a production environment.
>>522723sounds like you're not an asset yourself, bub.
>>522715all a TGA is is a BMP with an alpha channel. I've seen bitmaps used as textures where the project never called for alpha data. Like in older video games.
>>522773I was referring to BMP the format, not raster images in general. BMP and TGA are quite different file formats.
>>522773yeah, and as said earlier, as long as you havent got an alpna channel, BMP is actually compressed. God knows why they made the addition of alpha disable the compression.