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 mesh seams #103

Open
bfops opened this issue Jan 6, 2015 · 7 comments
Open

Fix mesh seams #103

bfops opened this issue Jan 6, 2015 · 7 comments

Comments

@bfops
Copy link
Owner

bfops commented Jan 6, 2015

There are gaps between different LODs. http://procworld.blogspot.ca/2013/07/emancipation-from-skirt.html

@bfops
Copy link
Owner Author

bfops commented Jun 14, 2015

Maybe no block should generate polys that cross its edges, and instead we should run seam fixing code between any two adjacent blocks, regardless of LOD.

@bfops
Copy link
Owner Author

bfops commented Jun 17, 2015

It would be useful to enforce the property that a voxel is Surface if any of its higher-LOD breakdowns are Surfaces. Right now, a voxel is (usually) Empty if all of its corners are on the same side of the surface, but it's possible that the surface enters and exits the voxel between corners in a way that's picked up by higher LOD versions. The problem is that when there are adjacent voxels of different LODs, they disagree on where corners exist, so they can disagree on where to draw polygons.

@bfops
Copy link
Owner Author

bfops commented Jun 18, 2015

Given ^that property, mesh extraction should be rewritten to connect any adjacent voxels regardless of LOD. Then we can support voxels that stay big because they just don't have any more detail. That lets us bump up our LOD a lot, because we won't be paying the cost in places where the detail doesn't exist.

@bfops
Copy link
Owner Author

bfops commented Sep 28, 2015

The server should support an extra request kinda like RequestSeamBetween(BlockPosition, LOD, BlockPosition, LOD)

@bfops
Copy link
Owner Author

bfops commented Oct 11, 2015

Wait until after #143

@bfops
Copy link
Owner Author

bfops commented Jan 20, 2016

I think this will be easier once #170 is done, since the edges between chunks have different behavior from the edges within chunks.

@bfops
Copy link
Owner Author

bfops commented Feb 9, 2016

I've started this in the fix-mesh-seams branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant