SOP context vs CVEX context ?

   2780   2   2
User Avatar
Member
17 posts
Joined: March 2014
Offline
I was reading about Attrib Wrangle and Point Wrangle nodes. In the docs - Attrib Wrangle is said to operate in CVEX context, but Point Wrangle operates in SOP context. What is the difference?
I tried my code that uses params from other SOPs (using ch function) in both and it worked, so I was wondering what it means?
User Avatar
Member
339 posts
Joined: Aug. 2007
Offline
This is the same divide between the VOP SOP and the AttribVOP/VolumeVOP.
Basically CVEX is more generalized and each container type provides unique bindings that can be used inside.

The VOP SOP has some specialized SOP functions such as Import Attribute and Add Attribute which creates a local variable and allows vector casting (things you cannot currently do in CVEX).

CVEX allows you to create and destroy geometry. Most code is interchangeable between the two but CVEX is really the way forward and there very few reasons to use a VOP SOP/Point Wrangle. The OpInput bindings alone have led me to prefer the AttribVOP.
Jesse Erickson
Fx Animator
WDAS
User Avatar
Member
17 posts
Joined: March 2014
Offline
Thank you for your answer. I hope I will understand the differences in time.
  • Quick Links