Amazon VERSION 2.0V1 Podręcznik Użytkownika Strona 203

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 264
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 263 264

Komentarze do niniejszej Instrukcji

Brak uwag