Re: How to get original Texture size

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Christian Rousselle (Christian_at_Rousselle.de)
Date: 06/09/04


Date: Wed, 9 Jun 2004 16:10:57 +0200

Did you specify the width/height explicitly? This should prevent the
function from using power of two/default sizes. You can obtain the real size
from ImageInformation.

Christian Rousselle

"cody" <dont.spam.me.deutronium@gmx.de> schrieb im Newsbeitrag
news:Od5pvkYTEHA.3968@TK2MSFTNGP09.phx.gbl...
> if I use TextureLoader.FromStream all textures are enlarged to a size
power
> of two. The problem is that I have to know the original values of width &
> height. How get I round that problem?
>
> --
> cody
>
> [Freeware, Games and Humor]
> www.deutronium.de.vu || www.deutronium.tk
>
>



Relevant Pages

  • Re: How to get original Texture size
    ... function from using power of two/default sizes. ... from ImageInformation. ... Christian Rousselle ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: MaxVolumeExtent minimum
    ... Also power of two sizes result in better texturing speed. ... > center-line texels and a whole texel in the center of the image. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Have these config files been compromised?
    ... > these file dates and sizes. ... > the time field should be. ... "The power to untie is stronger than the power to tie." ... Well, yeah, otherwise my shoes would tie themselves. ...
    (comp.os.linux.security)
  • Re: Fw: [SLE] ReiserFS problem?
    ... If you compare like sizes and speeds then maybe the newer drive uses ... >> Power supplies tend to lose their vigor over time. ... Power outages are hard on the hardware and will cause problems whether ...
    (SuSE)
  • Re: Meaning of memset (Was: Re: Assigning values to char arrays)
    ... Sizes of integer types ... shall equal 2 raised to the power CHAR_BIT. ... E.g. my int would be something like say 11+8=19 bits. ...
    (comp.lang.c)