LDraw.org Discussion Forums

Full Version: LSC: Define TEXMAP resolution and naming conventions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is it hard to rescale a non power-of-2 image? I have to agree with Roland that trying to impose this limitation on the library files would be a headache.

I automatically rescale them in my implementation.

Allen Smith Wrote:I automatically rescale them in my implementation.Allen

Yes it's quite trivial on modern hardware, but when needed (e.g OpenGL 1.1) I pad them to the nearest power dimensions and use non 1.0 u v coordinates to compensate.
Pages: 1 2