Page 1 of 1

I found 1.3 d3d9 mipmap problem!

Posted: Wed Mar 21, 2007 1:44 am
by lordcool
click 1.3 screen shot, (sorry popup)
Image
click 1.2 shot
Image

1.2 mipmap was changed smooth. it works good. thx.
but 1.3 mipmap is changed so unnatural. mipmap changing line is really unnatural.
I think 1.3 mipmap level changing has real problem.

Posted: Wed Mar 21, 2007 3:07 am
by lordcool
1.3 openGL driver has same problem.

Posted: Wed Mar 21, 2007 8:30 am
by vitek
That is because the default texture filtering options changed. The documentation in SMaterial.h said that bilinear filtering was to be on and trilinear and anisotropic filtering were off by default. The constructor of SMaterial was not setting the defaults as the documentation indicated. It was setting all of the filtering options to true, which enabled anisotropic filtering, and that makes the texturing look more correct.

You can see the diff here. If you want the terrain to look the same, you might try setting the EMF_TRILINEAR_FILTER and EMF_ANISOTROPIC_FILTER material flags to true for the terrain node.

Travis

Posted: Wed Mar 21, 2007 10:02 am
by lordcool
oh, i'm looking for the problem in texture and driver..
thx kindly vitek :)