# CatmullClark **Repository Path**: bit2atom/CatmullClark ## Basic Information - **Project Name**: CatmullClark - **Description**: Catmull-Clark demo with html5 and Three.js r82 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-29 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CatmullClarkTest This repository is a demo implementation of the Catmull-Clark Subdivision algorithm with Html5 and Three.js r82. It is based on a code from [wadetb user](https://github.com/wadetb/subd) that only works in a old version of Three.js. Can find the demo [here]( http://foolhardy-bowl.000webhostapp.com). Remember that the Catmull-Clark method works better with quadrilateral meshes. The demo charge a head model by default. ## Usage of the demo Import Obj Button: Import .obj file (prefered only quad-based) Export OBj Button: Export like .obj file in quad-based faces. Subdivide Button: Apply one step of the Catmull-clark algorithm. Original Mesh: Go back to the original charged model.