Jump to content

VOP: Intersecting vector with polygonal geometry


stass3d

Recommended Posts

Hi All!

I making VEX SoP, which have 2 inputs.

I need to project points from input geometry to the second one.

In order to make this, I need to find an intersection point on the second input geometry.

Intersect VOP works only with geometry from file.

How can I solve this problem?

Thanx in advance!

Link to comment
Share on other sites

Intersect VOP works only with geometry from file.

For that filename, you can point it to the output of a SOP by using the op: syntax.

For example: op:/obj/geo1/box1

Or, more generally (grab the wired input node): op:`opinputpath(".",0)`

Link to comment
Share on other sites

  • 1 year later...

For that filename, you can point it to the output of a SOP by using the op: syntax.

For example: op:/obj/geo1/box1

Or, more generally (grab the wired input node): op:`opinputpath(".",0)`

Or if you are writing it in vex and want it to be a default for any of your parameters, you should put op:`opinputpath('.',0)` as the string. The "" will be misinterpreted and also \" does not evaluate properly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...