I imported a 3D model as an obj file into Three.js, which represents a piece of furniture.
https://i.sstatic.net/rAS9Z.png
The issue I'm facing is that the material for the furniture is dynamic and varies in thickness. I need to increase the material's thickness without altering the overall size of the model. Scaling is not an option in this case.
Is there a way to resize specific parts of the model (certain meshes) without compromising the structure of the mesh itself? I only want to adjust the thickness of the structure, while keeping the internal parts unchanged.
The approach I am considering involves modifying the scale of some meshes and adjusting the global position of other meshes based on those changes. Is this the correct method?
object.traverse(function(child) {
if (child instanceof THREE.Mesh) {
// Resize and reposition certain meshes
}
});
Potential solutions include:
- Bones
- Deformation