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

refactor: construct block mesh generator single shape with standard mesh data #4894

Conversation

pollend
Copy link
Member

@pollend pollend commented Sep 6, 2021

After reviewing what the tesselator used to look like before the attribute changes I think its a pretty straightforward change to drop the use of the Tesselator and submit the mesh data directly. The code is already to a degree simpler so Tesselator does not seem appropriate anymore. The only other place this is referenced is within flowing liquids so I could just move this up into the interface as a default maybe?

https://github.com/MovingBlocks/Terasology/blob/c725b454517bcaec881c343d5045eb76d722868b/engine/src/main/java/org/terasology/engine/rendering/primitives/Tessellator.java

@github-actions github-actions bot added the Type: Chore Request for or implementation of maintenance changes label Sep 6, 2021
pollend added a commit to Terasology/FlowingLiquids that referenced this pull request Sep 6, 2021
@pollend pollend changed the title chore: use standard mesh data directly constructing block mesh generator single shape refactor: Use standard mesh data directly constructing block mesh generator single shape Sep 7, 2021
@pollend pollend requested a review from keturn September 9, 2021 04:29
@github-actions github-actions bot added the Type: Refactoring Request for or implementation of pure and automatic refactorings, e.g. renaming, to improve clarity label Sep 11, 2021
@pollend pollend force-pushed the chore/use-StandardMeshData-directly-constructing-BlockMeshGeneratorSingleShape branch from c572b10 to dac67fc Compare November 25, 2021 17:03
@jdrueckert jdrueckert changed the title refactor: Use standard mesh data directly constructing block mesh generator single shape refactor: construct block mesh generator single shape with standard mesh data Nov 27, 2021
@jdrueckert jdrueckert merged commit 43e1b90 into develop Nov 27, 2021
@jdrueckert jdrueckert deleted the chore/use-StandardMeshData-directly-constructing-BlockMeshGeneratorSingleShape branch November 27, 2021 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Chore Request for or implementation of maintenance changes Type: Refactoring Request for or implementation of pure and automatic refactorings, e.g. renaming, to improve clarity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants