Hi,
I'm trying to get vertex world position (A) from one specific texture vertex (B) from UV, is there an simple method to that in max script.
The thing is, that I have a model of a tree with thousands of leaves, I want to animate them, so and i need the position in space of every leave is attached to branches(that vert from UV).
Please help!
:poly121:
Eryk
Replies
http://docs.autodesk.com/3DSMAX/14/ENU/MAXScript%20Help%202012/files/GUID-CBBA20AD-F7D5-46BC-9F5E-5EDA109F9CF-1078.htm#GUID-0D91093D-1C6E-450F-A694-D43942DE9549
Then using the following:
- http://docs.autodesk.com/3DSMAX/14/ENU/MAXScript%20Help%202012/files/GUID-496CE46A-EBD3-40C2-9637-3F21E0F0B0F-1235.htm#WS3ED54CBA79FF2E3D35B6E40512B7835CAF4-603C
- http://docs.autodesk.com/3DSMAX/14/ENU/MAXScript%20Help%202012/files/GUID-A97DF4E3-04A7-4A91-AE7C-3C75A8BAA39-1071.htm#TOC_ENTRY__d28e361013
It's been a while since I last wrote in MaxScript, so you'll need to fix some syntax etc.
EDIT: Corrected some things.
It's easier now that you don't have to compare UV and Geo Verts from faces.
I see that that new function is only listed in the cloud help:
http://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU/MAXScript-Help/files/GUID-830F23A3-E594-476D-B531-631BCD72EB42-htm.html