VOP to VEX

   1933   2   0
User Avatar
Member
80 posts
Joined: May 2017
Online
Hello guys.
I want to take this vop and make the same effect with a wrangle. I wrote this code but something is wrong. Any ideas? Thanks.

Attachments:
Selection_002.jpg (796.1 KB)
Selection_003.jpg (204.4 KB)

User Avatar
Member
2658 posts
Joined: June 2008
Offline
Right-Click on the VOP and choose VEX/VOP Option/View as VEX code.

It does look like you are discarding the primuv return value. Did you intend...
vector n_geo = primuv(1,"dir",prim,primuv);
Edited by Enivob - May 4, 2022 10:57:51
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
8184 posts
Joined: Sept. 2011
Offline
nelpiper73
Hello guys.
I want to take this vop and make the same effect with a wrangle. I wrote this code but something is wrong. Any ideas? Thanks.

Are you trying to make it equivalent? is there a reason you put 'set(0,0,0)' instead of the variable 'primuv' for the primitive uv argument of primuv()?
  • Quick Links