Jitters in opengl textures

Started by
5 comments, last by giugio 12 years, 7 months ago
hello.
I displaying a complex static 3d scene in opengl and webgl.And i have create a simple camera .
I use mipmap and linear filter.
The problem is that when i moves ahead the camera or goes back i see some artifact :
some zone of the mesh wobbles and i have a lot of Jitters, only in the texture meshes.
what can be?
thanks
Advertisement
What value are you using for GL_MIN_FILTER and GL_MAX_FILTER for your texture object?

What value are you using for GL_MIN_FILTER and GL_MAX_FILTER for your texture object?



#define GL_TEXTURE_MAG_FILTER 0x2800
#define GL_TEXTURE_MIN_FILTER 0x2801
#define GL_LINEAR 0x2601
etarget = currenttexture

glTexParameteri(eTarget,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
glTexParameteri(eTarget,GL_TEXTURE_MIN_FILTER, ms_aeTextureMipmap[eFType]);// static GLenum ms_aeTextureMipmap[Texture::MAX_FILTER_TYPES]; the value is for me 9729


i'm not find GL_TEXTURE_MAX_FILTER may be this is a problem?
thanks
Have you got any polygons that occupy the same space as each other?

An image would be good, or video.

i'm not find GL_TEXTURE_MAX_FILTER may be this is a problem?
thanks
[/quote]

Sorry, I meant GL_TEXTURE_MAG_FILTER.

As AndyEsser said, a video would be good or a bunch of quick successive snapshots would work too.
hello.
I find the problem:
there are two mesh overlapping: one with texture and one that in sketchup have a material 0 0 0 0 , the material 255 0 0 0 is transparent ,but i not manages transparency.
How i can merge the texture color and the transparent material in opengl?
There is a good tutorial/article ?
thanks.


i'm not find GL_TEXTURE_MAX_FILTER may be this is a problem?
thanks


Sorry, I meant GL_TEXTURE_MAG_FILTER.

As AndyEsser said, a video would be good or a bunch of quick successive snapshots would work too.
[/quote]

hello.
How i can create a video with my opengl project?
there are some software that do that?
thanks.

This topic is closed to new replies.

Advertisement