Amazon VERSION 2.0V1 Guia do Utilizador Página 154

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 264
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 263 264

Comentários a estes Manuais

Sem comentários