Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #28702: Three.js: Add option to render only single side of surface
The current implementation of WebGL has known issues with transparent surfaces, one being noticeable rendering artifacts for closed transparent surfaces. This ticket adds the option of rendering the front side of the surface only, thereby reducing rendering artifacts. Compare these two graphics: {{{ polytopes.dodecahedron().plot(opacity=.5) polytopes.dodecahedron().plot(opacity=.5,single_side=True) }}} This option is only meant to be used with closed surfaces, because an open surface will disappear from view from certain angles if both sides are not rendered. URL: https://trac.sagemath.org/28702 Reported by: paulmasson Ticket author(s): Paul Masson Reviewer(s): Eric Gourgoulhon
- Loading branch information
Showing
3 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters