/THREE.ShellModifier

a 'shell' modifier for THREE.js

Primary LanguageJavaScript

THREE.ShellModifier

a 'shell' modifier for THREE.js usage:

//shell modifer
var shell = new THREE.ShellModifier();
var geom = shell.modify( geometry, thickness );

example:

  • model.html loads a model and applies the shell and smoothing modifiers shell modifier

  • primitives.html will decimate some triangles from a primitive mesh then perform the shell and smoothing modifiers with a torus primitive shell modifier with a torus knot primitive shell modifier