Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » Another Stars!-inspired game: Cosmic Crises
Re: Another Stars!-inspired game: Cosmic Crises Mon, 24 September 2007 18:22 Go to previous messageGo to previous message
yartrebo is currently offline yartrebo

 
Petty Officer 3rd Class

Messages: 43
Registered: July 2006
Location: North America
You can use raster graphics like PNG and downscale using bicubic interpolation at load-time. The results generally look much better then either downsampling or bilinear interpolation and the algorithm doesn't take too long to process (it's fast enough that it's the default on the MPlayer video player for rescaling video).

Bicubic also works well for any scaling factor, even ones that aren't powers of two.

Bicubic interpolation (or any interpolation based algorithm) can also be used to rotate images by arbitrary angles and it can handle most other transformations too. I've implemented rotation using bilinear, and that is already a world of improvement over the usual technique that aliases like crazy. Bicubic should be nearly flawless.

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3D tool
Next Topic: Another clone comin' up!
Goto Forum:
  


Current Time: Thu May 09 05:16:18 EDT 2024