Jump to content

Intersect Vop


Wolfwood

Recommended Posts

I'm having trouble with the intersect() vex function....I'm doing something stupid and I need fresh eyes to spot it for me. :)

All the action is in /obj/model

The grid points are having rays shot from the points along their normals at the sphere. The grid is enclosed inside the sphere....so the intersect() should be hitting something.

In Houdini 7.x it either gives 0,0,0 or nans

In Houdini 8.0.x it just gives 0,0,0

(I'm stashing the result in Cd)

Any ideas?

intersect2.hip.gz

Link to comment
Share on other sites

I think it uses the the length of the normal as the maximum distance to check for intersections, if you multiple N by 10 then it starts working

:)

20779[/snapback]

damnit..of course..... this is like the 3rd time I've forgotten that. :cry2:

Thanks chief. :notworthy:

And this is a perfect example of a time to use that new note adding feature in 8.

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...