Is fromNDC supposed to work in COPS?

   1491   3   0
User Avatar
Member
339 posts
Joined: June 2013
Online
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
User Avatar
Member
534 posts
Joined: March 2014
Offline
I believe ptransform() has “to space” as an argument, and space:camera is well defined as well as space:ndc as far as i remember.
No warranties.
Fuat
Edited by fuat - Aug. 23, 2019 07:29:51
Fuat Yüksel
FX Supervisor | RISE Visual Effects Studios
User Avatar
Member
284 posts
Joined:
Offline
It's more tedious, but you can make your own perspective projection matrix with the “perspective()” VEX function.
User Avatar
Member
339 posts
Joined: June 2013
Online
Thanks guys,
Will follow those leads in my tests.
Edited by probiner - Aug. 26, 2019 12:23:59
  • Quick Links