Pedro Alpiarça dos Santos


About Me

Technical Director


Recent Forum Posts

Is fromNDC supposed to work in COPS? Aug. 23, 2019, 3:19 a.m.

Docs mention :
NDC space is only well-defined for the Displacement, Surface, and Light contexts.
I've set out to test but indeed seems fromNDC doesn't seem to produce the same result work in COPS as in SOPS. Can anyone confirm? Are there any alternatives to convert world positions into camera projective coordinates UV.

Thank you

Multiparm default quantity expression? Aug. 11, 2019, 7:56 a.m.

One can use dataBlocks to store info in nodes. So that's nice

dataBlockKeys(blocktype)  tuple of str
dataBlockType(key)  str
dataBlock(key)  str
setDataBlock(key, block, blocktype)

Multiparm default quantity expression? Aug. 3, 2019, 12:19 a.m.

From the kwargs, `script_multiparm_nesting` states how many indices or script_multiparm there are in the sufix and then one can iterate all the `script_multiparm`s, get their value and construct the parm suffix. If the group name is needed then just need to slice the parm name according to the size of the suffix.