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

Fix unexpected edges #11

Closed
Peque opened this issue Sep 29, 2019 · 6 comments
Closed

Fix unexpected edges #11

Peque opened this issue Sep 29, 2019 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed

Comments

@Peque
Copy link
Collaborator

Peque commented Sep 29, 2019

Sometimes edges are displayed in cylinders. See the Bulebule mounting design.

The little holes have vertical edges (i.e.: the hole is not a smooth surface).

Screenshot from 2019-09-29 21-29-17

Currently we are avoiding edges when the degrees between 2 surfaces is higher than 5 with:

var edges = new THREE.EdgesGeometry( geometry, 5 );

But that sounds arbitrary.

  • Is there a way to avoid edges in cylinders, which are supposed to be smooth surfaces independently of their diameter?
  • Is it something we cannot fix and the only workaround is to increase the edges-degrees above 5 or increase the precision in the generated TJS file?
  • Would using another intermediate format help?
@Peque Peque added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers hacktoberfest labels Sep 29, 2019
@izhuravlev
Copy link

Hey @Peque,
I will be happy to have a look an try to figure out the solution as soon as I can!

@Peque
Copy link
Collaborator Author

Peque commented Sep 30, 2019

@izhuravlev Great! 💪

You can also have a look at #10. Another issue related to edges display.

If you have any questions just ask. 😉

@izhuravlev
Copy link

Hi @Peque,
I am looking forward to work on this bug during this weekend - already cloned the project and set up my environment - could you please tell me how can I test my work - for example, provide me with a testing file or explain how to create one?
It will be awesome if you can also share with me some more details on how can I proceed with this one.
Thank You!

@Peque
Copy link
Collaborator Author

Peque commented Oct 10, 2019

@izhuravlev Sure, you can use this one (it is actually the one on the picture).

Apart from that, and what is already written in this issue, I cannot give you further advise. 😊

@izhuravlev
Copy link

Thank you @Peque, I will continue working on this one.

@Peque
Copy link
Collaborator Author

Peque commented Aug 4, 2020

This should be fixed now by 6e9c73a.

@Peque Peque closed this as completed Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants