You are not logged in.

#1 2009-02-23 00:49:52


Bilinear turned off, why?


I think it is great that you're working on the lib. This SVN version so much better than 3.0. One important thing I'm missing is comments what the actual GX routines do that are called in the GRRLIB functions. Since it's impossible to find docs/help for GX/libogc, it would be nice to be able to learn something when reading the GRRLIB code. I guess you know why you are calling these different methods.. smile

What I actually wanted to know is, why did you turn of Bilinear filtering in the GRRLIB_DrawImg function?

-->    GX_InitTexObjLOD(&texObj, GX_NEAR, GX_NEAR, 0.0f, 0.0f, 0.0f, 0, 0, GX_ANISO_1);

When drawing (and rotating) textures now they look very "blocky". I noticed that the function call above was out commented in version 3.0, but in the SVN it was brought back.

It is also possible to turn if off for GRRLIB_DrawTile (to get smooth images when rotating) but I think you need a another correction value. Using the one defined today one extra line is drawn sometimes.



Board footer

Powered by FluxBB