Coder Social home page Coder Social logo

artnas / unity-plane-mesh-splitter Goto Github PK

View Code? Open in Web Editor NEW
253.0 15.0 40.0 10.34 MB

Split large meshes in Unity into smaller submeshes

License: MIT License

C# 100.00%
unity3d mesh 3d mesh-processing split vertices optimization level map big

unity-plane-mesh-splitter's People

Contributors

artnas avatar darktable avatar ivanca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unity-plane-mesh-splitter's Issues

Can't build game client due to MeshSplitController using editor-only properties

Some of the MeshRenderer properties copied in MeshSplitController.CreateChild() are available only in the editor and will break the build when used in a client.

Trying to build a client results in this error:

Library\PackageCache\com.artnas.meshsplit@4e07ac9fe0\Runtime\Scripts\MeshSplitController.cs(121,33): error CS1061: 'MeshRenderer' does not contain a definition for 'receiveGI' and no accessible extension method 'receiveGI' accepting a first argument of type 'MeshRenderer' could be found (are you missing a using directive or an assembly reference?)

I love you!

I am currently facing performance issues after doing a 8000x8000 map.. 350k tris 600k verts...

Used this, cut mesh to variable chunks of max 800 tris 2.6k verts...

This made my month! Where is your Paypal?

Internal faces material

hi!

thanks for posting such a useful tool! Are you planning to enrich the customization settings with the capability to set the material for internal faces?

thanks!

I'm having trouble splitting my cube

I just created a cube and I want to split it into multiple cubes, but no matter how I change the settings in the controller it just cuts off the sides of the cube. Any help would be appreciated

Submeshes?

I have a mesh that uses multiple materials, any way to get it working?

Mesh is split up in odd chunks.

We wanted our terrain to be split up more into quadrants, but it instead splits up into seemingly arbitrary pieces. You can see some of the pieces highlighted in orange:
image

Is there a way to split in up into roughly squares?

Can't split planet into chunks.

Hello. I can't split a pretty complex planet mesh with the Mesh Split Controller script.
I'll be posting a lot of images to hopefully showcase the issue to someone who understands how this works.

An example of a planet I want to split:

image

Results with grid size 0.1

image

Results with grid size 1

image

Grid size 2

image

Anything over 2 only leaves one submesh, a piece up top.

image

Example trying to cover the entire planet with the grid size:

image
image
image

And making it small compared to the planet:

image
image
image

Nothing seems to work. I've tried it in playmode, too.
Any help would be greatly appreciated. This seems like just the thing for what I'm trying to do and I'm sad it isn't working as intended!

Splitting meshes with a larger grid size

Just having a play with the asset, we have extremly large meshes 2-5kmsq, having a play with the grid size I edited the code to enable grid sizes > 256 to be used, but what I find is that the slit then seems to miss chunks out, just wondering if the original 64 grid size limit is a known limitation and if so what the reason is?

Btw. seems to work fine if grid size is less than 64.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.