linestrip flickering

Started by
3 comments, last by MTDYourikahn 8 years ago

I'm currently developing terrain display engine in Sharpdx To display my data, I use triangle and linestrip for quad like wireframe display

But currently having issue on big data for wireframe mode, some flickering effect occurs when moving camera. From most point of view (see attached files)

It's not A z-fighting case, cause I have the same issue if rendering wire mode alone or with huge Z offset

What can be the reason of this kind of behavior?

Advertisement

It looks like it could be z-fighting, even though you say it's not.

What are your near/far plane distances, and how far away is the mesh?

What value are you clearing the depth buffer to?

Does the problem go away if you disable the depth buffer when drawing the wireframe? (If not, that would definitely prove it's not a z-fighting issue).

If you add in a static mesh and render it, does that also flicker?

It looks like it could be z-fighting, even though you say it's not.

What are your near/far plane distances, and how far away is the mesh?

What value are you clearing the depth buffer to?

Does the problem go away if you disable the depth buffer when drawing the wireframe? (That would definitely prove it's not a z-fighting issue).

Camera definition:

near : 0.1

Far : 10 000

Eye Position : (4919,2305,3978)

Look At position : (0,0,619)

check with removing solid drawing part... and it's work now ...

but z-fighting was strange, always present with huge offset... i will investigate this point

Thanks...

If you add in a static mesh and render it, does that also flicker?

Can you describe what's static mesh in Directx?

This topic is closed to new replies.

Advertisement