Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Texture Artifac...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 4885 of 5017
Post > Topic >>

Texture Artifacts when using extensions

by =?ISO-8859-1?Q?Nordl=F6w?= <per.nordlow@[EMAIL PROTECTED] > Aug 23, 2008 at 08:43 AM

Hi there!

When I am using the extensions ARB_texture_non_power_of_two or ARB/EXT/
NV_texture_rectangle in my application I get incorrect drawing
(artifacts) for some of my textures. This does not happen when I
deactivate the extension code. The artifact is as follows;

The textures are kind of "italicized", that is for each texture row
the data is adjusted one or two pixels sideways (left in my
application). My guess is that for some reason the texture renderer
thinks that the texture data is one or possibly two pixel wider than
it actually is.

Can it have something to do with texture parameters?:
  glTexParameterf(tex_target, GL_TEXTURE_WRAP_S, GL_CLAMP);
  glTexParameterf(tex_target, GL_TEXTURE_WRAP_T, GL_CLAMP);

I believe the behaviour of this parameter is changed when these
extensions are activated.


Many thanks in advance,
Per Nordl=F6w
 




 2 Posts in Topic:
Texture Artifacts when using extensions
=?ISO-8859-1?Q?Nordl=F6w?  2008-08-23 08:43:26 
Re: Texture Artifacts when using extensions
fungus <openglMYSOCKS@  2008-08-23 13:37:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 5:21:32 CST 2008.