Page 1 of 1

fixed sized texture on staticImage

Posted: Tue Jun 05, 2007 18:26
by overlord
Is it possible to have a texture in a staticImage that's not
scaled at all?

I have some textures of varying sizes, that i want to put on
a static image. it works fine in DX9 but in opengl i think the
non power of 2 texture size is screwing things up. so i wanted
to load the texture as a size of 2 but just crop it by making
my static image a fixed size. but right now if i shrink the static
image it just scales the entire texture down instead of clipping it.

thanks,
overlord

Posted: Sat Jun 09, 2007 11:36
by Pompei2
The StaticImage has two propreties: HorzFormating and VertFormating:
http://www.cegui.org.uk/wiki/index.php/ ... taticImage

I think they are what you need.