This demo
allows the user to load in an obj mesh and create smooth
surfaces by applying Catmull–Clark algorithm. The program also allows the user to
save out the subdivided mesh with the same format. The current version of
this demo calculates the face normals automatically and
ignores any grouping, smooth shading, vertex normal, UV
data, and crease and boundary edges are not being
supported. So make sure your obj model is a closed
mesh before subdividing it.
By holding space, a quick
menu appears to allow displaying face center point, face
normal, and bounding box.Please make sure to read the
help by pressing "F1" or clicking on the "Help" button
on the top menu bar to see all the commands and
shortcuts.
The demo
also comes with three simple models (Cube.obj,
ChessSoldier1.obj, ChessSoldier2.obj) that are
located in Assets/Models folder for testing purposes. |