Advertisement

IPicture method and quality...

Started by March 11, 2003 03:00 PM
2 comments, last by v_d_d 21 years, 11 months ago
Hi, I just added Nehe's IPicture code to my engine. I already had my own texture loader but I wanted to try the IPicture method. The picture loads as they should except that the resulting quality is lesser than with a non-IPicture approach. I have taken screenshots using both method. You can see them here: http://www.geocities.com/v_d_d/ipicture.html You clearly see that the artifacts are more visible with the IPicture method. I used the same opengl texture quality with both method, so it's not that. Does anyone know why the quality isn't as good using the IPicture method? I tried with jpg and bmp. Same problem. v_d_d [edited by - v_d_d on March 11, 2003 4:03:00 PM]
Just a guess, but maybe because it is drawing the image to a DC and it is losing quality over that. When it goes from a DC to a texture. Dont take my word for it. I noticed a quality loss as well when drawing icons.

Dustin Davis
Owner / CEO
Programmers Unlimited
www.Programmers-Unlimited.com
Dustin DavisOwner / CEOProgrammers Unlimitedwww.Programmers-Unlimited.com
Advertisement
What''s the color depth of your monitor? Is it palettized?
Yes, I think it is because of the DC. My desktop is set to 16 bit. I will try it with a 32 bit desktop.

This topic is closed to new replies.

Advertisement