Results 1 to 23 of 23

Thread: Returning to FINISH the project

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #17
    Member Member Stazi's Avatar
    Join Date
    Jun 2008
    Location
    Poland
    Posts
    455

    Default Re: Returning to FINISH the project

    Quote Originally Posted by zweihander View Post
    This is an important and useful discovery!

    Question: To a bif which size is 512x512, in the ActionPage file, 1 represent 2 pixels. Now, if a bif is 1024x1024, is it means that in the ActionPage file, 1 will represent 4 pixels?
    Yes.

    Quote Originally Posted by zweihander View Post
    And I am thinking of another disadvantage of this method: there are only 256 colours in one BIF file, if you put 4 units into one BIF, that mean the colour quality need to be reduce.
    Unfortunately, yes but it's not a big issue. Here, check the camel comparison.
    Click image for larger version. 

Name:	camel_comparison.png 
Views:	334 
Size:	18.4 KB 
ID:	17578
    On the left original camel bif using about 240 colors, on the right camel using exactly 50 colors (including background and shadow). While difference is noticeable (especially zoomed), during a battle and from a distance, its really hard to see those differences. Additionally, it's quite a big frame (110x110) so it contains relatively lot of pixels. Human soldier frames are smaller and need even less pixels and colors. So, we can easily put 4 units, 50 colors each, into one texture and we'll still have 56 colors reserve for faction coloring (31 colors), shadow, background, etc. If we use faction coloring (those pinks and greens) it even further reduce the amount of normal colors needed for the image. And, on the top of that, you can choose units using similar colors (for a single 1012x1024 texture) to effectively nullify the problem.
    Last edited by Stazi; 02-20-2016 at 16:28.
    "Do not fight for glory. Do not fight for love of your lord. Do not fight for hatred, honor or faith. Fight only for victory and you will succeed." - Uji sensei.

    Member thankful for this post:



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO