Amazon VERSION 2.0V1 Guía de usuario Pagina 203

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 264
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 202
203
Editing GenericAssign Mechanisms
The GenericAssign mechanism can be edited so that Katana recognizes the XML attribute "enabled/enabled" as a
'forced on' option. This is especially useful for ensuring that nodes, such as PrmanGlobalSettings, are always
enabled. Thus, the given option would always be passed through into the Scene Graph for the renderer to be able to
access.
For example, a snippet from PrmanGlobalSettings.xml that currently has:
<group name='searchpath' closed='True'>
<string name='shader' default='' />
... [ XML omitted] ...
</group>
would look as follows after the change:
<group name='searchpath' closed='True'>
<string name='shader' enabled='True' default='/home/myshaderpath' />
... [ XML omitted] ...
</group>
thus causing the "shader" to appear like it had been locally set and causing it to be passed to the renderer.
26 CREATING A GENERICASSIGN-BASED NODE TYPE | EDITING GENERICASSIGN MECHANISMS
Vista de pagina 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 263 264

Comentarios a estos manuales

Sin comentarios