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

Feature/decimation #10

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open

Feature/decimation #10

wants to merge 2 commits into from

Conversation

zuzi-m
Copy link
Collaborator

@zuzi-m zuzi-m commented Oct 12, 2016

basic version of quadric edge collapse decimation which can be substantially improved in many ways

* @param e
*/
private void contractEdge(Edge e) {
System.out.println("Starting edge " + e.getFrom() + " to " + e.getTo());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

odstran debug vypisy


// reattach all triangles adjacent to FROM to the moved TO
// FROM should be removed, with faces that would degenerate to 2D
// TODO: actually remove correct faces and vertices
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

robi to vobec decimaciu?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. to TODO som tam zabudol :D
  2. ako myslis ci to vobec robi decimaciu? zato ze sa neodstranuju vrcholy? ako chces pocas vypoctu odstranovat vrcholy z datovej struktury ktora je popisana zoznamom bodov a vsetko je identifikovane pomocou indexu?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nah, len podrypujem, myslela som na TODO ~~

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, ono tam uz nema byt, odstranovanie toho co netreba sa robi na konci (takze sa to naozaj robi)

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.

2 participants