Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color fringes on mesh boundary when drawing of back faces is turned on #377

Closed
Symbian9 opened this issue Feb 4, 2019 · 3 comments

Comments

@Symbian9
Copy link
Contributor

commented Feb 4, 2019

System information

SolveSpace version: 3.0.0~git.1012373

Operating system: Debian 9.x stable (Stretch, x86_64)

Expected behavior

No color fringes on mesh edges.

Actual behavior

SolveSpace renders red fringes on mesh boundary as a result of back faces being shown on top of rear faces.

pic.1

@whitequark whitequark added the bug label Feb 4, 2019
@whitequark whitequark changed the title Add "Clip distance" option for "View" settings Color fringes on mesh boundary when drawing of back faces is turned on Feb 4, 2019
@whitequark

This comment has been minimized.

Copy link
Member

commented Feb 4, 2019

So. I can reproduce this, but both your analysis and your suggested solution are completely irrelevant. In the future, please restrict yourself to reporting the presentation of a bug, and not your suggested fix, since that would avoid wasting time for us both.

@whitequark

This comment has been minimized.

Copy link
Member

commented Feb 4, 2019

I've fixed this for the OpenGL 3 renderer in e383b7f. @Evil-Spirit Do you recall why you added the glPolygonOffset call? It seems to result in Z-fighting between front and back faces, and removing it has no ill effect.

@whitequark whitequark closed this Feb 4, 2019
@Evil-Spirit

This comment has been minimized.

Copy link
Collaborator

commented Feb 5, 2019

@whitequark no, it was a very long time ago. Can't remember.

@whitequark whitequark added this to the 3.0 milestone May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.