Look file gl_draw.c , function that resample textures.
void GL_ResampleTexture (unsigned *in, int inwidth, int inheight, unsigned *out, int outwidth, int outheight);
It resample texture by function (software resample) its look ugly ((((. Resampled texture draws pib pixels even OpenGL can't help smooth these.
If you can rewrite it. I mean Textures must be resampled directly by OpenGL.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Look ))) I found where textures resamples and do big pixels. With these fixes texture look more beautiful http://raven-05.narod.ru/gl_draw.c.txt - look these. Part of code.
Can you add it to your port? Tell me plz it correct code?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With that, you are nuking the conversion to exact power of 2 sizes.
I don't pretend to be an OpenGL expert here, but while it would work
for your hardware+driver, it may not work for others. That kind of
conversion is pretty much standard, by the way. If I can't convince
you, see its quake3 equivalent: the procedure is Upload 32 in file
tr_image.c in the ioquake3 port (ioquake3.org).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Look file gl_draw.c , function that resample textures.
void GL_ResampleTexture (unsigned *in, int inwidth, int inheight, unsigned *out, int outwidth, int outheight);
It resample texture by function (software resample) its look ugly ((((. Resampled texture draws pib pixels even OpenGL can't help smooth these.
If you can rewrite it. I mean Textures must be resampled directly by OpenGL.
pib - big. Sorry )
Read These topic. I early writting about it
https://sourceforge.net/forum/forum.php?thread_id=1804296&forum_id=425207
Look ))) I found where textures resamples and do big pixels. With these fixes texture look more beautiful
http://raven-05.narod.ru/gl_draw.c.txt - look these. Part of code.
Can you add it to your port? Tell me plz it correct code?
With that, you are nuking the conversion to exact power of 2 sizes.
I don't pretend to be an OpenGL expert here, but while it would work
for your hardware+driver, it may not work for others. That kind of
conversion is pretty much standard, by the way. If I can't convince
you, see its quake3 equivalent: the procedure is Upload 32 in file
tr_image.c in the ioquake3 port (ioquake3.org).