Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik > Daidalos Team discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2017, 05:33 PM
Tolwyn Tolwyn is offline
Approved Member
 
Join Date: Apr 2010
Posts: 250
Default Skins and Bits and Colors... Oh My!

Just for quick reference.

We know that the skins can be 1024 x 1024. This patch does not change the canvas size of the skins in use.

The new feature is bits per pixel.

I'm anal retentive, it's a character flaw. But can we not refer to the skins by size and instead by bit-depth?

Both 8bit and 24bit are supported. This refers to the color information PER PIXEL. The size comes from Bit depth x width (in pixels) x height (in pixels) divided by (8 x 1024 - for Kilobytes).

What is the difference?

8 bit images (also called "paletted" images) share a palette of 256 possible colors only. So, you have a color table made up of ONLY 256 colors. Each pixel can ONLY pull its color value from that table.

8 bit palletted image (only 256 colors possible):
1024 x 1024 (size) x 8 (bits per pixel) / (8 x 1024) = 1,024KB.

24 bit image (16.7 million colors PER PIXEL possible):
1024 x 1024 (size) x 24 (bits per pixel) / (8 x 1024) = 3,072KB.

When making skins, most of us, if not all, work in a layered image with many pieces and parts of the skin. Then we flatten that image, maybe resize it to 1024x1024, and then save it as an 8 bit image. Up until this latest patch, we go from 16.7 million colors down to just 256 colors. Whoa!

The beauty of the new feature is that all we have to do now is flatten the image and save as a 24-bit bitmap; retaining all of the wonderful colors we wanted to share in the first place.

The cost of this difference is only 2MB of data for 16.7 million more colors! Not bad! And in testing in multiplayer, there was very little noticeable time delay in all the skins transferring to each client. It has to be there, but my guess is it is already throttled via packet-priority and not noticeable.

Where you might see a difference is in the size of NTRK files recorded when 8 people are all using custom 24 bit skins. That NTRK file will grow by 2,048 KB x 'n' number of players).

So. Color table = any combination of 256 colors ONLY. (8 bit)

24 bit is: 256 combinations of Red, 256 combinations of Green, and 256 combinations of Blue for each pixel in the image itself. (256 x 256 x 256 = 16,777,216 possible colors PER PIXEL!).

My new question is:

Can pilot skins now be 24 bit as well?

Noseart can NOT be because RGB value 129,129,129 (#818181 in hex) is reserved for transparency. We'd need to introduce 32bit images in the future for alpha transparency. I'll save that for a different day.
Reply With Quote
  #2  
Old 02-15-2017, 05:47 PM
Sita Sita is offline
Approved Member
 
Join Date: Oct 2007
Posts: 943
Default

at current moment we have issue with 24 bit skins in online ... at first need solve it... all other things after ...
__________________
work hard, fly fast

Reply With Quote
  #3  
Old 02-15-2017, 06:24 PM
Tolwyn Tolwyn is offline
Approved Member
 
Join Date: Apr 2010
Posts: 250
Default

FWIW, I couldn't replicate the issue (not saying there isn't one).

Have you tried asking people to clear their paintschemes/cache folder first and then try again?

Quote:
Originally Posted by Sita View Post
at current moment we have issue with 24 bit skins in online ... at first need solve it... all other things after ...
Reply With Quote
  #4  
Old 02-15-2017, 07:04 PM
Sita Sita is offline
Approved Member
 
Join Date: Oct 2007
Posts: 943
Default

last few days we met very not plasant situation witn new 24 skins which was discuss in Bug topic ...
i mean ... few servers already updated to 4.13.3 and there was notice very serious issue ... on plane with 24bits skin you could get a game crash or very long freeze ...

by default it all U2, SB, all bf110, almost all ju88 ...

and for now we have quick solution of it ... quick but not very good ...

for those who already catch that bug on online servers try to download that

https://yadi.sk/d/ShOLkRrV3Dwjxp

and replace by it 24 bit skins ...

first aid ...

i hope soon we will find some more right solution ...
we already have few good thought and advice's from Mike ... Thanks to him)
__________________
work hard, fly fast

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.