i'm trying to subdivide a plane geometry on threeJS using SubdivisionModifie, i did this the last year and it worked fine, but now i updated my threeJS and SubdivisionModifie, and when i try to subdivide my plane geometry give me a different result.
code:
var subdivisions = 4; var modifier = new THREE.SubdivisionModifier( subdivisions );
modifier.modify( geometry, subdivisions );
geometry.computeFaceNormals();
geometry.computeVertexNormals();
child.geometry.dispose(); child.geometry = geometry;
Before update: https://i.stack.imgur.com/LQ6VV.png
After update: https://i.stack.imgur.com/FFbSM.png
/ping @zz85
@JordiGoPython do you remember what version you used last year? I'm guessing it could be using the Catmull-Clark that works with quads in SubdivisionModifier
@zz85 i used r57 version D:
Closing due to age.
SubdivisionModifier is intended to be used with closed models only.