1
2022
Testing Connected Component Labeling
Tried to do https://en.wikipedia.org/wiki/Connected-component_labeling
but it didn’t work as i didnt add floodfill or recursive neighbor checking..
Video:
https://www.youtube.com/watch?v=JNJhdNYm8pc
Script from the video:
https://gist.github.com/unitycoder/518188714ab8a29a0c6ca312e71fc0a3
Leave a comment
Recent posts
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName
- Testing Unity MUSE AI