I found 1.3 d3d9 mipmap problem!

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
lordcool
Posts: 15
Joined: Thu Jul 13, 2006 8:33 am

I found 1.3 d3d9 mipmap problem!

Post 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.
Last edited by lordcool on Wed Mar 21, 2007 5:56 am, edited 4 times in total.
lordcool
Posts: 15
Joined: Thu Jul 13, 2006 8:33 am

Post by lordcool »

1.3 openGL driver has same problem.
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post 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
lordcool
Posts: 15
Joined: Thu Jul 13, 2006 8:33 am

Post by lordcool »

oh, i'm looking for the problem in texture and driver..
thx kindly vitek :)
Post Reply