SlicedMeshEditor

date
type
Project
year
2017
slug
slicedmesheditor
status
Draft
tags
summary
9-slice-scaling in 3D
You are probably familiar with 9-slice-scaling. That’s when you slice an image into 9 regions to keep the corners from stretching when you scale the image.
Explanation image from Alwik on WikipediaExplanation image from Alwik on Wikipedia
Explanation image from Alwik on Wikipedia
I was working on bringing node-graphs to virtual reality and had very much the same problem, except in 3D. So I wrote a little script + EditorWindow to select vertices and assign them to groups that would then be moved around to scale an object while preserving the edges. Worked really well!
notion imagenotion image
If you want to play with something like this, there is another, much more polished asset out there called 27 Slicer that works in a slightly different way (you don’t assign vertices directly, which is probably a better option for most users).

Leave a comment