create vector4 plane in COPs?

   1682   3   1
User Avatar
Member
648 posts
Joined: July 2005
Offline
is there a quick way to create a vector4 plane in COPs?
channel-copy only does float or vector3…
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Hi

You can simply add any plane via VOP COP.
Just use Bind Export VOP inside it and set it's type to vector4.
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Staff
5158 posts
Joined: July 2005
Online
A generator COP also allows you to build custom planes in the Image tab. The syntax for the plane is:
quat{x,y,z,w}:fp32
That'll generate a vector4 plane named quat in 32b floating point format, with 4 components named x,y,z, and w.
User Avatar
Member
192 posts
Joined: April 2015
Offline
Not sure how to do this (in my case: reading the plane) from the other inputs.

The bind VOP works, but for the other input, importpoint VOP doesn't work. How do I get the @ptnum/current pixel/iteration?

Edit: "opinput1_C2" in the bind VOP also doesn't work. (just read this does work in SOP's VOPs)
Edited by OdFotan - June 20, 2021 10:19:05

Attachments:
Screenshot 2021-06-20 at 15.38.19.png (243.8 KB)

  • Quick Links