need a line building VOP

   2850   1   1
User Avatar
Member
217 posts
Joined: Sept. 2009
Offline
Hi there,

I need some help with a line building VOP.

It needs to build a Line between two touching Primitivs.
I think about a distance condition two get it work.

But i have really no Idea to set this up in Vops…

any help would be great.

Thanks guys!

Attachments:
build_line.hipnc (74.6 KB)

User Avatar
Member
175 posts
Joined: July 2005
Offline
VEX can't create geometry, only modify and create attributes.
To create geometry you could write a python SOP, but they are usually slower than node setups.

You could create an attribute in VOPs and add lines based on that attribute.
I did it with nearpoint expression though.
See attached file, it's a very dirty brutal way though.
With larger point number, points on the same box get connected too.

HTH

Attachments:
build_line_542_hammer_way.hipnc (71.1 KB)

  • Quick Links