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

Connected meshes #36

Open
KenneyNL opened this issue Jul 16, 2015 · 4 comments
Open

Connected meshes #36

KenneyNL opened this issue Jul 16, 2015 · 4 comments

Comments

@KenneyNL
Copy link

To be able to create fences and other meshes that connect to each other, have an option that hides/shows parts of a mesh depending on the connection.

In the sample below, the mesh on the left is the actual mesh file. The fences on the right display how parts of the mesh are hidden to create a connected mesh, black is hidden/white is shown.

Sample

@Dalez
Copy link

Dalez commented Jul 16, 2015

Wouldn't it be more feasible to change the block to connect to the next fence when another fence is placed down?

E.g. You have a fence, its just a stick currently. You place a fence left, which sets a check to fences x +1, x -1, z +1 and z -1, and if there is a fence on them, update it to be a fence that connects to the way the new fence is.

In the above example, wouldn't you need to create multiple meshes for each "panel" of the fence?

@Ecu
Copy link

Ecu commented Jul 16, 2015

I agree with Dalez, I think having a mesh per connection would be more flexible. Such as if you want the mesh to be quite different based on how its connecting. In addition, if random meshing is allowed with it.. you may say have some variation on the mesh based on connections.

@KenneyNL
Copy link
Author

Agreed too, separated meshes should be better. To my knowledge, there should be 5 meshes made for each connected mesh block: straight, corner, T-split, X-split and stand-alone.

@Ecu
Copy link

Ecu commented Jul 25, 2015

What about things that connect in all six directions? Such as say BuildCraft (Minecraft mod) pipes? Probably should account for that as well.

And, like with connected textures, probably should allow for other blocks to be considered 'the same' for purposes of connecting.. so you can have things like fence gates that fences still connect to.

@alex-irt alex-irt modified the milestone: Voxelmetric Alpha 2 Sep 29, 2015
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

4 participants