Strange Drawing Behaviour...

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
geekworx
Posts: 15
Joined: Sat Jul 01, 2006 12:10 pm
Location: Pretoria, South Africa
Contact:

Strange Drawing Behaviour...

Post 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. :)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post 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.
geekworx
Posts: 15
Joined: Sat Jul 01, 2006 12:10 pm
Location: Pretoria, South Africa
Contact:

Post 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.

:)
Nick_Japan
Posts: 98
Joined: Mon Dec 13, 2004 11:47 am
Location: Japan

Post 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.
Image Image
geekworx
Posts: 15
Joined: Sat Jul 01, 2006 12:10 pm
Location: Pretoria, South Africa
Contact:

Post 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. :)
Post Reply