CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 10-25-2006, 11:24 PM   #1
grantimus
Frequenter
 
grantimus's Avatar
portfolio
Grant Heath
technical artist
iWorlds Simulations
Sandy, USA
 
Join Date: Apr 2002
Posts: 138
Send a message via AIM to grantimus Send a message via MSN to grantimus
vector mesh intersection

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.
 
Old 10-27-2006, 10:31 AM   #2
pascal
Veteran
portfolio
Pascal Loef
TD
Double Negative
London, United Kingdom
 
Join Date: Aug 2002
Posts: 88
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.
 
Old 10-28-2006, 01:30 AM   #3
tbaypaul
Frequenter
 
Join Date: Sep 2004
Posts: 287
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....
Attached Files
File Type: zip rayIntersect7and8.zip (77.8 KB, 43 views)
 
Old 10-28-2006, 02:22 AM   #4
grantimus
Frequenter
 
grantimus's Avatar
portfolio
Grant Heath
technical artist
iWorlds Simulations
Sandy, USA
 
Join Date: Apr 2002
Posts: 138
Send a message via AIM to grantimus Send a message via MSN to grantimus
tbaypaul you are my hero.

Quote:
Originally Posted by tbaypaul
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....
 
Old 10-28-2006, 02:22 AM   #5
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:47 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.