Page 1 of 1

Strange Drawing Behaviour...

Posted: Tue Jul 04, 2006 5:11 am
by geekworx
Morning,

I have noticed something weird in the game I am busy developing.

When I use Direct3D9 or Direct3D8 my background images on my menu don't look very high quality.

http://www.geekworx.co.za/PaintballEA/screen_01.jpg

http://www.geekworx.co.za/PaintballEA/screen_02.jpg

But if I use OpenGL, the images look remarkably better ... not sure why though.

http://www.geekworx.co.za/PaintballEA/screen_03.jpg

Has anybody else experienced this ... just wondering. :)

Posted: Tue Jul 04, 2006 7:58 am
by hybrid
Maybe all images are not of the correct size, but either the third one is not scaled that much, or OpenGL Anti-aliasing is doing a better job here. Try to use a background with 2^n width and height (not necessarily same n for both) and use only a part from that texture for your screen. that avoids scaling of the images.

Posted: Wed Jul 05, 2006 4:46 am
by geekworx
All images are of the same size.

I have noticed the same problem with the skyboxes that I created using Terragen.

In OpenGL it looks beautiful ... in DirectX it looks crap.

I will upload some pictures later and show you what I mean.

:)

Posted: Wed Jul 05, 2006 10:50 pm
by Nick_Japan
That sounds like a driver thing - I had that before, ugly artifacts and colour banding and stuff. Nothing wrong with Irrlicht, you just need to update your drivers.

Posted: Fri Jul 07, 2006 6:15 am
by geekworx
Kewl ... thanks Nick.

I will try that right away, but in the meantime here is what I mean.

http://www.geekworx.co.za/PaintballEA/screen_04.jpg - this is using DirectX

http://www.geekworx.co.za/PaintballEA/screen_05.jpg - this is using OpenGL

http://www.geekworx.co.za/PaintballEA/screen_06.jpg - this is using DirectX

http://www.geekworx.co.za/PaintballEA/screen_07.jpg - this is using OpenGL

Anyway, I will update my driver and let you all know. Thanks for the advice. :)