mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
102.07k stars 35.34k forks source link

Subtract geometry from existing geometries #987

Closed saric2005 closed 12 years ago

saric2005 commented 12 years ago

Hi,

I would like to subtract some part of geometry from existing geometry to get a new shape.For eg i wanted i circular hole in between a cylinder which is made by THREE.CylinderGeometry. Its just an example.

Any help please.

Thanks and Regards, Shariq haque.

mrdoob commented 12 years ago

This is what you are after: http://learningthreejs.com/blog/2011/12/10/constructive-solid-geometry-with-csg-js/