Amazon VERSION 2.0V1 Guide de l'utilisateur Page 203

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 264
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 263 264

Commentaires sur ces manuels

Pas de commentaire