Amazon VERSION 2.0V1 Guida Utente Pagina 203

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 264
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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
Vedere la pagina 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 263 264

Commenti su questo manuale

Nessun commento