curves

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The curves scenegraph location, in addition to the standard Katana curves attributes, KtoA handles the following additional attributes:

  • anoldStatements.*: the various curve-related settings are applied.  In particular, curve_mode, curve_basis, min_pixel_width, flip_t, and curve_triplicate_endpoints are used beyond the common settings available.
  • geometry.arbitrary.st: texture coordinates here are treated as per-curve values, and translated as root UVs for curves in Arnold.  Note that there should be one ST (two floats) per curve, and the scope should be primitive (not face, vertex or point).
  • geometry.point.orientation, geometry.point.N, geometry.point.normal: a three-float list of orientation vectors per curve point, indicating the direction the curve is facing.  This only applies when arnoldStatements.curve_mode is oriented.
  • geometry.curveWidthStart: float, per curve.  This option attribute is used instead of use geometry.point.width or geometry.point.constantwidth if present, this attribute allows the specification of a root width for each curve.
  • geometry.curveWidthEnd: float, per curve.  This option attribute is used instead of use geometry.point.width or geometry.point.constantwidth if present, this attribute allows the specification of a tip width for each curve.
  • (deprecated) geometry.curves_width: legacy synonym for geometry.point.width
  • (deprecated) geometry.curves_pointList: legacy synonym for geometry.point.P
  • (deprecated) geometry.curves_nvertices: legacy synonym for geometry.numVertices
  • (deprecated) geometry.curveMode: legacy synonym for arnoldStatements.curve_mode

 

Currently, standard curves location attributes geometry.degree and geometry.knots are ignored, but will likely be supported in some fashion in a future KtoA release.

  • No labels