no mipmap in irrlicht0.7 with directx9

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
cmoibenlepro
Posts: 237
Joined: Thu May 27, 2004 3:18 pm
Location: Canada

Post by cmoibenlepro »

Sorry if I didn't post during a while, but I didn't have any time to "play" with Irrlicht.

I just wanted to let you know that Irrlicht0.7.1 corrected all the mipmap bugs I had ... :D

Irrlicht RULES! :wink:
Vonna.com
Posts: 1
Joined: Wed Nov 24, 2004 11:57 am
Contact:

Try this!

Post by Vonna.com »

Hi All ,

Works fine here (wierd) , perhaps it's a 9a 9b 9c problem, please try this and let me know if it fix the problem.

In CDirectX9Texture,

Change this line:
HRESULT hr = D3DXFilterTexture(Texture, NULL, D3DX_DEFAULT, D3DX_DEFAULT);

To:
HRESULT hr = D3DXFilterTexture(Texture, NULL, 0, D3DX_DEFAULT);


D3DX_DEFAULT = -1 , perhaps some of the Directx version do not support that -1 (default) should be the same as 0. ( like Dx8 ).

And if you got 0.7.1 also remember to remove the _IRR_COMPILE_WITH_DIRECTX_8_ stuff.

PS: My first post , hope it's a friendly forum :-)
best regards Preben Eriksen , Vonna.com
Post Reply