...
Specifying normals and other texture coordinates follows the same logic. Constant attributes can be declared in a more concise form too:
Code Block | ||||
---|---|---|---|---|
| ||||
/** Turn our mesh into a subdivision surface */ nsi.SetAttribute( k_poly_handle, NSI::CStringPArg("subdivision.scheme", "catmull-clark") ); |
...