From: atani <at...@at...> - 2005-11-29 22:51:00
|
Dan, Once you have had a chance to look at the Texture rewrite I would like to implement non power-of-two texture support. Right now to have a "fullscreen" texture I have to create a texture that is like 1024x512 and then set the size on the Banner to 640x480. In a previous Tiki modification I had added partial support for this by having a "Canvas" and "Image" sizes stored in the Texture object. The basics of it was in Banner checking the X/Y size vs the X/Y Canvas size, if they differ it would calculate the UV values based on XY value instead of Canvas XY values. Ideally this would be better suited to be owned in the Texture class, perhaps we can move the default UV value stuff into Texture instead of Banner? Banner should still be able to "override" UV values from the Texture. Mike |