From: Brian P. <br...@tu...> - 2003-05-09 01:16:33
|
David Jones wrote: > I still get the same problem with the change, but I think I can elaborate > on it a little bit more: > > If the image has power of 2 dimensions, then it will display correctly > only when viewed at its original size or larger (no mipmapped textures > used). Anything smaller has the striated problem. > > If the image is a non-power of 2, then it always displays the image > incorrectly. > > However, if I run the app with dmx, then there's not much of a problem. > But the striation does appear at times when I rotate the textured quad. > Here's another thing to try: At line 3736 of state_texture.c, insert this: diff_api.PixelStorei(GL_UNPACK_ALIGNMENT, 1); before diff_api.TexImage2D(GL_TEXTURE_2D, j, tl->internalFormat, tl->width, tl->height, tl->border, tl->format, tl->type, tl->img); -Brian |