• Advertisement
Sign in to follow this  

linestrip flickering

This topic is 682 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

 

 

Share this post


Link to post
Share on other sites
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).

Edited by phil_t

Share this post


Link to post
Share on other sites

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...

Edited by MTDYourikahn

Share this post


Link to post
Share on other sites

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

 

Can you describe what's static mesh in Directx?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement