Amazon VERSION 2.0V1 Guide de l'utilisateur Page 154

  • 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 153
154
5. Connect the output of the Merge node to the input of the Gaffer node.
6. Add a LightLink node.
7. Connect the output of the Gaffer node to the input of the LightLink node.
8. Select the LightLink node and press Alt+E to edit it.
9. Set the effect field to illumination, and the action field to off.
10. Add the primitive sphere to the objects field.
11. Add the light to the lights field.
Creating the light adds a lightList attribute group under /root/world with the enable attribute set to 1.
NOTE: With the default behavior of the light set to off - by changing the defaultLink drop-down to off -
the enable attribute is set to 0.
The primitive spheres lightList enable attribute is set to 0, as it is overridden locally by the LightLink node.
Attributes are inherited from parent scene graph locations. If needed, they can be locally overridden as shown above
where a specific light (/root/world/lgt/gaffer/light1) is disabled for a certain node (/root/world/geo/sphere).
NOTE: A G label next to an attribute signifies that its value has been inherited from a parent Scene Graph
Location, whereas the label L means the attribute is stored locally at the selected location.
21 LOCATIONS AND ATTRIBUTES | SETTING GROUP INHERITANCE USING THE API
Vue de la page 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 263 264

Commentaires sur ces manuels

Pas de commentaire