Strange artifacts (with images)
When an mesh is far some parts are missing (in a jigsaw pattern) but when I get closer to the object the jigsaw flattens/dissapears and the mesh looks oke.
I dont know how to describe this, check the screens:
ScreenShot001
ScreenShot002
What could be the reason for this strange effect?
First guess would be: z-fighting.
If only it wasn't so close to the viewer...
What are your zmin and zmax?
~def
If only it wasn't so close to the viewer...
What are your zmin and zmax?
~def
yep, same as Deffer, it seems to be a problem of z-fighting
make sure you doesn't have a very close near clip and a very far away far clip (for example, 0.0001 and 1000000.0 are really bad values ^^)
make sure you doesn't have a very close near clip and a very far away far clip (for example, 0.0001 and 1000000.0 are really bad values ^^)
These are my values:
nearPlane = 0.1f;
farPlane = 10240.0f;
Im using the same units as UT2003/2004. before that I uses a smaller unit scale.
edit:
I changes the nearPlane to 1.0f and it looks like that have dissapeared :D
well almost, in the 2nd pic you see the a vent that one isnt good yet. What values should I be using!?
nearPlane = 0.1f;
farPlane = 10240.0f;
Im using the same units as UT2003/2004. before that I uses a smaller unit scale.
edit:
I changes the nearPlane to 1.0f and it looks like that have dissapeared :D
well almost, in the 2nd pic you see the a vent that one isnt good yet. What values should I be using!?
You values are pretty much ok (but I would stick with 1.0 instead of 0.1).
How do you render the vent? Is it a full mesh, or a bilboard, or projection of some kind? (can't see well on the pictures).
~def
How do you render the vent? Is it a full mesh, or a bilboard, or projection of some kind? (can't see well on the pictures).
~def
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement