Page 1 of 1

Irrlicht & DX9 under mingw32 :(

Posted: Thu Sep 29, 2005 7:51 am
by fullmetalcoder
I compiled Irrlicht 0.12 under mingw 3.4.2, test some examples and ...

big color bug !!!

does anyone know how to get rid of that?

Posted: Thu Sep 29, 2005 1:05 pm
by bitplane
hmm. not a very good description. can you provide a screenshot?

Posted: Thu Sep 29, 2005 5:13 pm
by WToma
I am using 3.3.1 series, works well. The only problem occuring is the HLSL bug, but there is a bugfix for it ni the forum.
Check your video card drivers and try running other dx9 apps.
Toma

Posted: Wed Oct 05, 2005 1:42 pm
by fullmetalcoder
sure I didn't describe my problem very well! ;-)

sorry but I can't give you screenshot.

well it's a bit difficult to explain, some textures get weird colors that have nothing to do with the color they should have, some (the majority) are OK and some are part good color part weird color.

I trieddifferent versions of my video drivers and nothing seem to work :cry:
Maybe my pretty old graphic card has to be blamed (a GeForce 2 MX !!!) but it works fine under OpenGl so I can't figure where does that bug come from!

HELP ME !!!

Posted: Wed Oct 05, 2005 9:12 pm
by terefang
fullmetalcoder wrote: I trieddifferent versions of my video drivers and nothing seem to work :cry:
Maybe my pretty old graphic card has to be blamed (a GeForce 2 MX !!!) but it works fine under OpenGl so I can't figure where does that bug come from!
sound like a misfeature i had with my old ATI card.

even if you (or irrlicht on your behalf) request dx8/9 to treat
bitmaps in full 32bit ARGB mode, the driver might choose to ignore
that request and simply use them in 16bit (A1R5G5B5) mode.
(because it thinks that is best and/or fastest)

that would give the effect of "wierd colors" you describe,
to confirm this further OpenGL always uses 32bit ARGB mode :).

Posted: Wed Oct 19, 2005 2:10 pm
by fullmetalcoder
yeah, could be a solution but why would Irrlicht (or DX8/9) choose 16bit colors while I ask for 32bit in the initialisation function???

Anyway I'll try to set it as the default mode and recompile the engine, maybe it will work.

Posted: Wed Oct 19, 2005 6:47 pm
by omaremad
i have got the same bad colors in dx9 devcpp but hlsl is fine