Closed drsagitn closed 12 years ago
There is subdivision:
http://mrdoob.github.com/three.js/examples/webgl_geometry_subdivison.html
Also maybe this could be used:
http://chandler.prallfamily.com/2011/12/constructive-solid-geometry-with-three-js/
Thank you! The first example is something I'm looking for. But can we achieve it without WebGL? I would like to use Canvas only to create cubes like that.
Subdivision should work also with CanvasRenderer, just performance will probably be quite bad.
Ok, I'll check it out. Thanks very much!
Hi, it looks like SubdivisionModifier has been removed (https://github.com/mrdoob/three.js/commit/21d0796996215e1c310a254fe444aea3bc91a87b) recently. What's the best way to try to get rounded cubes?
It's still there - examples/js/modifiers/SubdivisionModifier.js. Also you can export your desired geometry from Blender.
But when using the latest build of three.min.js, THREE.SubdivisionModifier is undefined.
Moved SubdivisionModifier out of the build to examples/js/modifiers.
<script src="../build/three.min.js"></script>
<script src="js/modifiers/SubdivisionModifier.js"></script>
Hello everyone,
Could we create a cube with all of it corners rounded? Or is there any example about this.
Thanks very much!