Skip to content

Remove inside faces#18

Open
winstliu wants to merge 7 commits intogh-pagesfrom
remove-inside-faces
Open

Remove inside faces#18
winstliu wants to merge 7 commits intogh-pagesfrom
remove-inside-faces

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