Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Symbolic linking is weak in that it is ill-defined : what happens if you have many parameters with the same name in an OSL network ?
  • In this situation, OSL networks are not completely defined by themselves but are dependant on some external user setting to function. In other words, it is impossible to understand the working of an OSL network just by inspecting it. 
  • In order to function properly, the lockgeom has to be defined per parameter anyway. Not per shading group.

In 3Delight, any parameter with no incoming connection will be optimize out (folded). In order to read any primitive variable from the geometry, the OSL network must contain a reader node that calls the getattribute() function call and outputs it. Most networks are automatically built by intermediate software and such nodes are easy to add automatically.  

Performance wise, and additional node doesn't make any practical difference.