https://github.com/arhcy/unity3d-mesh-slicer-for-culling
Slices big meshes into smaller parts to get better performance with occlusion culling.
https://github.com/arhcy/unity3d-mesh-slicer-for-culling
culling mesh mesh-separator mesh-slicer meshslicer occlusion-culling performance polygonal polygonal-meshes separator slicer unity unity-3d unity-culling unity-editor unity-mesh unity-performance-management unity-scripts unity2d unity3d-plugin
Last synced: 21 days ago
JSON representation
Slices big meshes into smaller parts to get better performance with occlusion culling.
- Host: GitHub
- URL: https://github.com/arhcy/unity3d-mesh-slicer-for-culling
- Owner: arhcy
- License: mit
- Created: 2018-11-30T15:09:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-30T15:39:27.000Z (over 6 years ago)
- Last Synced: 2025-04-05T14:34:56.406Z (about 1 month ago)
- Topics: culling, mesh, mesh-separator, mesh-slicer, meshslicer, occlusion-culling, performance, polygonal, polygonal-meshes, separator, slicer, unity, unity-3d, unity-culling, unity-editor, unity-mesh, unity-performance-management, unity-scripts, unity2d, unity3d-plugin
- Language: C#
- Size: 2.5 MB
- Stars: 14
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity3d-mesh-slicer-for-culling
Slices big meshes into smaller parts to get better performance with occlusion culling.
![]()
I wrote this component for my project and I think it can be useful for your projects too :) Currently, it supports only slicing by X and Y axes. It's don't separates triangles if they are in different parts, so use it only for high poly meshes. Maybe I'll improve in the future.
Using is simple.
![]()
1. Drag here gameobject which contains MeshFilter object of mesh which you want to slice.
2. Set a default material for new parts
3. Set number of parts by vertical and horizontal
4. Press this button
You can also use second methotd, but it's rather a crutch. I just wrote it for the test and decided to left him.
To test bounds of any mesh - drag it gameobject to BoundsVisualizer and press visualize bounds.