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

when outline is on, structures are rendered in black on iPad #62

Closed
biasmv opened this issue Nov 29, 2014 · 2 comments
Closed

when outline is on, structures are rendered in black on iPad #62

biasmv opened this issue Nov 29, 2014 · 2 comments
Labels

Comments

@biasmv
Copy link
Owner

biasmv commented Nov 29, 2014

When outline mode is enabled, the structure is rendered in black on the iPad. this is due to problems with the z-buffer. When disabling outline mode, everything works as expected. I've tried to play around with gl.depthRange() to work around the problem. Unfortunately this degrades visual fidelity on non iPad devices.

@biasmv biasmv added the bug label Nov 29, 2014
@biasmv biasmv closed this as completed in 5698a11 Nov 29, 2014
@mizuchi3
Copy link

Hi Marco,

I remember now, that I had to turn outline mode off for when opacity is set to zero.

Can you check if this is still the case?


From: Marco Biasini [notifications@github.com]
Sent: 29 November 2014 12:27
To: biasmv/pv
Subject: Re: [pv] when outline is on, structures are rendered in black on iPad (#62)

Closed #62#62 via 5698a115698a11.


Reply to this email directly or view it on GitHubhttps://github.com//issues/62#event-200132971.

@biasmv
Copy link
Owner Author

biasmv commented Nov 29, 2014

No, that's no longer the case. The outline color uses the vertex color's alpha and is discarded at alpha=0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants