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

Remove inside faces #18

Open
wants to merge 7 commits into
base: gh-pages
Choose a base branch
from
Open

Remove inside faces #18

wants to merge 7 commits into from

Conversation

winstliu
Copy link
Collaborator

⚠️ WIP ⚠️
This PR removes the inside faces of the cylinders and allows us to re-enable transparency. Before, the cylinders would have inside faces that were blatantly obvious when transparency was enabled. Now that the inside faces are removed, there should be minor performance improvements as well as nice-looking transparency.
In order for this change to happen, I had to manually edit the three.js source code to allow selective editing of the open ends. This is obviously undesirable, so I'll be creating a PR on the three.js repo soon.

Things that need to be done before this can be merged:

  • Remove inside faces from solidWithoutHoles
  • Remove inside faces from addBSP
  • Create upstream PR to mrdoob/three.js and hope it gets merged
    • Implement new three.js version that contains the merged PR

-Re-enabled transparency (since this was the only thing blocking it from being enabled)
-Currently bugged since ALL faces are removed
This requires a modified version of three.js which I will create a PR for soon on the three.js repo
-This doesn't work yet, most likely due to ThreeCSG interfering with something
@winstliu winstliu self-assigned this Jan 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant