[Freeciv-Dev] [patch #8086] Add tileset scaling

2017-01-29 Thread mir3x
Update of patch #8086 (project freeciv):

  Status:  Ready For Test => Done   
 Assigned to:None => mir3x  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8086] Add tileset scaling

2017-01-26 Thread mir3x
Additional Item Attachment, patch #8086 (project freeciv):

File name: scale_c30.patch.bz2Size:8 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8086] Add tileset scaling

2017-01-26 Thread mir3x
Follow-up Comment #6, patch #8086 (project freeciv):

Updated.
Added scaling sprites not being cropped (eg. flags and shields).
Disabled scaling for indicators, governments, citizens, techs, thumbs, gold,
science, luxury.

(file #29723, file #29724, file #29725)
___

Additional Item Attachment:

File name: scale_c26.patch.bz2Size:8 KB
File name: scale_c31.patch.bz2Size:8 KB
File name: scale_c30.patchSize:44 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8086] Add tileset scaling

2017-01-24 Thread mir3x
Follow-up Comment #5, patch #8086 (project freeciv):

Aligned new tileset to 8.
Without bilinear scaling amplio and trident looks perfect, hex has  few extra
black points.
With bilinear scaling only trident is good.

(file #29717, file #29718, file #29719)
___

Additional Item Attachment:

File name: scale_client_26.patch  Size:25 KB
File name: scale_client31.patch   Size:22 KB
File name: scale_client30.patch   Size:24 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8086] Add tileset scaling

2017-01-24 Thread mir3x
Follow-up Comment #4, patch #8086 (project freeciv):

Zoom is choppy without 5Ghz cpu, with bilinear scaling it would be even
slower. Recentering map is slow, under windows it would be probably few secs
with cairo.
Scaling requires only updating crop_sprite, so its super easy to add.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8086] Add tileset scaling

2017-01-24 Thread Marko Lindqvist
Follow-up Comment #3, patch #8086 (project freeciv):

It's not only the name I finding confusing. What is the use-case for this
feature that is not taken care of by the zoom?

Or is this just meant to be "works already" solution where zoom has issues
resulting it not to be enabled by default yet? Though I don't see how this
avoids similar problems of black lines or pixels when real edge of the sprite
would be at half-pixel. (I originally had gtk3-client zoom to blend these, but
then earlier sprite blended against black of background of later sprite -
cairo had no means to handle this)

If this is meant for Qt-client, and there's no such black pixel problems with
Qt, you should implement client specific part of zoom functionality instead.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8086] Add tileset scaling

2017-01-24 Thread mir3x
Update of patch #8086 (project freeciv):

 Summary: Add tileset zooming => Add tileset scaling

___

Follow-up Comment #2:

Ok, it will be called scale.


(file #29712, file #29713, file #29714)
___

Additional Item Attachment:

File name: scale_client_26.patch  Size:25 KB
File name: zoom_client31.patchSize:22 KB
File name: scale_client30.patch   Size:24 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev