> On Jan 16, 2008 4:59 PM, infinity <[EMAIL PROTECTED]> wrote: >> so isn't there a solution? Does cegui or whatever gui is supported have the >> same properties and limitations? >>
There actually are several solutions to this 1. Use po2-textures and rescale everything (use best rescaling you can find, such as gimp/photoshop). 2. Use po2-textures but don't use the whole texture. This is probably the most compatible approach (with full quality). In short, if you have an 800x600 image you want to show, use a 1024x1024 texture and then tweak the texture coordinates when displaying it. However, it has the disadvantage of that you (probably) cannot use the 2d api directly (things as "DrawPixmap" etc). 3. Use non-po2 textures by setting appropriate flags when creating it. It works on most "modern" cards, but not all old ones so you need to implement a fallback. It might also have same disadvantage as #2 related to what APIs to use. -M ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
