next up previous contents
Next: 3.1 Contour Store Shaders Up: No Title Previous: 2.6 Photon Tracing in

3. Contour Shaders

  The contour shader library contains a number of contour shaders that are useful for rendering cartoon-type images. For details on contour rendering, see chapter [*].

Before any shader in the contour shader library can be used, it must be attached to the mental ray rendering software using a statement link "contour.so", and the shaders must be declared with the statement $include <contour.mi>. Declarations are given in mi format, as described in chapter [*] on page [*]. Here is the summary:

group shader page
Contour store contour_store_function [*]
  contour_store_function_simple [*]
Contour contrast contour_contrast_function_levels [*]
  contour_contrast_function_simple [*]
Contour shader contour_shader_simple [*]
  contour_shader_curvature [*]
  contour_shader_widthfromcolor [*]
  contour_shader_factorcolor [*]
  contour_shader_depthfade [*]
  contour_shader_framefade [*]
  contour_shader_widthfromlight [*]
  contour_shader_widthfromlightdir [*]
  contour_shader_layerthinner [*]
  contour_shader_combi [*]
Contour output contour_only [*]
  contour_composite [*]
  contour_ps [*]



 
next up previous contents
Next: 3.1 Contour Store Shaders Up: No Title Previous: 2.6 Photon Tracing in
Copyright 2002 by mental images