Sign in to follow this  
MTDYourikahn

linestrip flickering

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this