Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Specifying normals and other texture coordinates follows the same logic. Constant attributes can be declared in a more concise form too:

Code Block
languagecpp
themeMidnight
/** Turn our mesh into a subdivision surface */
nsi.SetAttribute( k_poly_handle,
	NSI::CStringPArg("subdivision.scheme", "catmull-clark") );

...