PDA

View Full Version : vector mesh intersection


grantimus
10-25-2006, 11:24 PM
Anybody know I good way of figuring out the intersection of a vector and a mesh? In the past when I've had to do this I've used a plugin you can get at highend3d.com called rayintersect. But I can only find this plugin for maya 6 and I need it for maya 7 or 8.

So does anyone out there know where I can find this plugin for later version of maya or an alternate way of doing the same thing? Any help would be greatly appreciated.

pascal
10-27-2006, 10:31 AM
Hello,

I've had the same problem.
The rayHitTest plugin is using these API functions:

MFnMesh.intersect(...)
MFnNurbsSurface.intersect(...)

If you have someone with a bit of API knowledge around, it's not a big job to rewrite a similar plug-in.

Pascal.

tbaypaul
10-28-2006, 01:30 AM
cheer you go......glad you asked for it...it's a fun one to have around....

and make sure you have the readme from the highend3d site to know how the thing works....

grantimus
10-28-2006, 02:22 AM
tbaypaul you are my hero.

cheer you go......glad you asked for it...it's a fun one to have around....

and make sure you have the readme from the highend3d site to know how the thing works....

CGTalk Moderation
10-28-2006, 02:22 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.