Irrlicht & DX9 under mingw32 :(

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
fullmetalcoder
Posts: 7
Joined: Thu Sep 29, 2005 7:48 am
Location: froggy rule !!!!!!!!

Irrlicht & DX9 under mingw32 :(

Post 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?
Work 'n roll is not my way of life, I chose happiness and freedom !!!

config:
AMD Athlon 1.4GHz, GeForce 2 MX 400, 512Mo SDRAM, Win ME.
please don't laugh, I didn't chose my PC ;-(
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

hmm. not a very good description. can you provide a screenshot?
WToma
Posts: 70
Joined: Tue Aug 09, 2005 8:38 am
Location: Szeged, Hungary

Post 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
"This is not a bug, this is a feature!"
fullmetalcoder
Posts: 7
Joined: Thu Sep 29, 2005 7:48 am
Location: froggy rule !!!!!!!!

Post 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 !!!
Work 'n roll is not my way of life, I chose happiness and freedom !!!

config:
AMD Athlon 1.4GHz, GeForce 2 MX 400, 512Mo SDRAM, Win ME.
please don't laugh, I didn't chose my PC ;-(
terefang
Posts: 48
Joined: Tue Jun 21, 2005 9:56 am

Post 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 :).
terefang
nVidia 7800GT/256, AMD64-X2 4k2, Latest Fedora/CentOS
fullmetalcoder
Posts: 7
Joined: Thu Sep 29, 2005 7:48 am
Location: froggy rule !!!!!!!!

Post 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.
Work 'n roll is not my way of life, I chose happiness and freedom !!!

config:
AMD Athlon 1.4GHz, GeForce 2 MX 400, 512Mo SDRAM, Win ME.
please don't laugh, I didn't chose my PC ;-(
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

i have got the same bad colors in dx9 devcpp but hlsl is fine
Post Reply